example_home_-1
This is an old revision of the document!
[ { "id": "3df220e5.564c5", "type": "tab", "label": "Flow 1", "disabled": false, "info": "" }, { "id": "3122fce3.92af0c", "type": "amazon-echo-hub", "z": "3df220e5.564c5", "port": "80", "processinput": 0, "discovery": true, "x": 110, "y": 380, "wires": [ [ "9e762f0.3ba42d", "c385dc9d.1fa788", "9e2f6ddd.e61e38", "17f328db.d03bef", "b0e5ad16.6d6c1", "9cff3fc6.ce219", "7ecb6785.e50328", "d3a17570.098738" ] ] }, { "id": "9e762f0.3ba42d", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Temperatur Schlafzimmer", "topic": "zigbee.0.00158d0004102b56", "x": 390, "y": 600, "wires": [ [ "6092c5c0.417bdc" ] ] }, { "id": "a7e51b3c.0c046", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "Temperature", "topic": "zigbee.0.00158d0004102b56.temperature", "attrname": "payload", "payloadType": "value", "x": 850, "y": 640, "wires": [ [ "31b51f1f.4398a" ] ] }, { "id": "15b7eddc.35b59a", "type": "function", "z": "3df220e5.564c5", "name": "Temperatur auslesen", "func": "var device = msg.payload[1]\nvar str = msg.payload[0];\nvar res = str.substr(0, 5);\nmsg.payload = Math.round(res);\nmsg.payload = \"Es sind \" + msg.payload + \" Grad im Schlafzimmer\";\nmsg.url = \"\";\nvar command = \"alexa2.0.Echo-Devices.\" + device + \".Commands.speak\"\nmsg.topic = command;\nreturn msg;\n", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1180, "y": 600, "wires": [ [ "1292fd89.92f442" ] ] }, { "id": "1292fd89.92f442", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "speak", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1370, "y": 600, "wires": [] }, { "id": "b226c1b8.a88e4", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "serialNumber", "topic": "alexa2.0.History.serialNumber", "attrname": "payload", "payloadType": "value", "x": 850, "y": 580, "wires": [ [ "31b51f1f.4398a" ] ] }, { "id": "31b51f1f.4398a", "type": "join", "z": "3df220e5.564c5", "name": "", "mode": "custom", "build": "array", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1010, "y": 600, "wires": [ [ "15b7eddc.35b59a" ] ] }, { "id": "c385dc9d.1fa788", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Temperatur Wohnzimmer", "topic": "zigbee.0.00158d000445963e", "x": 390, "y": 720, "wires": [ [ "409c27f2.a00628" ] ] }, { "id": "f299bdde.205", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "Temperature", "topic": "zigbee.0.00158d000445963e.temperature", "attrname": "payload", "payloadType": "value", "x": 850, "y": 760, "wires": [ [ "9682f13.54d8a9" ] ] }, { "id": "60016bbb.266094", "type": "function", "z": "3df220e5.564c5", "name": "Temperatur auslesen", "func": "var device = msg.payload[1]\nvar str = msg.payload[0];\nvar res = str.substr(0, 5);\nmsg.payload = Math.round(res);\nmsg.payload = \"Es sind \" + msg.payload + \" Grad im Wohnzimmer\";\nmsg.url = \"\";\nvar command = \"alexa2.0.Echo-Devices.\" + device + \".Commands.speak\"\nmsg.topic = command;\nreturn msg;\n", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1180, "y": 720, "wires": [ [ "7ea6666b.7f41" ] ] }, { "id": "7ea6666b.7f41", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "speak", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1370, "y": 720, "wires": [] }, { "id": "4202a18f.328f4", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "serialNumber", "topic": "alexa2.0.History.serialNumber", "attrname": "payload", "payloadType": "value", "x": 850, "y": 700, "wires": [ [ "9682f13.54d8a9" ] ] }, { "id": "9682f13.54d8a9", "type": "join", "z": "3df220e5.564c5", "name": "", "mode": "custom", "build": "array", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1010, "y": 720, "wires": [ [ "60016bbb.266094" ] ] }, { "id": "6092c5c0.417bdc", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 640, "y": 600, "wires": [ [ "a7e51b3c.0c046", "b226c1b8.a88e4" ] ] }, { "id": "409c27f2.a00628", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 640, "y": 720, "wires": [ [ "f299bdde.205", "4202a18f.328f4" ] ] }, { "id": "9e2f6ddd.e61e38", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Temperatur Marie", "topic": "zigbee.0.00158d0003cf07b4", "x": 370, "y": 960, "wires": [ [ "729f42b3.691bac" ] ] }, { "id": "4f77cca5.9fc3dc", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "Temperature", "topic": "zigbee.0.00158d0003cbc5f1.temperature", "attrname": "payload", "payloadType": "value", "x": 850, "y": 1000, "wires": [ [ "9ea4386.bf8a848" ] ] }, { "id": "f975de09.440018", "type": "function", "z": "3df220e5.564c5", "name": "Temperatur auslesen", "func": "var device = msg.payload[1]\nvar str = msg.payload[0];\nvar res = str.substr(0, 5);\nmsg.payload = Math.round(res);\nmsg.payload = \"Es sind \" + msg.payload + \" Grad bei Marie\";\nmsg.url = \"\";\nvar command = \"alexa2.0.Echo-Devices.\" + device + \".Commands.speak\"\nmsg.topic = command;\nreturn msg;\n", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1180, "y": 960, "wires": [ [ "643d326f.a611e4" ] ] }, { "id": "643d326f.a611e4", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "speak", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1370, "y": 960, "wires": [] }, { "id": "64b8c488.565a54", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "serialNumber", "topic": "alexa2.0.History.serialNumber", "attrname": "payload", "payloadType": "value", "x": 850, "y": 940, "wires": [ [ "9ea4386.bf8a848" ] ] }, { "id": "9ea4386.bf8a848", "type": "join", "z": "3df220e5.564c5", "name": "", "mode": "custom", "build": "array", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1010, "y": 960, "wires": [ [ "f975de09.440018" ] ] }, { "id": "729f42b3.691bac", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 640, "y": 960, "wires": [ [ "4f77cca5.9fc3dc", "64b8c488.565a54" ] ] }, { "id": "d034cae8.fedfe", "type": "function", "z": "3df220e5.564c5", "name": "", "func": "if(msg.payload === \"on\"){\nmsg.payload = true;\n}\nif(msg.payload === \"off\"){\nmsg.payload = false;\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 620, "y": 60, "wires": [ [ "6f949e0b.8dcd98" ] ] }, { "id": "17f328db.d03bef", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Rundlampe", "topic": "sonoff.0.DVES_D43803", "x": 370, "y": 60, "wires": [ [ "d034cae8.fedfe" ] ] }, { "id": "6f949e0b.8dcd98", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "sonoff.0.DVES_D43803", "topic": "sonoff.0.DVES_D43803.POWER", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 910, "y": 60, "wires": [] }, { "id": "b0e5ad16.6d6c1", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Salzlampe", "topic": "sonoff.0.DVES_D3C973", "x": 370, "y": 120, "wires": [ [ "efcf6a98.7f204" ] ] }, { "id": "efcf6a98.7f204", "type": "function", "z": "3df220e5.564c5", "name": "", "func": "if(msg.payload === \"on\"){\nmsg.payload = true;\n}\nif(msg.payload === \"off\"){\nmsg.payload = false;\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 620, "y": 120, "wires": [ [ "ba52bba0.e8bbc8" ] ] }, { "id": "ba52bba0.e8bbc8", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "sonoff.0.DVES_D3C973", "topic": "sonoff.0.DVES_D3C973.POWER", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 910, "y": 120, "wires": [] }, { "id": "9cff3fc6.ce219", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Fernsehlampe", "topic": "zigbee.0.0c4314fffea04c8e", "x": 380, "y": 180, "wires": [ [ "6d269631.03f9" ] ] }, { "id": "5036cdab.37bf3c", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "zigbee.0.0c4314fffea04c8e", "topic": "zigbee.0.0c4314fffea04c8e.state", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 920, "y": 180, "wires": [] }, { "id": "48f6d73a.7cac78", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "zigbee.0.0c4314fffea82395", "topic": "zigbee.0.0c4314fffea82395.state", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 920, "y": 240, "wires": [] }, { "id": "6d269631.03f9", "type": "function", "z": "3df220e5.564c5", "name": "", "func": "if(msg.payload === \"on\"){\nmsg.payload = true;\n}\nif(msg.payload === \"off\"){\nmsg.payload = false;\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 620, "y": 180, "wires": [ [ "5036cdab.37bf3c", "48f6d73a.7cac78" ] ] }, { "id": "7ecb6785.e50328", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "chillen", "topic": "zigbee.0.0c4314fffea04c8e", "x": 350, "y": 300, "wires": [ [ "580a4ea6.5f6898", "541e901f.cebec8", "4d46e8af.591f5", "335a3a27.e04086" ] ] }, { "id": "6e6c5028.5228c8", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "zigbee.0.0c4314fffea04c8e", "topic": "zigbee.0.0c4314fffea04c8e.state", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 920, "y": 300, "wires": [] }, { "id": "d3182df2.65b57", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "zigbee.0.0c4314fffea82395", "topic": "zigbee.0.0c4314fffea82395.state", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 920, "y": 340, "wires": [] }, { "id": "580a4ea6.5f6898", "type": "function", "z": "3df220e5.564c5", "name": "", "func": "if(msg.payload === \"on\"){\nmsg.payload = true;\n}\nif(msg.payload === \"off\"){\nmsg.payload = false;\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 620, "y": 300, "wires": [ [ "6e6c5028.5228c8", "d3182df2.65b57" ] ] }, { "id": "b6bc9102.f18aa8", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "Color", "topic": "zigbee.0.0c4314fffea82395.color", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1110, "y": 400, "wires": [] }, { "id": "541e901f.cebec8", "type": "function", "z": "3df220e5.564c5", "name": "", "func": "if(msg.payload === \"on\"){\nmsg.payload = true;\n}\nif(msg.payload === \"off\"){\nmsg.payload = false;\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 640, "y": 500, "wires": [ [ "fe70ff5.51e068" ] ] }, { "id": "fe70ff5.51e068", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "sonoff.0.DVES_D3C973", "topic": "sonoff.0.DVES_D3C973.POWER", "ack": "false", "autoCreate": "true", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 910, "y": 500, "wires": [] }, { "id": "cb974b2b.00de9", "type": "change", "z": "3df220e5.564c5", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "#fff300", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 910, "y": 400, "wires": [ [ "b6bc9102.f18aa8" ] ] }, { "id": "5bc39a52.a15164", "type": "change", "z": "3df220e5.564c5", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "#ff0000", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 910, "y": 440, "wires": [ [ "2cff462d.5ea782" ] ] }, { "id": "2cff462d.5ea782", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "Color", "topic": "zigbee.0.0c4314fffea04c8e.color", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1110, "y": 440, "wires": [] }, { "id": "4d46e8af.591f5", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 680, "y": 400, "wires": [ [ "cb974b2b.00de9" ] ] }, { "id": "335a3a27.e04086", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 680, "y": 440, "wires": [ [ "5bc39a52.a15164" ] ] }, { "id": "d3a17570.098738", "type": "amazon-echo-device", "z": "3df220e5.564c5", "name": "Temperatur Bad", "topic": "zigbee.0.00158d0003cbc5f1", "x": 360, "y": 840, "wires": [ [ "33849e39.73da72" ] ] }, { "id": "f3f4d4a1.7815b", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "Temperature", "topic": "zigbee.0.00158d0003cbc5f1.temperature", "attrname": "payload", "payloadType": "value", "x": 850, "y": 880, "wires": [ [ "ee6318a2.fe828" ] ] }, { "id": "d9f0d0dd.8d586", "type": "function", "z": "3df220e5.564c5", "name": "Temperatur auslesen", "func": "var device = msg.payload[1]\nvar str = msg.payload[0];\nvar res = str.substr(0, 5);\nmsg.payload = Math.round(res);\nmsg.payload = \"Es sind \" + msg.payload + \" Grad im Bad\";\nmsg.url = \"\";\nvar command = \"alexa2.0.Echo-Devices.\" + device + \".Commands.speak\"\nmsg.topic = command;\nreturn msg;\n", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1180, "y": 840, "wires": [ [ "365cc0b0.9f589" ] ] }, { "id": "365cc0b0.9f589", "type": "ioBroker out", "z": "3df220e5.564c5", "name": "speak", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1370, "y": 840, "wires": [] }, { "id": "cd17ac22.cf4588", "type": "ioBroker get", "z": "3df220e5.564c5", "name": "serialNumber", "topic": "alexa2.0.History.serialNumber", "attrname": "payload", "payloadType": "value", "x": 850, "y": 820, "wires": [ [ "ee6318a2.fe828" ] ] }, { "id": "ee6318a2.fe828", "type": "join", "z": "3df220e5.564c5", "name": "", "mode": "custom", "build": "array", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1010, "y": 840, "wires": [ [ "d9f0d0dd.8d586" ] ] }, { "id": "33849e39.73da72", "type": "delay", "z": "3df220e5.564c5", "name": "", "pauseType": "delay", "timeout": "1000", "timeoutUnits": "milliseconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 640, "y": 840, "wires": [ [ "f3f4d4a1.7815b", "cd17ac22.cf4588" ] ] } ]
example_home_-1.1645658453.txt.gz ยท Last modified: 2022/02/24 00:20 by illu