Text output with Alexa and openHAB 2

This ist a sample for a simple NodeRED flow with Alexa sound output. Alexa speak!

Details (German) see http://blog.wenzlaff.de/?p=12595

Alexa mit nodeRED

[
    {
        "id": "feff06a0.8de4a",
        "type": "tab",
        "label": "Alexa",
        "disabled": false,
        "info": ""
    },
    {
        "id": "e04f27c6.af5248",
        "type": "openhab2-out",
        "z": "feff06a0.8de4a",
        "name": "Alexa Sprachausgabe",
        "controller": "69d3086d.60bbd",
        "itemname": "Echo_Living_Room_TTS",
        "topic": "ItemCommand",
        "payload": "",
        "x": 440,
        "y": 120,
        "wires": [
            [
                "c8ec63ba.555cb8"
            ]
        ]
    },
    {
        "id": "2dbb8e96.8df08a",
        "type": "comment",
        "z": "feff06a0.8de4a",
        "name": "(c) 2019 Thomas Wenzlaff   www.wenzlaff.info",
        "info": "",
        "x": 210,
        "y": 60,
        "wires": []
    },
    {
        "id": "192d8806.e31e18",
        "type": "inject",
        "z": "feff06a0.8de4a",
        "name": "Täglich um 22:30 Uhr",
        "topic": "",
        "payload": "Das ist schon halb elf, gehe doch ins Bett damit du morgen wieder fit bist. Thomas ab ins Bett.",
        "payloadType": "str",
        "repeat": "",
        "crontab": "30 22 * * *",
        "once": false,
        "onceDelay": 0.1,
        "x": 180,
        "y": 120,
        "wires": [
            [
                "e04f27c6.af5248"
            ]
        ]
    },
    {
        "id": "c8ec63ba.555cb8",
        "type": "debug",
        "z": "feff06a0.8de4a",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 670,
        "y": 120,
        "wires": []
    },
    {
        "id": "9412248.d23a858",
        "type": "comment",
        "z": "feff06a0.8de4a",
        "name": "Tägliche Ausgabe von Meldungen über Alexa",
        "info": "",
        "x": 610,
        "y": 60,
        "wires": []
    },
    {
        "id": "69d3086d.60bbd",
        "type": "openhab2-controller",
        "z": "",
        "name": "OpenHab2",
        "protocol": "http",
        "host": "localhost",
        "port": "8080",
        "path": "",
        "username": "",
        "password": ""
    }
]
IT-Berater

Flow Info

created 7 months, 3 weeks ago

Node Types

Core
  • comment (x2)
  • debug (x1)
  • inject (x1)
Other

Tags

  • TTS
  • speak
  • output
  • Alexa
  • Flow
  • www.wenzlaff.info
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option