Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "e04c41d1.88053",
- "type": "tab",
- "label": "Heizungen",
- "disabled": false,
- "info": ""
- },
- {
- "id": "ef08c86b.134548",
- "type": "zwave-in",
- "z": "e04c41d1.88053",
- "name": "read_zwave",
- "controller": "e3505a4b.c72c38",
- "x": 190,
- "y": 180,
- "wires": [
- [
- "3d3d63d2.a2c7cc",
- "a4aa167c.4c6018",
- "57a9c9b6.388a98"
- ]
- ]
- },
- {
- "id": "3d3d63d2.a2c7cc",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "",
- "property": "topic",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "zwave: driver ready",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: node added",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: value added",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: notification",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: value changed",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: node ready",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "zwave: scan complete",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 7,
- "x": 451,
- "y": 180,
- "wires": [
- [
- "9adb6092.42691"
- ],
- [
- "340f94a.4a12b6c"
- ],
- [
- "c3b1c4b4.907178"
- ],
- [
- "c4eab008.72f0c"
- ],
- [
- "85b89506.420ba8"
- ],
- [
- "ac7bb9da.a6fcf8"
- ],
- [
- "21535411.ff84ac"
- ]
- ]
- },
- {
- "id": "9adb6092.42691",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "init nodes",
- "func": "flow.set(\"nodes\", []);\nflow.set(\"scanComplete\", false);\n\n",
- "outputs": "0",
- "noerr": 0,
- "x": 694,
- "y": 77,
- "wires": []
- },
- {
- "id": "340f94a.4a12b6c",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "add node",
- "func": "var nodes = flow.get(\"nodes\");\nmsg.payload.values = [];\nmsg.payload.ready = false;\n\nnodes.push(msg.payload);\n\n",
- "outputs": "0",
- "noerr": 0,
- "x": 693,
- "y": 111,
- "wires": []
- },
- {
- "id": "c3b1c4b4.907178",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "add value to node",
- "func": "var nodes = flow.get(\"nodes\");\n\nvar n = nodes.find(n => n.nodeid == msg.payload.nodeid);\n\nvar value = msg.payload.value;\n\nn.values.push(value);\n\n//optionally send enablepool \nif(value.label == \"Temperature\"){\n node.send({topic: \"enablePool\", payload: {\"args\": [value.nodeid, value.cmdclass]}});\n}\n\n\n",
- "outputs": "1",
- "noerr": 0,
- "x": 723,
- "y": 147,
- "wires": [
- []
- ]
- },
- {
- "id": "c4eab008.72f0c",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "notification",
- "func": "var nodes = flow.get(\"nodes\");\nvar nodeid = msg.payload.nodeid;\nvar n = nodes.find(n => n.nodeid == nodeid);\n\nswitch (msg.payload.notification) {\n case 0:\n console.log('node%d: message complete', nodeid);\n break;\n case 1:\n console.log('node%d: timeout', nodeid);\n break;\n case 2:\n console.log('node%d: nop', nodeid);\n break;\n case 3:\n console.log('node%d: node awake', nodeid);\n break;\n case 4:\n console.log('node%d: node sleep', nodeid);\n break;\n case 5:\n console.log('node%d: node dead', nodeid);\n n.ready = false;\n node.send({topic: \"node_status\", nodeid: nodeid, payload: false});\n break;\n case 6:\n console.log('node%d: node alive', nodeid);\n n.ready = true;\n node.send({topic: \"node_status\", nodeid: nodeid, payload: true});\n break;\n }\n",
- "outputs": 1,
- "noerr": 0,
- "x": 701,
- "y": 186,
- "wires": [
- []
- ]
- },
- {
- "id": "85b89506.420ba8",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "value changed",
- "func": "var nodes = flow.get(\"nodes\");\n\nvar node = nodes.find(n => n.nodeid == msg.payload.nodeid);\n\nvar value = node.values.find(v => v.value_id == msg.payload.value.value_id);\n\nvalue.value = msg.payload.value.value;\n\n\nmsg.payload = value;\nmsg.topic = \"value_changed\";\n\nreturn msg;",
- "outputs": "1",
- "noerr": 0,
- "x": 709,
- "y": 227,
- "wires": [
- [
- "65ba1632.bfae08"
- ]
- ]
- },
- {
- "id": "ac7bb9da.a6fcf8",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "node ready",
- "func": "var nodes = flow.get(\"nodes\");\n\nvar n = nodes.find(n => n.nodeid == msg.payload.nodeid);\n\nn.ready = true;\nn.type = msg.payload.nodeinfo.type;\n\n/* NODEINFO\n{\"manufacturer\":\"Qubino\",\"manufacturerid\":\"0x0159\",\"product\":\"ZMNHKDx Flush Heat and Cool thermostat\",\"producttype\":\"0x0005\",\"productid\":\"0x0052\",\"type\":\"Thermostat HVAC\",\"name\":\"\",\"loc\":\"\"}\n*/",
- "outputs": "0",
- "noerr": 0,
- "x": 701,
- "y": 266,
- "wires": []
- },
- {
- "id": "21535411.ff84ac",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "scan complete",
- "func": "var nodes = flow.get(\"nodes\");\n\nflow.set(\"scanComplete\", true);\n\nreturn [{payload:{}, topic: \"writeConfig\"}, {payload: nodes, topic: \"init\"}];",
- "outputs": "2",
- "noerr": 0,
- "x": 710,
- "y": 304,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "a4248452.743978",
- "type": "link in",
- "z": "e04c41d1.88053",
- "name": "zwaveWrite",
- "links": [
- "71216b67.dc27e4",
- "fadfc767.c1c6f8",
- "3810e5cb.e3523a"
- ],
- "x": 2095,
- "y": 540,
- "wires": [
- [
- "171db525.bd322b"
- ]
- ]
- },
- {
- "id": "171db525.bd322b",
- "type": "zwave-out",
- "z": "e04c41d1.88053",
- "name": "write",
- "controller": "e3505a4b.c72c38",
- "x": 2690,
- "y": 540,
- "wires": [
- [
- "7f92f4c2.0233ac"
- ]
- ]
- },
- {
- "id": "1969ed55.87a183",
- "type": "ui_dropdown",
- "z": "e04c41d1.88053",
- "name": "",
- "label": "Nodes",
- "tooltip": "",
- "place": "Select a node",
- "group": "ff07a0.eeb6a86",
- "order": 1,
- "width": 8,
- "height": 1,
- "passthru": false,
- "options": [
- {
- "label": "",
- "value": "",
- "type": "str"
- }
- ],
- "payload": "",
- "topic": "",
- "x": 326,
- "y": 540,
- "wires": [
- [
- "6c4dc55e.b3e6ac"
- ]
- ]
- },
- {
- "id": "da3453a8.a5e57",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "parse options",
- "func": "var nodes = msg.payload;\nvar options = [];\n\nfor(var i=0;i<nodes.length; i++){\n var n = nodes[i];\n var tmp = {};\n var title = n.nodeid +\": \"+n.type;\n tmp[title] = n.nodeid;\n options.push(tmp);\n}\n\nmsg.options = options;\nmsg.payload = options;\n\nreturn msg;",
- "outputs": 1,
- "noerr": 0,
- "x": 146,
- "y": 540,
- "wires": [
- [
- "1969ed55.87a183"
- ]
- ]
- },
- {
- "id": "6c4dc55e.b3e6ac",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "",
- "func": "var n = flow.get(\"nodes\").find(n => n.nodeid == msg.payload);\n\nmsg.payload = n.values;\n\nmsg.topic = \"init\";\n\nreturn msg;",
- "outputs": 1,
- "noerr": 0,
- "x": 471,
- "y": 540,
- "wires": [
- [
- "4ef617f1.d0be28"
- ]
- ]
- },
- {
- "id": "4ef617f1.d0be28",
- "type": "ui_template",
- "z": "e04c41d1.88053",
- "group": "ff07a0.eeb6a86",
- "name": "config",
- "order": 3,
- "width": 12,
- "height": 9,
- "format": "<style>\nmd-tooltip .md-content {\n height: auto !important;\n max-width: 200px !important;\n font-size: 13px !important;\n}\n\nmd-tooltip {\n height: auto !important;\n max-width: 200px !important;\n font-size: 13px !important;\n overflow: visible !important;\n white-space: normal !important;\n}\n\nmd-tooltip ._md-content {\n height: auto !important;\n max-width: 200px !important;\n font-size: 13px !important;\n}\n</style>\n\n<div ng-repeat=\"v in values\">\n <label>\n {{v.label}}\n <md-tooltip ng-if=\"v.help\" md-direction=\"right\">{{v.help}}</md-tooltip>\n <select ng-if=\"v.values\" id=\"{{v.value_id}}\" ng-model=\"v.value\" ng-change=\"updateValue(v)\" ng-options=\"value as value for (key , value) in v.values\">\n </select>\n <div ng-if=\"!v.values\">\n <input type=\"text\" id=\"{{v.value_id}}\" ng-model=\"v.value\" ng-disabled=\"v.read_only\">\n <button ng-if=\"!v.read_only\" ng-click=\"updateValue(v)\">Submit</button>\n </div>\n </label>\n</div>\n\n<script>\n(function(scope) {\n \n scope.values = [];\n scope.send({topic:\"load\"});\n \n scope.updateValue = function(v){\n var newValue = $('#'+v.value_id).val();\n if(v.values) newValue = newValue.split(':')[1];\n var cmd = {};\n cmd.nodeid = v.node_id;\n cmd.cmdclass = v.class_id;\n cmd.instance = v.instance;\n cmd.cmdidx = v.index;\n cmd.value = newValue;\n v.value = \"\"; //to check updating\n scope.send({payload: cmd, topic: \"setValue\"});\n }\n \n scope.$watch('msg', function (msg) { \n if(msg){\n switch(msg.topic){\n case \"init\":\n scope.values = msg.payload;\n case \"value_changed\":\n var value = scope.values.find(n => n.value_id == msg.payload.value_id);\n if(value)\n value.value = msg.payload.value;\n break;\n }\n }\n }); \n\n})(scope);\n\n\n</script>\n",
- "storeOutMessages": false,
- "fwdInMessages": false,
- "templateScope": "local",
- "x": 611,
- "y": 540,
- "wires": [
- [
- "8c71b95e.0883b8"
- ]
- ]
- },
- {
- "id": "8c71b95e.0883b8",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "",
- "property": "topic",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "setValue",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "load",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "outputs": 2,
- "x": 753,
- "y": 540,
- "wires": [
- [
- "71216b67.dc27e4"
- ],
- [
- "a3fe601b.6f42"
- ]
- ]
- },
- {
- "id": "71216b67.dc27e4",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "writeConfig",
- "links": [
- "a4248452.743978"
- ],
- "x": 871,
- "y": 540,
- "wires": []
- },
- {
- "id": "df56fc44.2d4a9",
- "type": "link in",
- "z": "e04c41d1.88053",
- "name": "configs",
- "links": [
- "65ba1632.bfae08"
- ],
- "x": 551,
- "y": 480,
- "wires": [
- [
- "4ef617f1.d0be28"
- ]
- ]
- },
- {
- "id": "a3fe601b.6f42",
- "type": "change",
- "z": "e04c41d1.88053",
- "name": "load",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "nodes",
- "tot": "flow"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 410,
- "y": 620,
- "wires": [
- [
- "da3453a8.a5e57"
- ]
- ]
- },
- {
- "id": "65ba1632.bfae08",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "value_changed",
- "links": [
- "df56fc44.2d4a9"
- ],
- "x": 853,
- "y": 227,
- "wires": []
- },
- {
- "id": "74f24765.f7b298",
- "type": "inject",
- "z": "e04c41d1.88053",
- "name": "",
- "topic": "",
- "payload": "nodes",
- "payloadType": "flow",
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": "",
- "x": 120,
- "y": 280,
- "wires": [
- [
- "68524cf2.cbd7e4"
- ]
- ]
- },
- {
- "id": "68524cf2.cbd7e4",
- "type": "debug",
- "z": "e04c41d1.88053",
- "name": "",
- "active": true,
- "console": "false",
- "complete": "false",
- "x": 310,
- "y": 280,
- "wires": []
- },
- {
- "id": "2153fc7c.c69f44",
- "type": "inject",
- "z": "e04c41d1.88053",
- "name": "healNetwork",
- "topic": "healNetwork",
- "payload": "{}",
- "payloadType": "json",
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": "",
- "x": 130,
- "y": 320,
- "wires": [
- [
- "fadfc767.c1c6f8"
- ]
- ]
- },
- {
- "id": "fadfc767.c1c6f8",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "healNetwork",
- "links": [
- "a4248452.743978"
- ],
- "x": 255,
- "y": 320,
- "wires": []
- },
- {
- "id": "2742fdfa.761332",
- "type": "inject",
- "z": "e04c41d1.88053",
- "name": "softReset",
- "topic": "soft_reset",
- "payload": "{}",
- "payloadType": "json",
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": "",
- "x": 120,
- "y": 360,
- "wires": [
- [
- "3810e5cb.e3523a"
- ]
- ]
- },
- {
- "id": "3810e5cb.e3523a",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "softReset",
- "links": [
- "a4248452.743978"
- ],
- "x": 255,
- "y": 360,
- "wires": []
- },
- {
- "id": "7f92f4c2.0233ac",
- "type": "debug",
- "z": "e04c41d1.88053",
- "name": "",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "false",
- "x": 2830,
- "y": 540,
- "wires": []
- },
- {
- "id": "57a9c9b6.388a98",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "",
- "property": "payload.nodeid",
- "propertyType": "msg",
- "rules": [
- {
- "t": "cont",
- "v": "3",
- "vt": "num"
- },
- {
- "t": "cont",
- "v": "4",
- "vt": "num"
- },
- {
- "t": "cont",
- "v": "5",
- "vt": "num"
- },
- {
- "t": "cont",
- "v": "6",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 4,
- "x": 810,
- "y": 460,
- "wires": [
- [
- "f562bb38.b19838",
- "de1d33c7.1cdb",
- "df3327e8.ba4208",
- "ae99d55f.c0e9c8"
- ],
- [
- "81d119e1.75d638",
- "60bce4a0.87c25c",
- "787cc932.aa0cf8"
- ],
- [
- "b97bb743.bdb168",
- "7245cd67.1361a4",
- "96bccabb.6eed68"
- ],
- [
- "4c084b52.967554",
- "a81ea6e5.ac75d8",
- "b6b59aa5.8f54c8",
- "91dbe9be.f5b268"
- ]
- ]
- },
- {
- "id": "b7549b80.711948",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "raumt 3",
- "property": "payload.value.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Air Temperature",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 40,
- "wires": [
- [
- "53892474.e994dc"
- ]
- ]
- },
- {
- "id": "d7078470.1e4488",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "batt",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "cont",
- "v": "Battery Level",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1390,
- "y": 80,
- "wires": [
- [
- "89b6318d.1531f"
- ]
- ]
- },
- {
- "id": "d06a3360.a1cef",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "raumt 6",
- "property": "payload.value.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Air Temperature",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 400,
- "wires": [
- [
- "679a7024.decc6"
- ]
- ]
- },
- {
- "id": "9246ab2a.c3f898",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "batt",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Battery Level",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1390,
- "y": 440,
- "wires": [
- [
- "89bb2816.9df688"
- ]
- ]
- },
- {
- "id": "cbab3113.4365a",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "raumt 4",
- "property": "payload.value.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "cont",
- "v": "Air Temperature",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 160,
- "wires": [
- []
- ]
- },
- {
- "id": "7d01784a.5c9be8",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "batt",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "cont",
- "v": "Battery Level",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1390,
- "y": 200,
- "wires": [
- []
- ]
- },
- {
- "id": "4628bfe1.bf332",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "raumt 5",
- "property": "payload.value.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Air Temperature",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 280,
- "wires": [
- [
- "26305dec.0a9a52"
- ]
- ]
- },
- {
- "id": "c60e65fa.897138",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "batt",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Battery Level",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1390,
- "y": 320,
- "wires": [
- [
- "b1e8016.da7ff"
- ]
- ]
- },
- {
- "id": "e0e30ac1.aa3ee8",
- "type": "ui_slider",
- "z": "e04c41d1.88053",
- "name": "",
- "label": "Wohnzimmer id3",
- "tooltip": "payload.value.value",
- "group": "14ec048c.72c31b",
- "order": 1,
- "width": 0,
- "height": 0,
- "passthru": true,
- "outs": "end",
- "topic": "setValue",
- "min": "4",
- "max": "28",
- "step": 1,
- "x": 2330,
- "y": 200,
- "wires": [
- [
- "8ffdef52.91285",
- "8d98a3c5.7f4b5"
- ]
- ]
- },
- {
- "id": "8ffdef52.91285",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "wozi",
- "func": "return {topic:\"setValue\", payload: {\"nodeid\":3, \"cmdclass\":67, \"cmdidx\":1, \"instance\":1, \"value\":msg.payload, \"label\":\"Heating 1\"}};",
- "outputs": 1,
- "noerr": 0,
- "x": 2520,
- "y": 200,
- "wires": [
- [
- "171db525.bd322b"
- ]
- ]
- },
- {
- "id": "8d98a3c5.7f4b5",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "eszi",
- "func": "return {topic:\"setValue\", payload: {\"nodeid\":4, \"cmdclass\":67, \"cmdidx\":1, \"instance\":1, \"value\":msg.payload, \"label\":\"Heating 1\"}};",
- "outputs": 1,
- "noerr": 0,
- "x": 2520,
- "y": 240,
- "wires": [
- [
- "171db525.bd322b"
- ]
- ]
- },
- {
- "id": "4e4f5a99.05ded4",
- "type": "ui_slider",
- "z": "e04c41d1.88053",
- "name": "",
- "label": "Küche id5",
- "tooltip": "{{msg.payload}}",
- "group": "b236b66.64ab448",
- "order": 1,
- "width": 0,
- "height": 0,
- "passthru": true,
- "outs": "end",
- "topic": "setValue",
- "min": "4",
- "max": "28",
- "step": 1,
- "x": 2300,
- "y": 320,
- "wires": [
- [
- "e9b6ea9b.2105f8"
- ]
- ]
- },
- {
- "id": "ea7cbc53.6bcd2",
- "type": "ui_slider",
- "z": "e04c41d1.88053",
- "name": "",
- "label": "Kinderzimmer id6",
- "tooltip": "{{msg.payload}}",
- "group": "20f8c8b8.8ac3a8",
- "order": 1,
- "width": 0,
- "height": 0,
- "passthru": true,
- "outs": "end",
- "topic": "setValue",
- "min": "4",
- "max": "28",
- "step": 1,
- "x": 2330,
- "y": 440,
- "wires": [
- [
- "80217508.5622a8"
- ]
- ]
- },
- {
- "id": "e9b6ea9b.2105f8",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "küche",
- "func": "return {topic:\"setValue\", payload: {\"nodeid\":5, \"cmdclass\":67, \"cmdidx\":1, \"instance\":1, \"value\":msg.payload, \"label\":\"Heating 1\"}};",
- "outputs": 1,
- "noerr": 0,
- "x": 2520,
- "y": 320,
- "wires": [
- [
- "171db525.bd322b"
- ]
- ]
- },
- {
- "id": "80217508.5622a8",
- "type": "function",
- "z": "e04c41d1.88053",
- "name": "Kizi",
- "func": "return {topic:\"setValue\", payload: {\"nodeid\":6, \"cmdclass\":67, \"cmdidx\":1, \"instance\":1, \"value\":msg.payload, \"label\":\"Heating 1\"}};",
- "outputs": 1,
- "noerr": 0,
- "x": 2520,
- "y": 440,
- "wires": [
- [
- "171db525.bd322b"
- ]
- ]
- },
- {
- "id": "53892474.e994dc",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "14ec048c.72c31b",
- "order": 2,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Raumtemperatur",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1590,
- "y": 40,
- "wires": []
- },
- {
- "id": "26305dec.0a9a52",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "b236b66.64ab448",
- "order": 2,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Raumtemperatur",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1590,
- "y": 280,
- "wires": []
- },
- {
- "id": "679a7024.decc6",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "20f8c8b8.8ac3a8",
- "order": 2,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Raumtemperatur",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1590,
- "y": 400,
- "wires": []
- },
- {
- "id": "abd2d5d5.45dec8",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "hzg tmp",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Heating 1",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 120,
- "wires": [
- [
- "61904577.6cdb5c",
- "c4166731.aef4b8"
- ]
- ]
- },
- {
- "id": "76c58d75.a3d784",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "hzg tmp",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Heating 1",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 240,
- "wires": [
- [
- "389eedfc.111992"
- ]
- ]
- },
- {
- "id": "c7a31c35.a0b0e",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "hzg tmp",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Heating 1",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 360,
- "wires": [
- [
- "bd3dd442.5585c8",
- "310eeed1.9a7db2"
- ]
- ]
- },
- {
- "id": "885a7e72.f114e",
- "type": "switch",
- "z": "e04c41d1.88053",
- "name": "hzg tmp",
- "property": "payload.label",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Heating 1",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1400,
- "y": 480,
- "wires": [
- [
- "5d2aedb1.b602f4",
- "8b441a76.c0e1b8"
- ]
- ]
- },
- {
- "id": "89b6318d.1531f",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "14ec048c.72c31b",
- "order": 3,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Bat.",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1550,
- "y": 80,
- "wires": []
- },
- {
- "id": "b1e8016.da7ff",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "b236b66.64ab448",
- "order": 3,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Bat.",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1550,
- "y": 320,
- "wires": []
- },
- {
- "id": "89bb2816.9df688",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "20f8c8b8.8ac3a8",
- "order": 3,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Bat.",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1550,
- "y": 440,
- "wires": []
- },
- {
- "id": "22358741.fea6d8",
- "type": "inject",
- "z": "e04c41d1.88053",
- "name": "Ab 22 uhr 17°",
- "topic": "",
- "payload": "17",
- "payloadType": "num",
- "repeat": "",
- "crontab": "00 22 * * *",
- "once": false,
- "onceDelay": 0.1,
- "x": 2020,
- "y": 260,
- "wires": [
- [
- "e0e30ac1.aa3ee8",
- "4e4f5a99.05ded4",
- "ea7cbc53.6bcd2",
- "c802ea68.6ec008",
- "c5399922.b758a8"
- ]
- ]
- },
- {
- "id": "f8c29aa6.9ffdd8",
- "type": "inject",
- "z": "e04c41d1.88053",
- "name": "Ab 6 uhr 20°",
- "topic": "",
- "payload": "20",
- "payloadType": "num",
- "repeat": "",
- "crontab": "00 06 * * *",
- "once": false,
- "onceDelay": 0.1,
- "x": 2024,
- "y": 380,
- "wires": [
- [
- "e0e30ac1.aa3ee8",
- "ea7cbc53.6bcd2",
- "4e4f5a99.05ded4",
- "c802ea68.6ec008"
- ]
- ]
- },
- {
- "id": "61904577.6cdb5c",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "14ec048c.72c31b",
- "order": 4,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Hzg Terasse",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1574,
- "y": 120,
- "wires": []
- },
- {
- "id": "a4aa167c.4c6018",
- "type": "debug",
- "z": "e04c41d1.88053",
- "name": "",
- "active": true,
- "console": "false",
- "complete": "false",
- "x": 370,
- "y": 80,
- "wires": []
- },
- {
- "id": "389eedfc.111992",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "14ec048c.72c31b",
- "order": 4,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Hzg Fenster",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1574,
- "y": 240,
- "wires": []
- },
- {
- "id": "bd3dd442.5585c8",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "b236b66.64ab448",
- "order": 4,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Hzg",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1554,
- "y": 360,
- "wires": []
- },
- {
- "id": "5d2aedb1.b602f4",
- "type": "ui_text",
- "z": "e04c41d1.88053",
- "group": "20f8c8b8.8ac3a8",
- "order": 4,
- "width": 0,
- "height": 0,
- "name": "",
- "label": "Hzg",
- "format": "{{payload.value.value}}",
- "layout": "row-spread",
- "x": 1554,
- "y": 480,
- "wires": []
- },
- {
- "id": "a1331882.a76fb8",
- "type": "link in",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "7ced0492.c2126c"
- ],
- "x": 2399,
- "y": 240,
- "wires": [
- [
- "8ffdef52.91285",
- "8d98a3c5.7f4b5"
- ]
- ]
- },
- {
- "id": "c802ea68.6ec008",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "e251a9f1.e51598"
- ],
- "x": 2259,
- "y": 240,
- "wires": []
- },
- {
- "id": "f562bb38.b19838",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "22e9a327.f3084c"
- ],
- "x": 935,
- "y": 60,
- "wires": []
- },
- {
- "id": "de1d33c7.1cdb",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 40,
- "wires": [
- [
- "b7549b80.711948"
- ]
- ]
- },
- {
- "id": "df3327e8.ba4208",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 80,
- "wires": [
- [
- "d7078470.1e4488"
- ]
- ]
- },
- {
- "id": "ae99d55f.c0e9c8",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 120,
- "wires": [
- [
- "abd2d5d5.45dec8"
- ]
- ]
- },
- {
- "id": "81d119e1.75d638",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 160,
- "wires": [
- [
- "cbab3113.4365a"
- ]
- ]
- },
- {
- "id": "60bce4a0.87c25c",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 200,
- "wires": [
- [
- "7d01784a.5c9be8"
- ]
- ]
- },
- {
- "id": "787cc932.aa0cf8",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 240,
- "wires": [
- [
- "76c58d75.a3d784"
- ]
- ]
- },
- {
- "id": "b97bb743.bdb168",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 280,
- "wires": [
- [
- "4628bfe1.bf332"
- ]
- ]
- },
- {
- "id": "7245cd67.1361a4",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 320,
- "wires": [
- [
- "c60e65fa.897138"
- ]
- ]
- },
- {
- "id": "96bccabb.6eed68",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 360,
- "wires": [
- [
- "c7a31c35.a0b0e"
- ]
- ]
- },
- {
- "id": "4c084b52.967554",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 400,
- "wires": [
- [
- "d06a3360.a1cef"
- ]
- ]
- },
- {
- "id": "a81ea6e5.ac75d8",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 440,
- "wires": [
- [
- "9246ab2a.c3f898"
- ]
- ]
- },
- {
- "id": "b6b59aa5.8f54c8",
- "type": "trigger",
- "z": "e04c41d1.88053",
- "op1": "",
- "op2": "0",
- "op1type": "pay",
- "op2type": "str",
- "duration": "-5",
- "extend": false,
- "units": "s",
- "reset": "",
- "bytopic": "all",
- "name": "",
- "x": 1200,
- "y": 480,
- "wires": [
- [
- "885a7e72.f114e"
- ]
- ]
- },
- {
- "id": "c4166731.aef4b8",
- "type": "match",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "property": "payload.value.value",
- "propertyType": "msg",
- "type": "gt",
- "value": "5",
- "valueType": "num"
- }
- ],
- "x": 1830,
- "y": 200,
- "wires": [
- [
- "9d7d6326.1a1ee"
- ],
- []
- ]
- },
- {
- "id": "9d7d6326.1a1ee",
- "type": "change",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "t": "move",
- "p": "payload.value.value",
- "pt": "msg",
- "to": "payload",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 2040,
- "y": 200,
- "wires": [
- [
- "e0e30ac1.aa3ee8"
- ]
- ]
- },
- {
- "id": "310eeed1.9a7db2",
- "type": "match",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "property": "payload.value.value",
- "propertyType": "msg",
- "type": "gt",
- "value": "5",
- "valueType": "num"
- }
- ],
- "x": 1830,
- "y": 320,
- "wires": [
- [
- "816cbe5a.bd5e7"
- ],
- []
- ]
- },
- {
- "id": "816cbe5a.bd5e7",
- "type": "change",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "t": "move",
- "p": "payload.value.value",
- "pt": "msg",
- "to": "payload",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 2040,
- "y": 320,
- "wires": [
- [
- "4e4f5a99.05ded4"
- ]
- ]
- },
- {
- "id": "8b441a76.c0e1b8",
- "type": "match",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "property": "payload.value.value",
- "propertyType": "msg",
- "type": "gt",
- "value": "5",
- "valueType": "num"
- }
- ],
- "x": 1830,
- "y": 440,
- "wires": [
- [
- "c5dc13a0.2388f"
- ],
- []
- ]
- },
- {
- "id": "c5dc13a0.2388f",
- "type": "change",
- "z": "e04c41d1.88053",
- "name": "",
- "rules": [
- {
- "t": "move",
- "p": "payload.value.value",
- "pt": "msg",
- "to": "payload",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 2040,
- "y": 440,
- "wires": [
- [
- "ea7cbc53.6bcd2"
- ]
- ]
- },
- {
- "id": "91dbe9be.f5b268",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "391e9d9e.bc4f52"
- ],
- "x": 1100,
- "y": 560,
- "wires": []
- },
- {
- "id": "c5399922.b758a8",
- "type": "link out",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "af966054.ba408"
- ],
- "x": 2255,
- "y": 480,
- "wires": []
- },
- {
- "id": "3cec10d0.dfa8",
- "type": "link in",
- "z": "e04c41d1.88053",
- "name": "",
- "links": [
- "a1c87d36.dc071"
- ],
- "x": 2415,
- "y": 480,
- "wires": [
- [
- "80217508.5622a8"
- ]
- ]
- },
- {
- "id": "e3505a4b.c72c38",
- "type": "zwave-controller",
- "z": "",
- "port": "/dev/serial/by-id/usb-0658_0200-if00",
- "driverattempts": "3",
- "pollinterval": "10000",
- "allowunreadyupdates": false,
- "networkkey": "",
- "logging": "full"
- },
- {
- "id": "ff07a0.eeb6a86",
- "type": "ui_group",
- "z": "",
- "name": "Config",
- "tab": "6cbf3948.0c0ae8",
- "order": 1,
- "disp": true,
- "width": "12",
- "collapse": true
- },
- {
- "id": "14ec048c.72c31b",
- "type": "ui_group",
- "z": "",
- "name": "Wohnzimmer",
- "tab": "6cbf3948.0c0ae8",
- "order": 2,
- "disp": true,
- "width": "6",
- "collapse": false
- },
- {
- "id": "b236b66.64ab448",
- "type": "ui_group",
- "z": "",
- "name": "Küche",
- "tab": "6cbf3948.0c0ae8",
- "order": 3,
- "disp": true,
- "width": "6",
- "collapse": false
- },
- {
- "id": "20f8c8b8.8ac3a8",
- "type": "ui_group",
- "z": "",
- "name": "Kinderzimmer",
- "tab": "6cbf3948.0c0ae8",
- "order": 4,
- "disp": true,
- "width": "6",
- "collapse": false
- },
- {
- "id": "6cbf3948.0c0ae8",
- "type": "ui_tab",
- "z": "",
- "name": "Heizungen",
- "icon": "fa-thermometer-three-quarters",
- "order": 3,
- "disabled": false,
- "hidden": false
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement