Network 1 Status
[{"id":"a9497c78729f4dd4","type":"tab","label":"Netwrok 2 status","disabled":false,"info":"","env":[]},{"id":"43f5c05c1a38c680","type":"inject","z":"a9497c78729f4dd4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"Started!","payloadType":"str","x":300,"y":180,"wires":[["a4650cccb694a99a","05e1f12cf7effd26","7c81ee8a3adcb9df","6c8b7fa27d928581","53e60c4d0e20d2ce","257e933fc33848d4","be491f33eb39c4aa","79a8a79dedc3e42b","08001635afb265ed","1172dda14384052b","06b51af713644c7e","455a2d62f2b25aea","d0a0ecc1d3ebd4a6","6c6516db17ff17e3","9753ebd5c0ca06ea","fca97524831f5435","7c170944cb860cab","d72cbe598f1b03a5"]]},{"id":"159b47a4e26fba0b","type":"comment","z":"a9497c78729f4dd4","name":"Read startup Status from HDL","info":"","x":320,"y":100,"wires":[]},{"id":"28573ae22af94775","type":"function","z":"a9497c78729f4dd4","name":"Read status Dimmer 2","func":"msg.target = \"1.61\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":240,"wires":[["ccbc003c99fd872b"]]},{"id":"a4650cccb694a99a","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":240,"wires":[["28573ae22af94775"]]},{"id":"ccbc003c99fd872b","type":"hdl-raw-out","z":"a9497c78729f4dd4","controller":"309318e35173ed59","name":"Command to HDL","x":1450,"y":700,"wires":[]},{"id":"efc3416ccac0d52c","type":"function","z":"a9497c78729f4dd4","name":"Read status Dimmer 3","func":"msg.target = \"2.1\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":300,"wires":[["ccbc003c99fd872b"]]},{"id":"05e1f12cf7effd26","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"14","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":300,"wires":[["efc3416ccac0d52c"]]},{"id":"7c81ee8a3adcb9df","type":"function","z":"a9497c78729f4dd4","name":"Read status Dimmer 1","func":"msg.target = \"1.60\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":180,"wires":[["ccbc003c99fd872b"]]},{"id":"46ee0cdefc531e94","type":"function","z":"a9497c78729f4dd4","name":"Read status Relay 1","func":"msg.target = \"2.1\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":360,"wires":[["ccbc003c99fd872b"]]},{"id":"e875c0a4d2de04f0","type":"function","z":"a9497c78729f4dd4","name":"Read status Relay 2","func":"msg.target = \"1.81\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":420,"wires":[["ccbc003c99fd872b"]]},{"id":"8ff10cfba5340a9f","type":"function","z":"a9497c78729f4dd4","name":"Read status Relay 3","func":"msg.target = \"1.82\"\nmsg.code = 0x0033;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":880,"y":480,"wires":[["ccbc003c99fd872b"]]},{"id":"6c8b7fa27d928581","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":360,"wires":[["46ee0cdefc531e94"]]},{"id":"53e60c4d0e20d2ce","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"17","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":420,"wires":[["e875c0a4d2de04f0"]]},{"id":"257e933fc33848d4","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"18","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":480,"wires":[["8ff10cfba5340a9f"]]},{"id":"be491f33eb39c4aa","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"19","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":600,"wires":[["217d8941b37beb7f"]]},{"id":"20e30f56ef6515df","type":"comment","z":"a9497c78729f4dd4","name":"Dimmers And Relays","info":"Only one message per dimmer or relay module. Module will answer with all channels in one message.","x":640,"y":140,"wires":[]},{"id":"bfd586726211df57","type":"comment","z":"a9497c78729f4dd4","name":"Universal Switches","info":"One message per US needs to be sendt.","x":630,"y":540,"wires":[]},{"id":"217d8941b37beb7f","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 1-4","func":"var msg1 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 1}, \n };\nvar msg2 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 2}, \n };\nvar msg3 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 3}, \n };\nvar msg4 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 4}, \n };\nreturn [ [ msg1, msg2, msg3, msg4 ], ]","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":890,"y":600,"wires":[["ccbc003c99fd872b"]]},{"id":"729ce1c4fd90e867","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 20- 23","func":"var msg1 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 20}, \n };\nvar msg2 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 21}, \n };\nvar msg3 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 22}, \n };\nvar msg4 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 23}, \n };\nreturn [ [ msg1, msg2, msg3, msg4 ], ]","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":780,"wires":[["ccbc003c99fd872b"]]},{"id":"6633f98a95858c17","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 16","func":"var msg = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 16}, \n };\n\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":890,"y":660,"wires":[["ccbc003c99fd872b"]]},{"id":"bae7a242263311ed","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 60-62","func":"var msg1 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 60}, \n };\nvar msg2 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 61}, \n };\nvar msg3 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 62}, \n };\nreturn [ [ msg1, msg2, msg3 ], ]","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":840,"wires":[["ccbc003c99fd872b"]]},{"id":"61c6861743e87271","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 225 - 228","func":"var msg1 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 225}, \n };\nvar msg2 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 226}, \n };\nvar msg3 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 227}, \n };\nvar msg4 = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 228}, \n };\nreturn [ [ msg1, msg2, msg3, msg4 ], ]","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":910,"y":900,"wires":[["ccbc003c99fd872b"]]},{"id":"147e42478cf23319","type":"function","z":"a9497c78729f4dd4","name":"Read status US 1.22 18","func":"var msg = { \n target: \"1.22\",\n code: 0xe018,\n payload:{switch: 18}, \n };\n\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":890,"y":720,"wires":[["ccbc003c99fd872b"]]},{"id":"79a8a79dedc3e42b","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"21","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":660,"wires":[["6633f98a95858c17","147e42478cf23319"]]},{"id":"1172dda14384052b","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"22","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":780,"wires":[["729ce1c4fd90e867"]]},{"id":"06b51af713644c7e","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"23","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":840,"wires":[["bae7a242263311ed"]]},{"id":"08001635afb265ed","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"24","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":900,"wires":[["61c6861743e87271"]]},{"id":"455a2d62f2b25aea","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"26","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1000,"wires":[["0016532d84d966ce"]]},{"id":"8c433d74b4b9fc1d","type":"comment","z":"a9497c78729f4dd4","name":"Floorheat on DLP","info":"","x":620,"y":960,"wires":[]},{"id":"0016532d84d966ce","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat from DLP","func":"msg.target = \"1.106\"\nmsg.code = 6468;\n \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":910,"y":1000,"wires":[["ccbc003c99fd872b"]]},{"id":"b37e4ad79e83114f","type":"hdl-raw-out","z":"a9497c78729f4dd4","controller":"309318e35173ed59","name":"","x":630,"y":1580,"wires":[]},{"id":"8cf0aac16e8c2c21","type":"function","z":"a9497c78729f4dd4","name":"Read sensor","func":"msg.target = \"1.73\"\nmsg.code = 5636;\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":470,"y":1580,"wires":[["b37e4ad79e83114f"]]},{"id":"b0f5ef066bf1395f","type":"inject","z":"a9497c78729f4dd4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":true,"onceDelay":"36","topic":"","payload":"Started!","payloadType":"str","x":300,"y":1580,"wires":[["8cf0aac16e8c2c21"]]},{"id":"8dc241ea9509c231","type":"comment","z":"a9497c78729f4dd4","name":"Read status of humidity sensor that is not able to broadcast","info":"","x":410,"y":1500,"wires":[]},{"id":"288fb7fcb88c4e42","type":"comment","z":"a9497c78729f4dd4","name":"Inject node is set to start with a delay of 36sec and repeat every 60 sec","info":"","x":500,"y":1540,"wires":[]},{"id":"de7ba2854ad1de3b","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch2","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 2,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1180,"wires":[["ccbc003c99fd872b"]]},{"id":"ad45c67a7da115bd","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch1","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 1,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1120,"wires":[["ccbc003c99fd872b"]]},{"id":"5d4c382578d144d6","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch4","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 4,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1300,"wires":[["ccbc003c99fd872b"]]},{"id":"aefed992f7ebab94","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch3","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 3,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1240,"wires":[["ccbc003c99fd872b"]]},{"id":"42cd5965737634f4","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch5","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 5,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1360,"wires":[["ccbc003c99fd872b"]]},{"id":"6c6516db17ff17e3","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"32","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1240,"wires":[["aefed992f7ebab94"]]},{"id":"d0a0ecc1d3ebd4a6","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1180,"wires":[["de7ba2854ad1de3b"]]},{"id":"9753ebd5c0ca06ea","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"34","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1300,"wires":[["5d4c382578d144d6"]]},{"id":"fca97524831f5435","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"36","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1360,"wires":[["42cd5965737634f4"]]},{"id":"c46f2b53ad474ccb","type":"function","z":"a9497c78729f4dd4","name":"Read status Floorheat ch6","func":"msg.target = \"1.14\"\nmsg.code = 7262;\nmsg.payload = {\n channel: 6,\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1420,"wires":[["ccbc003c99fd872b"]]},{"id":"7c170944cb860cab","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"38","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1420,"wires":[["c46f2b53ad474ccb"]]},{"id":"a4071d915c53a9e2","type":"comment","z":"a9497c78729f4dd4","name":"Floorheat on Heatingmodule","info":"","x":660,"y":1060,"wires":[]},{"id":"d72cbe598f1b03a5","type":"delay","z":"a9497c78729f4dd4","name":"","pauseType":"delay","timeout":"28","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":620,"y":1120,"wires":[["ad45c67a7da115bd"]]},{"id":"309318e35173ed59","type":"hdl-controller","host":"192.168.3.143","port":"6000","subnetid":"200","deviceid":"0","broadcast":true,"daliId":""}]```