[ { "id": "371f61af.7c3d3e", "type": "tab", "label": "Upstairs HVAC", "disabled": false, "info": "" }, { "id": "f3541eaa.31aec8", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Upstaris Tstat", "method": "GET", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/tstat", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 670, "y": 400, "wires": [ [ "604ffa37.4036d4", "fdea0c28.2b8f", "75095620.adbaf8", "fb63de14.91b7b8", "75668fda.085068", "81bad1c9.c702e8", "221e0a61.e3fa16", "7b1e4ef8.2e74c", "2ba51553.4dc02a", "2e78024e.fdd78e", "1cf10b3e.3bdbe5", "ec156b95.002cf", "798b06e9.9d88a8", "cf17e445.8aa938", "3d457dfa.7e719a" ] ] }, { "id": "ff2e18e4.c560d", "type": "inject", "z": "371f61af.7c3d3e", "name": "1 Min", "topic": "", "payload": "", "payloadType": "date", "repeat": "60", "crontab": "", "once": false, "onceDelay": "", "x": 590, "y": 240, "wires": [ [ "f3541eaa.31aec8" ] ] }, { "id": "b6d5749f.637fa", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "OFF", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "HEAT", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "COOL", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "3", "fromt": "num", "to": "AUTO", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 220, "wires": [ [ "87150028.1a45b" ] ] }, { "id": "4324fbd0.9bd1ac", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "MONDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "TUESDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "WEDNESDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "3", "fromt": "num", "to": "THURSDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "4", "fromt": "num", "to": "FRIDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "5", "fromt": "num", "to": "SATURDAY", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "6", "fromt": "num", "to": "SUNDAY", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 460, "wires": [ [ "8ee998fa.264ca" ] ] }, { "id": "1a606ba7.0d9b14", "type": "http request", "z": "371f61af.7c3d3e", "name": "Post Upstaris PMA", "method": "POST", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/tstat/pma", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 1350, "y": 760, "wires": [ [] ] }, { "id": "b0e8d043.7c3ac", "type": "template", "z": "371f61af.7c3d3e", "name": "Tstat PMA format", "field": "payload", "fieldType": "msg", "format": "json", "syntax": "mustache", "template": "{\n \"line\": 0,\n \"message\":\n \"{{payload}}\"\n}", "output": "json", "x": 1000, "y": 760, "wires": [ [ "1a606ba7.0d9b14" ] ] }, { "id": "61996a3b.2af6f4", "type": "inject", "z": "371f61af.7c3d3e", "name": "68", "topic": "", "payload": "68", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1860, "wires": [ [ "2170546a.c51194" ] ] }, { "id": "cd80770f.2abe", "type": "inject", "z": "371f61af.7c3d3e", "name": "72", "topic": "", "payload": "72", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1900, "wires": [ [ "2170546a.c51194" ] ] }, { "id": "4ce64eb8.afa0d8", "type": "inject", "z": "371f61af.7c3d3e", "name": "75", "topic": "", "payload": "75", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1940, "wires": [ [ "2170546a.c51194" ] ] }, { "id": "16110516.f9b4b3", "type": "inject", "z": "371f61af.7c3d3e", "name": "80", "topic": "", "payload": "80", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1980, "wires": [ [ "2170546a.c51194" ] ] }, { "id": "604ffa37.4036d4", "type": "change", "z": "371f61af.7c3d3e", "name": "tempUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.temp", "tot": "msg" }, { "t": "set", "p": "tempUpstairs", "pt": "flow", "to": "payload.temp", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1080, "y": 100, "wires": [ [ "ae217f61.a314e", "22cc5f7c.2fcbb8" ] ] }, { "id": "fdea0c28.2b8f", "type": "change", "z": "371f61af.7c3d3e", "name": "modeUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.tmode", "tot": "msg" }, { "t": "set", "p": "tempUpstairs", "pt": "flow", "to": "payload.tmode", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 220, "wires": [ [ "b6d5749f.637fa", "df052a8c.cb5058", "28a6f9ea.170776" ] ] }, { "id": "87150028.1a45b", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 7, "width": 0, "height": 0, "name": "Thermostat Mode", "label": "Thermostat Mode", "format": "{{msg.payload}}", "layout": "col-center", "x": 1760, "y": 220, "wires": [] }, { "id": "75095620.adbaf8", "type": "change", "z": "371f61af.7c3d3e", "name": "fmodeUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.fmode", "tot": "msg" }, { "t": "set", "p": "fmodeUpstairs", "pt": "flow", "to": "payload.fmode", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 260, "wires": [ [ "b96d8e30.732638", "258d890.6053b78" ] ] }, { "id": "fb63de14.91b7b8", "type": "change", "z": "371f61af.7c3d3e", "name": "overrirdeUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.override", "tot": "msg" }, { "t": "set", "p": "overrirdeUpstairs", "pt": "flow", "to": "payload.override", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1110, "y": 300, "wires": [ [ "b598570a.e2cae8", "dd607a97.c239d" ] ] }, { "id": "75668fda.085068", "type": "change", "z": "371f61af.7c3d3e", "name": "holdUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.hold", "tot": "msg" }, { "t": "set", "p": "holdUpstairs", "pt": "flow", "to": "payload.hold", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1090, "y": 340, "wires": [ [ "25d3814d.89c9ee", "22a5a602.4063da" ] ] }, { "id": "81bad1c9.c702e8", "type": "change", "z": "371f61af.7c3d3e", "name": "tstateUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.tstate", "tot": "msg" }, { "t": "set", "p": "tstateUpstairs", "pt": "flow", "to": "payload.tstate", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 380, "wires": [ [ "f2c2c32a.b9c008", "3abfaeee.2e0872" ] ] }, { "id": "221e0a61.e3fa16", "type": "change", "z": "371f61af.7c3d3e", "name": "fstateUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.fstate", "tot": "msg" }, { "t": "set", "p": "fstateUpstairs", "pt": "flow", "to": "payload.fstate", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 420, "wires": [ [ "282bbc53.efc11c", "26a98dc8.785d4a" ] ] }, { "id": "7b1e4ef8.2e74c", "type": "change", "z": "371f61af.7c3d3e", "name": "timedayUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.time.day", "tot": "msg" }, { "t": "set", "p": "timedayUpstairs", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1110, "y": 460, "wires": [ [ "4324fbd0.9bd1ac" ] ] }, { "id": "2ba51553.4dc02a", "type": "change", "z": "371f61af.7c3d3e", "name": "timehourUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.time.hour", "tot": "msg" }, { "t": "set", "p": "timehourUpstairs", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1110, "y": 500, "wires": [ [ "3f350aec.ad5f96" ] ] }, { "id": "2e78024e.fdd78e", "type": "change", "z": "371f61af.7c3d3e", "name": "timeminuteUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.time.minute", "tot": "msg" }, { "t": "set", "p": "timeminuteUpstairs", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1120, "y": 540, "wires": [ [] ] }, { "id": "b96d8e30.732638", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "AUTO", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "AUTO/Circulate", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "ON", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 260, "wires": [ [ "8131e379.85cbe8" ] ] }, { "id": "b598570a.e2cae8", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "ON", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "OFF", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 300, "wires": [ [ "72698d88.8beadc" ] ] }, { "id": "25d3814d.89c9ee", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "HOLD OFF", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "HOLD ON", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 340, "wires": [ [ "b1f05ae3.b40c18" ] ] }, { "id": "f2c2c32a.b9c008", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "OFF", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "HEAT", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "COOL", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 380, "wires": [ [ "84b12b49.914048" ] ] }, { "id": "282bbc53.efc11c", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "OFF", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "ON", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 420, "wires": [ [ "612c89dd.9c752" ] ] }, { "id": "8ee998fa.264ca", "type": "debug", "z": "371f61af.7c3d3e", "name": "", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "x": 1720, "y": 460, "wires": [] }, { "id": "8131e379.85cbe8", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 8, "width": 0, "height": 0, "name": "Fan Mode", "label": "Fan Mode", "format": "{{msg.payload}}", "layout": "col-center", "x": 1730, "y": 260, "wires": [] }, { "id": "72698d88.8beadc", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 10, "width": 0, "height": 0, "name": "Override", "label": "Override", "format": "{{msg.payload}}", "layout": "col-center", "x": 1730, "y": 300, "wires": [] }, { "id": "b1f05ae3.b40c18", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 9, "width": 0, "height": 0, "name": "Hold", "label": "Hold", "format": "{{msg.payload}}", "layout": "col-center", "x": 1720, "y": 340, "wires": [] }, { "id": "84b12b49.914048", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 2, "width": 0, "height": 0, "name": "Thermostat State", "label": "Thermostat State", "format": "{{msg.payload}}", "layout": "col-center", "x": 1750, "y": 380, "wires": [] }, { "id": "612c89dd.9c752", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 3, "width": 0, "height": 0, "name": "Fan State", "label": "Fan State", "format": "{{msg.payload}}", "layout": "col-center", "x": 1730, "y": 420, "wires": [] }, { "id": "77c8a6ae.b7c6f8", "type": "inject", "z": "371f61af.7c3d3e", "name": "Off", "topic": "", "payload": "0", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1180, "wires": [ [ "4b697e05.a02638" ] ] }, { "id": "2b8291fe.4899e6", "type": "inject", "z": "371f61af.7c3d3e", "name": "Heat", "topic": "", "payload": "1", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 528, "y": 1224, "wires": [ [ "4b697e05.a02638" ] ] }, { "id": "c65a6ba5.aebd08", "type": "inject", "z": "371f61af.7c3d3e", "name": "Cool", "topic": "", "payload": "2", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 528, "y": 1264, "wires": [ [ "4b697e05.a02638" ] ] }, { "id": "9f2fd5d9.2f03e8", "type": "inject", "z": "371f61af.7c3d3e", "name": "Auto", "topic": "", "payload": "3", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1300, "wires": [ [ "4b697e05.a02638" ] ] }, { "id": "89bad2a7.a76e38", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "set", "p": "tmodeUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 930, "y": 1220, "wires": [ [ "b2105ac2.7d1ad8" ] ] }, { "id": "ec156b95.002cf", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Upstairs Network", "method": "GET", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/sys/network", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 1120, "y": 660, "wires": [ [ "15f070f6.a1fddf" ] ] }, { "id": "35264f93.e13bd8", "type": "http request", "z": "371f61af.7c3d3e", "name": "Post Upstairs Name", "method": "POST", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/sys/name", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 1360, "y": 800, "wires": [ [] ] }, { "id": "129f41db.255606", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 11, "width": 0, "height": 0, "name": "System Name", "label": "System Name", "format": "{{msg.payload}}", "layout": "col-center", "x": 1740, "y": 620, "wires": [] }, { "id": "15f070f6.a1fddf", "type": "change", "z": "371f61af.7c3d3e", "name": "RSSI", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.rssi", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1370, "y": 660, "wires": [ [ "efc61360.54ff3", "40831b24.c8c444" ] ] }, { "id": "1cf10b3e.3bdbe5", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Upstairs Name", "method": "GET", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/sys/name", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 1120, "y": 620, "wires": [ [ "86888b51.5449e", "74b8b948.75e9d" ] ] }, { "id": "9f08d1e7.82fe9", "type": "change", "z": "371f61af.7c3d3e", "name": "SysName", "rules": [ { "t": "set", "p": "sysname", "pt": "msg", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\"name\" : sysname}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 720, "y": 800, "wires": [ [ "35264f93.e13bd8" ] ] }, { "id": "288372c4.1dd59e", "type": "inject", "z": "371f61af.7c3d3e", "name": "Set System Name", "topic": "", "payload": "Upstairs - Tstat", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": "", "x": 510, "y": 800, "wires": [ [ "9f08d1e7.82fe9" ] ] }, { "id": "86888b51.5449e", "type": "change", "z": "371f61af.7c3d3e", "name": "System Name", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.name", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 620, "wires": [ [ "129f41db.255606" ] ] }, { "id": "efc61360.54ff3", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 12, "width": 0, "height": 0, "name": "RSSI", "label": "RSSI", "format": "{{msg.payload}}", "layout": "col-center", "x": 1720, "y": 660, "wires": [] }, { "id": "a211dc81.00a068", "type": "inject", "z": "371f61af.7c3d3e", "name": "Set Current Time", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 510, "y": 900, "wires": [ [ "842c9b37.b0d5d", "9f59fb53.c3c928", "3f722264.b33ed6" ] ] }, { "id": "842c9b37.b0d5d", "type": "moment", "z": "371f61af.7c3d3e", "name": "Day", "topic": "", "input": "payload", "inputType": "msg", "inTz": "America/Chicago", "adjAmount": 0, "adjType": "days", "adjDir": "add", "format": "d", "locale": "en_US", "output": "payload", "outputType": "msg", "outTz": "America/Chicago", "x": 710, "y": 900, "wires": [ [ "dd926c51.e61f" ] ] }, { "id": "9f59fb53.c3c928", "type": "moment", "z": "371f61af.7c3d3e", "name": "Hour", "topic": "", "input": "payload", "inputType": "msg", "inTz": "America/Chicago", "adjAmount": 0, "adjType": "days", "adjDir": "add", "format": "HH", "locale": "en_US", "output": "payload", "outputType": "msg", "outTz": "America/Chicago", "x": 710, "y": 940, "wires": [ [ "9752c45e.32cd" ] ] }, { "id": "3f722264.b33ed6", "type": "moment", "z": "371f61af.7c3d3e", "name": "Minute", "topic": "", "input": "payload", "inputType": "msg", "inTz": "America/Chicago", "adjAmount": 0, "adjType": "days", "adjDir": "add", "format": "mm", "locale": "en_US", "output": "payload", "outputType": "msg", "outTz": "America/Chicago", "x": 710, "y": 980, "wires": [ [ "d2b44236.b524b8" ] ] }, { "id": "73fb5b69.417954", "type": "change", "z": "371f61af.7c3d3e", "name": "time.day", "rules": [ { "t": "set", "p": "time.day", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1130, "y": 900, "wires": [ [ "87e54c0c.ddf988" ] ] }, { "id": "e6be0436.7919f", "type": "change", "z": "371f61af.7c3d3e", "name": "time.hour", "rules": [ { "t": "set", "p": "time.hour", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1130, "y": 940, "wires": [ [] ] }, { "id": "be5c1eef.eae52", "type": "change", "z": "371f61af.7c3d3e", "name": "time.minute", "rules": [ { "t": "set", "p": "time.minute", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1130, "y": 980, "wires": [ [] ] }, { "id": "beeeebd0.3fa56", "type": "change", "z": "371f61af.7c3d3e", "name": "Move payload.time", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"day\" : $flowContext(\"time.day\"),\t\"hour\" : $flowContext(\"time.hour\"),\t\"minute\" : $flowContext(\"time.minute\")\t}", "tot": "jsonata" }, { "t": "move", "p": "payload", "pt": "msg", "to": "payload.time", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1500, "y": 900, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "87e54c0c.ddf988", "type": "delay", "z": "371f61af.7c3d3e", "name": "", "pauseType": "delay", "timeout": "1", "timeoutUnits": "seconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 1290, "y": 900, "wires": [ [ "beeeebd0.3fa56" ] ] }, { "id": "dd926c51.e61f", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 920, "y": 900, "wires": [ [ "73fb5b69.417954" ] ] }, { "id": "9752c45e.32cd", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 920, "y": 940, "wires": [ [ "e6be0436.7919f" ] ] }, { "id": "d2b44236.b524b8", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 910, "y": 980, "wires": [ [ "be5c1eef.eae52" ] ] }, { "id": "9adcb61.aa03648", "type": "change", "z": "371f61af.7c3d3e", "name": "holdUpstairsSet", "rules": [ { "t": "set", "p": "holdUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{ \t\"hold\" : $flowContext(\"holdUpstairsSet\") \t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1500, "y": 2040, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "9ba81f1f.0ad518", "type": "inject", "z": "371f61af.7c3d3e", "name": "Disable", "topic": "", "payload": "0", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2080, "wires": [ [ "5adbcd18.25e81c" ] ] }, { "id": "206f5da1.96398a", "type": "inject", "z": "371f61af.7c3d3e", "name": "Enable", "topic": "", "payload": "1", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2120, "wires": [ [ "5adbcd18.25e81c" ] ] }, { "id": "8b3bc311.0810e", "type": "change", "z": "371f61af.7c3d3e", "name": "Set Both", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "t_coolUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "flow" }, { "t": "set", "p": "t_heatUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "flow" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_cool\" : $flowContext(\"t_coolUpstairsSet\"),\t\"t_heat\" : $flowContext(\"t_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1600, "y": 2940, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "61682ae.ddfa254", "type": "change", "z": "371f61af.7c3d3e", "name": "t_heatUpstairsSet", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "msg" }, { "t": "set", "p": "t_heatUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_heat\" : $flowContext(\"t_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1630, "y": 2860, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "f4e8b415.379a2", "type": "switch", "z": "371f61af.7c3d3e", "name": "if tmodeUpstairsSet", "property": "tmodeUpstairsSet", "propertyType": "flow", "rules": [ { "t": "eq", "v": "0", "vt": "str" }, { "t": "eq", "v": "1", "vt": "str" }, { "t": "eq", "v": "2", "vt": "str" }, { "t": "eq", "v": "3", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1370, "y": 2880, "wires": [ [], [ "61682ae.ddfa254" ], [ "b590a339.0e132" ], [ "8b3bc311.0810e" ] ] }, { "id": "b590a339.0e132", "type": "change", "z": "371f61af.7c3d3e", "name": "t_coolUpstairsSet", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "t_coolUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_cool\" : $flowContext(\"t_coolUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1630, "y": 2900, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "c88b1ecb.ada158", "type": "switch", "z": "371f61af.7c3d3e", "name": "if tmodeUpstairsSet", "property": "tmodeUpstairsSet", "propertyType": "flow", "rules": [ { "t": "eq", "v": "0", "vt": "str" }, { "t": "eq", "v": "1", "vt": "str" }, { "t": "eq", "v": "2", "vt": "str" }, { "t": "eq", "v": "3", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1370, "y": 2740, "wires": [ [], [ "6c0bf967.a8f2a" ], [ "b1e481a.35e258" ], [ "5e6687ff.b9ad48" ] ] }, { "id": "5e6687ff.b9ad48", "type": "change", "z": "371f61af.7c3d3e", "name": "Set Both", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_cool\" : $flowContext(\"t_coolUpstairsSet\"),\t\"t_heat\" : $flowContext(\"t_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1600, "y": 2800, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "6c0bf967.a8f2a", "type": "change", "z": "371f61af.7c3d3e", "name": "t_heatUpstairsSet", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_heat\" : $flowContext(\"t_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1630, "y": 2720, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "b1e481a.35e258", "type": "change", "z": "371f61af.7c3d3e", "name": "t_coolUpstairsSet", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"t_cool\" : $flowContext(\"t_coolUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1630, "y": 2760, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "d2e477bf.e3fa1", "type": "change", "z": "371f61af.7c3d3e", "name": "Auto Set", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_cool\" : $flowContext(\"a_coolUpstairsSet\"),\t\"a_heat\" : $flowContext(\"a_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1260, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "c1cf9729.e0d6c", "type": "change", "z": "371f61af.7c3d3e", "name": "Heat Set", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_heat\" : $flowContext(\"a_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1180, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "c709fb4.f73b588", "type": "change", "z": "371f61af.7c3d3e", "name": "Cool Set", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_cool\" : $flowContext(\"a_coolUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1220, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "b2105ac2.7d1ad8", "type": "switch", "z": "371f61af.7c3d3e", "name": "if tmodeUpstairsSet", "property": "tmodeUpstairsSet", "propertyType": "flow", "rules": [ { "t": "eq", "v": "0", "vt": "str" }, { "t": "eq", "v": "1", "vt": "str" }, { "t": "eq", "v": "2", "vt": "str" }, { "t": "eq", "v": "3", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1210, "y": 1200, "wires": [ [ "b552a6a3.b28c2" ], [ "c1cf9729.e0d6c" ], [ "c709fb4.f73b588" ], [ "d2e477bf.e3fa1" ] ] }, { "id": "81856e76.0cebd8", "type": "comment", "z": "371f61af.7c3d3e", "name": "These Nodes Set Absolute Temperature", "info": "", "x": 1370, "y": 1600, "wires": [] }, { "id": "6c2a4950.312d6", "type": "comment", "z": "371f61af.7c3d3e", "name": "These Nodes Set Temporary Temperature", "info": "", "x": 1490, "y": 2640, "wires": [] }, { "id": "e3c23253.4c58e8", "type": "comment", "z": "371f61af.7c3d3e", "name": "Assumed to be used if have a program running", "info": "", "x": 1500, "y": 2680, "wires": [] }, { "id": "1117d4bb.693b93", "type": "link in", "z": "371f61af.7c3d3e", "name": "MQTT Upstairs Slave In ", "links": [ "cd91a9ba.8d7a6" ], "x": 215, "y": 560, "wires": [ [ "c60bc37d.42764", "c7a2bf3a.bff4d8", "c978eee7.6a3618", "a3ae7f4e.4b6f98", "7d02271b.99172", "d4151698.e19f3", "7c01b8a8.590d68", "f7bc47c7.06c3b", "8b0eb98d.aea77" ] ] }, { "id": "ae217f61.a314e", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 1, "width": 0, "height": 0, "name": "Room Temperature", "label": "Room Temperature", "format": "{{msg.payload}}", "layout": "col-center", "x": 1740, "y": 100, "wires": [] }, { "id": "c60bc37d.42764", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetMode", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetMode", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 490, "y": 1140, "wires": [ [ "4b697e05.a02638", "cf719be9.f165e8" ] ] }, { "id": "c7a2bf3a.bff4d8", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetTemp", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetTemp", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 470, "y": 1820, "wires": [ [ "2170546a.c51194", "ba030f92.738ce8" ] ] }, { "id": "b552a6a3.b28c2", "type": "change", "z": "371f61af.7c3d3e", "name": "Mode Off", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1140, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "c978eee7.6a3618", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetHold", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetHold", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 490, "y": 2040, "wires": [ [ "5adbcd18.25e81c" ] ] }, { "id": "a3ae7f4e.4b6f98", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetFan", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetFan", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 500, "y": 2180, "wires": [ [ "1ec7808c.21faff" ] ] }, { "id": "5da329b5.cddcd", "type": "inject", "z": "371f61af.7c3d3e", "name": "Auto", "topic": "", "payload": "0", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2220, "wires": [ [ "1ec7808c.21faff" ] ] }, { "id": "50b0aa27.ca4334", "type": "inject", "z": "371f61af.7c3d3e", "name": "Circulate", "topic": "", "payload": "1", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 520, "y": 2260, "wires": [ [ "1ec7808c.21faff" ] ] }, { "id": "aef53ed8.479498", "type": "inject", "z": "371f61af.7c3d3e", "name": "On", "topic": "", "payload": "2", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2300, "wires": [ [ "1ec7808c.21faff" ] ] }, { "id": "6a4fd032.0a93b", "type": "change", "z": "371f61af.7c3d3e", "name": "fmodeUpstairsSet", "rules": [ { "t": "set", "p": "fmodeUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{ \"fmode\" : $flowContext(\"fmodeUpstairsSet\") }", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1510, "y": 2180, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "7d02271b.99172", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetAbsolute", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetAbsolute", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 480, "y": 2360, "wires": [ [ "4059367e.8645e8" ] ] }, { "id": "301091.805f4f7", "type": "change", "z": "371f61af.7c3d3e", "name": "a_modeUpstairsSet", "rules": [ { "t": "set", "p": "a_modeUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{ \"a_mode\" : $flowContext(\"a_modeUpstairsSet\") }", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1510, "y": 2360, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "f46fb427.ac5f7", "type": "inject", "z": "371f61af.7c3d3e", "name": "Disable", "topic": "", "payload": "0", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2400, "wires": [ [ "4059367e.8645e8" ] ] }, { "id": "aa1b09aa.2fab08", "type": "inject", "z": "371f61af.7c3d3e", "name": "Enable", "topic": "", "payload": "1", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 2440, "wires": [ [ "4059367e.8645e8" ] ] }, { "id": "c9cd31da.438388", "type": "inject", "z": "371f61af.7c3d3e", "name": "Program A", "topic": "", "payload": "0", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 520, "y": 2540, "wires": [ [ "5b89a380.4b731c" ] ] }, { "id": "b5f4d9e0.75b988", "type": "inject", "z": "371f61af.7c3d3e", "name": "Program B", "topic": "", "payload": "1", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 518, "y": 2584, "wires": [ [ "5b89a380.4b731c" ] ] }, { "id": "fa0cf0f6.fc3c48", "type": "inject", "z": "371f61af.7c3d3e", "name": "Vacation", "topic": "", "payload": "2", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 518, "y": 2624, "wires": [ [ "5b89a380.4b731c" ] ] }, { "id": "525014b3.829d4c", "type": "inject", "z": "371f61af.7c3d3e", "name": "Holiday", "topic": "", "payload": "3", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 520, "y": 2660, "wires": [ [ "5b89a380.4b731c" ] ] }, { "id": "d4151698.e19f3", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetProgMode", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetProgMode", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 500, "y": 2500, "wires": [ [ "5b89a380.4b731c" ] ] }, { "id": "1afed4d3.0ffb9b", "type": "change", "z": "371f61af.7c3d3e", "name": "program_modeUpstairsSet", "rules": [ { "t": "set", "p": "program_modeUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{ \"program_mode\" : $flowContext(\"program_modeUpstairsSet\") }", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 2500, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "b2108600.c9ca9", "type": "function", "z": "371f61af.7c3d3e", "name": "HH:mm", "func": "var Hour = flow.get(\"timehourUpstairs\");\nvar Minute = flow.get(\"timeminuteUpstairs\");\nmsg.payload = Hour + \":\" + Minute;\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1470, "y": 500, "wires": [ [ "8b2f5ca9.f88618" ] ] }, { "id": "3f350aec.ad5f96", "type": "delay", "z": "371f61af.7c3d3e", "name": "", "pauseType": "delay", "timeout": "1", "timeoutUnits": "seconds", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 1320, "y": 500, "wires": [ [ "b2108600.c9ca9" ] ] }, { "id": "8b2f5ca9.f88618", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 4, "width": 0, "height": 0, "name": "Time", "label": "Time", "format": "{{msg.payload}}", "layout": "col-center", "x": 1720, "y": 500, "wires": [] }, { "id": "be55c0ab.242b3", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Lock", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/lock", "tls": "", "x": 720, "y": 2820, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "dfeb2658.6f5be", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Simple Mode", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/simple_mode", "tls": "", "x": 740, "y": 2860, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "8937a6a6.96f218", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Save Energy", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/save_energy", "tls": "", "x": 740, "y": 2900, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "6a54f117.196e28", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Temperature Swing", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/tswing", "tls": "", "x": 760, "y": 2940, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "b11fdc6a.24f95", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Nightlight", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/night_light", "tls": "", "x": 730, "y": 2980, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "b422eb4d.5d8e7", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Temp Diffrential Cool", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/cool", "tls": "", "x": 770, "y": 3020, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "390bad27.b22e3a", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Stage Delay", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/stage_delay", "tls": "", "x": 750, "y": 3100, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "4a1ce98a.562df", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Thermostat Humidity", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/humidity", "tls": "", "x": 770, "y": 3140, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "e64469cd.504ec8", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Temp Diffrential Heat", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/heat", "tls": "", "x": 770, "y": 3060, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "669c9278.1412cc", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Air Baffle", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/air_baffle", "tls": "", "x": 740, "y": 3180, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "6cf9d163.ca7b58", "type": "http request", "z": "371f61af.7c3d3e", "name": "Get Temp Diffrential Cool", "method": "GET", "ret": "obj", "url": "http://192.168.7.240/tstat/cool", "tls": "", "x": 770, "y": 3220, "wires": [ [ "55504a59.4f296c" ] ] }, { "id": "409f815c.9c9ad", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 2820, "wires": [ [ "be55c0ab.242b3" ] ] }, { "id": "9e2cd6ff.21a6f8", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 2860, "wires": [ [ "dfeb2658.6f5be" ] ] }, { "id": "31526e23.d6c292", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 2900, "wires": [ [ "8937a6a6.96f218" ] ] }, { "id": "1390540e.7d02a4", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 2940, "wires": [ [ "6a54f117.196e28" ] ] }, { "id": "f35f444b.daf418", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 2980, "wires": [ [ "b11fdc6a.24f95" ] ] }, { "id": "f93e9bf2.199b2", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3020, "wires": [ [ "b422eb4d.5d8e7" ] ] }, { "id": "2e936ef3.93b0a2", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3060, "wires": [ [ "e64469cd.504ec8" ] ] }, { "id": "401fee55.a04f", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3100, "wires": [ [ "390bad27.b22e3a" ] ] }, { "id": "985768cc.9644f", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3140, "wires": [ [ "4a1ce98a.562df" ] ] }, { "id": "79585d49.dbb134", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3180, "wires": [ [ "669c9278.1412cc" ] ] }, { "id": "7bde94a0.955464", "type": "inject", "z": "371f61af.7c3d3e", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 280, "y": 3220, "wires": [ [ "6cf9d163.ca7b58" ] ] }, { "id": "55504a59.4f296c", "type": "debug", "z": "371f61af.7c3d3e", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "x": 1130, "y": 2980, "wires": [] }, { "id": "a88ad094.b0a058", "type": "comment", "z": "371f61af.7c3d3e", "name": "Unused", "info": "", "x": 390, "y": 2780, "wires": [] }, { "id": "798b06e9.9d88a8", "type": "change", "z": "371f61af.7c3d3e", "name": "program_modeUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.program_mode", "tot": "msg" }, { "t": "set", "p": "program_modeUpstairs", "pt": "flow", "to": "payload.program_mode", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1130, "y": 580, "wires": [ [ "daa8d2d8.d3f888" ] ] }, { "id": "96f173a5.b446e8", "type": "ui_text", "z": "371f61af.7c3d3e", "group": "8652cef1.19c2e", "order": 5, "width": 0, "height": 0, "name": "Program Mode", "label": "Program Mode", "format": "{{msg.payload}}", "layout": "col-center", "x": 1740, "y": 540, "wires": [] }, { "id": "daa8d2d8.d3f888", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "Program A", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "Program B", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "Vacation", "tot": "str" }, { "t": "change", "p": "payload", "pt": "msg", "from": "3", "fromt": "num", "to": "Holiday", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1400, "y": 580, "wires": [ [ "96f173a5.b446e8" ] ] }, { "id": "8b0eb98d.aea77", "type": "switch", "z": "371f61af.7c3d3e", "name": "OpenWeather/temp", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "OpenWeather/temp", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 750, "y": 760, "wires": [ [ "b0e8d043.7c3ac" ] ] }, { "id": "8f7f8d30.3dfcc", "type": "link out", "z": "371f61af.7c3d3e", "name": "MQTT Upstairs Slave out ", "links": [ "e43a1a6d.e45cb8" ], "x": 2415, "y": 460, "wires": [] }, { "id": "3bc6cc78.5a4e14", "type": "comment", "z": "371f61af.7c3d3e", "name": "To MQTT Broker", "info": "", "x": 2450, "y": 420, "wires": [] }, { "id": "14a07bbb.8fdd84", "type": "comment", "z": "371f61af.7c3d3e", "name": "From MQTT Broker", "info": "", "x": 250, "y": 520, "wires": [] }, { "id": "309708cb.116bb8", "type": "comment", "z": "371f61af.7c3d3e", "name": "Messaging Area Show Outside Temp", "info": "", "x": 1050, "y": 720, "wires": [] }, { "id": "4b697e05.a02638", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 910, "y": 1180, "wires": [ [ "89bad2a7.a76e38" ] ] }, { "id": "2170546a.c51194", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 910, "y": 1860, "wires": [ [ "d7db538f.dc8fa" ] ] }, { "id": "d908e44e.1abea", "type": "change", "z": "371f61af.7c3d3e", "name": "Auto Set", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "a_coolUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "flow" }, { "t": "set", "p": "a_heatUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "flow" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_cool\" : $flowContext(\"a_coolUpstairsSet\"),\t\"a_heat\" : $flowContext(\"a_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1920, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "fe881a34.5fb9b8", "type": "change", "z": "371f61af.7c3d3e", "name": "Heat Set", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "tempUpstairsSet", "tot": "msg" }, { "t": "set", "p": "a_heatUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_heat\" : $flowContext(\"a_heatUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1840, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "fdbceeb1.ff7e", "type": "change", "z": "371f61af.7c3d3e", "name": "Cool Set", "rules": [ { "t": "set", "p": "tempUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "a_coolUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\"),\t\"a_cool\" : $flowContext(\"a_coolUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1880, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "d7db538f.dc8fa", "type": "switch", "z": "371f61af.7c3d3e", "name": "if tmodeUpstairsSet", "property": "tmodeUpstairsSet", "propertyType": "flow", "rules": [ { "t": "eq", "v": "0", "vt": "str" }, { "t": "eq", "v": "1", "vt": "str" }, { "t": "eq", "v": "2", "vt": "str" }, { "t": "eq", "v": "3", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1210, "y": 1860, "wires": [ [ "40864206.35574c" ], [ "fe881a34.5fb9b8" ], [ "fdbceeb1.ff7e" ], [ "d908e44e.1abea" ] ] }, { "id": "40864206.35574c", "type": "change", "z": "371f61af.7c3d3e", "name": "Mode Off", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"tmode\" : $flowContext(\"tmodeUpstairsSet\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 1800, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "22cc5f7c.2fcbb8", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Temp", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Temp", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 100, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "df052a8c.cb5058", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Mode", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Mode", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 240, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "258d890.6053b78", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Fmode", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Fmode", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 280, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "dd607a97.c239d", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Overrride", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Overrride", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 320, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "22a5a602.4063da", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Hold", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Hold", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2130, "y": 360, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "3abfaeee.2e0872", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Tstate", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Tstate", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 400, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "26a98dc8.785d4a", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/Fstate", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/Fstate", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 440, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "7555557b.d0434c", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/ProgMode", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/ProgMode", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2130, "y": 600, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "74b8b948.75e9d", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SysName", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/SysName", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2130, "y": 640, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "40831b24.c8c444", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SysRSSI", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/SysRSSI", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2130, "y": 680, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "28a6f9ea.170776", "type": "change", "z": "371f61af.7c3d3e", "name": "", "rules": [ { "t": "set", "p": "tmodeUpstairsSet", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2450, "y": 240, "wires": [ [] ] }, { "id": "5adbcd18.25e81c", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1210, "y": 2040, "wires": [ [ "9adcb61.aa03648" ] ] }, { "id": "1ec7808c.21faff", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1210, "y": 2180, "wires": [ [ "6a4fd032.0a93b" ] ] }, { "id": "4059367e.8645e8", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1210, "y": 2360, "wires": [ [ "301091.805f4f7" ] ] }, { "id": "5b89a380.4b731c", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1210, "y": 2500, "wires": [ [ "1afed4d3.0ffb9b" ] ] }, { "id": "5bd55103.a36648", "type": "http request", "z": "371f61af.7c3d3e", "name": "Post Upstaris Tstat", "method": "POST", "ret": "obj", "paytoqs": false, "url": "http://10.0.0.51/tstat", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 1890, "y": 1120, "wires": [ [] ] }, { "id": "e1fed8bb.404078", "type": "inject", "z": "371f61af.7c3d3e", "name": "68", "topic": "", "payload": "68", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1400, "wires": [ [ "35d78dc7.16653a" ] ] }, { "id": "40dc3a7a.e09f84", "type": "inject", "z": "371f61af.7c3d3e", "name": "72", "topic": "", "payload": "72", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1440, "wires": [ [ "35d78dc7.16653a" ] ] }, { "id": "819e61ff.5ab728", "type": "inject", "z": "371f61af.7c3d3e", "name": "75", "topic": "", "payload": "75", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1480, "wires": [ [ "35d78dc7.16653a" ] ] }, { "id": "fd550271.90ba38", "type": "inject", "z": "371f61af.7c3d3e", "name": "80", "topic": "", "payload": "80", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1520, "wires": [ [ "35d78dc7.16653a" ] ] }, { "id": "7c01b8a8.590d68", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetACool", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetACool", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 470, "y": 1360, "wires": [ [ "35d78dc7.16653a", "34e964f7.110b6c" ] ] }, { "id": "35d78dc7.16653a", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 910, "y": 1420, "wires": [ [ "4eabf428.df2c74" ] ] }, { "id": "4eabf428.df2c74", "type": "change", "z": "371f61af.7c3d3e", "name": "UpstairsSetACool", "rules": [ { "t": "set", "p": "UpstairsSetACool", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"a_cool\" : $flowContext(\"UpstairsSetACool\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1450, "y": 1360, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "ffaa2a23.2cc368", "type": "inject", "z": "371f61af.7c3d3e", "name": "68", "topic": "", "payload": "68", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1620, "wires": [ [ "6ea03a8a.e5809c" ] ] }, { "id": "a693b5e2.d276", "type": "inject", "z": "371f61af.7c3d3e", "name": "72", "topic": "", "payload": "72", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1660, "wires": [ [ "6ea03a8a.e5809c" ] ] }, { "id": "9a9bcc4e.194c48", "type": "inject", "z": "371f61af.7c3d3e", "name": "75", "topic": "", "payload": "75", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1700, "wires": [ [ "6ea03a8a.e5809c" ] ] }, { "id": "e7de1eb9.555338", "type": "inject", "z": "371f61af.7c3d3e", "name": "80", "topic": "", "payload": "80", "payloadType": "num", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 530, "y": 1740, "wires": [ [ "6ea03a8a.e5809c" ] ] }, { "id": "f7bc47c7.06c3b", "type": "switch", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/SetAHeat", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "HVAC/Upstairs/SetAHeat", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 470, "y": 1580, "wires": [ [ "6ea03a8a.e5809c", "73e628df.d9a9e" ] ] }, { "id": "6ea03a8a.e5809c", "type": "function", "z": "371f61af.7c3d3e", "name": "Convert to Number", "func": "msg.payload = parseInt(msg.payload)\nreturn msg;", "outputs": 1, "noerr": 0, "x": 910, "y": 1640, "wires": [ [ "6d756a58.0c20bc" ] ] }, { "id": "6d756a58.0c20bc", "type": "change", "z": "371f61af.7c3d3e", "name": "UpstairsSetAHeat", "rules": [ { "t": "set", "p": "UpstairsSetAHeat", "pt": "flow", "to": "payload", "tot": "msg" }, { "t": "set", "p": "payload", "pt": "msg", "to": "{\t\"a_heat\" : $flowContext(\"UpstairsSetAHeat\")\t}", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1430, "y": 1640, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "cf719be9.f165e8", "type": "debug", "z": "371f61af.7c3d3e", "name": "Mode", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 870, "y": 1140, "wires": [] }, { "id": "34e964f7.110b6c", "type": "debug", "z": "371f61af.7c3d3e", "name": "Cool", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 870, "y": 1380, "wires": [] }, { "id": "73e628df.d9a9e", "type": "debug", "z": "371f61af.7c3d3e", "name": "Heat", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 870, "y": 1600, "wires": [] }, { "id": "ba030f92.738ce8", "type": "debug", "z": "371f61af.7c3d3e", "name": "Temp", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 870, "y": 1820, "wires": [] }, { "id": "858ffab.9605788", "type": "link in", "z": "371f61af.7c3d3e", "name": "Big Timer Upstairs Slave Sunday 00:00", "links": [], "x": 415, "y": 960, "wires": [ [ "842c9b37.b0d5d", "9f59fb53.c3c928", "3f722264.b33ed6" ] ] }, { "id": "cf17e445.8aa938", "type": "change", "z": "371f61af.7c3d3e", "name": "t_coolUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.t_cool", "tot": "msg" }, { "t": "set", "p": "TCoolUpstairs", "pt": "flow", "to": "payload.t_cool", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 140, "wires": [ [ "2dcb1672.187fa2" ] ] }, { "id": "2dcb1672.187fa2", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/TCool", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/TCool", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 140, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "3d457dfa.7e719a", "type": "change", "z": "371f61af.7c3d3e", "name": "t_heatUpstairs", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.t_heat", "tot": "msg" }, { "t": "set", "p": "THeatUpstairs", "pt": "flow", "to": "payload.t_heat", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1100, "y": 180, "wires": [ [ "d4fe3fe6.e806b" ] ] }, { "id": "d4fe3fe6.e806b", "type": "change", "z": "371f61af.7c3d3e", "name": "HVAC/Upstairs/THeat", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "HVAC/Upstairs/THeat", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 180, "wires": [ [ "8f7f8d30.3dfcc" ] ] }, { "id": "9e1c2bd0.03ac38", "type": "change", "z": "371f61af.7c3d3e", "name": "Move payload.program_mode", "rules": [ { "t": "move", "p": "payload", "pt": "msg", "to": "payload.program_mode", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1520, "y": 860, "wires": [ [ "5bd55103.a36648" ] ] }, { "id": "a65e57b0.e56138", "type": "ui_dropdown", "z": "371f61af.7c3d3e", "name": "", "label": "Select Program Mode", "tooltip": "", "place": "Select option", "group": "8652cef1.19c2e", "order": 6, "width": 0, "height": 0, "passthru": true, "options": [ { "label": "Program A", "value": "0", "type": "str" }, { "label": "Program B", "value": "1", "type": "str" }, { "label": "Vacation", "value": "2", "type": "str" }, { "label": "Holiday", "value": "3", "type": "str" } ], "payload": "", "topic": "", "x": 1100, "y": 840, "wires": [ [ "9e1c2bd0.03ac38" ] ] }, { "id": "fffc0619.bfcd38", "type": "comment", "z": "371f61af.7c3d3e", "name": "MQTT state topics", "info": "", "x": 2130, "y": 60, "wires": [] }, { "id": "60813290.872c44", "type": "comment", "z": "371f61af.7c3d3e", "name": "MQTT command topics", "info": "", "x": 480, "y": 1100, "wires": [] }, { "id": "8652cef1.19c2e", "type": "ui_group", "z": "", "name": "Upstairs", "tab": "ea3ab836.fe2d3", "order": 1, "disp": true, "width": "6", "collapse": false }, { "id": "ea3ab836.fe2d3", "type": "ui_tab", "z": "", "name": "CT-50 HVAC", "icon": "dashboard", "order": 5, "disabled": false, "hidden": false } ]