@redplc/node-red-time
Version:
Node-RED nodes for get System-Time or NTP-Time using with redPlc nodes
1 lines • 7.63 kB
JSON
[{"id":"17a240612e03787d","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"8233932e7d3d8250","type":"redplc-sys-inject","z":"17a240612e03787d","sdelay":200,"tupdate":10,"outputs":3,"x":100,"y":240,"wires":[["667018944391f743"],["695c1178ac68b1cd"],["052753d087a6bfe3"]]},{"id":"667018944391f743","type":"redplc-rpi-gpio-out","z":"17a240612e03787d","address":0,"tupdate":20,"gpioinit":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","0"],"gpioactv":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"],"x":330,"y":80,"wires":[[]]},{"id":"3fb947c0a2ae5813","type":"redplc-m-memory","z":"17a240612e03787d","address":0,"persistent":0,"tupdate":20,"meminit":[],"x":100,"y":80,"wires":[]},{"id":"5087a24f75a6195f","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"0","name":"Sunday","x":420,"y":300,"wires":[["01bca8e879db52ba"]]},{"id":"c94e1f4ce8319723","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"1","name":"Monday","x":420,"y":360,"wires":[["f2d2af5524a9a23f"]]},{"id":"35d11cd32d8ca8f1","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"2","name":"Tuesday","x":420,"y":420,"wires":[["e56fc3c16f95cb44"]]},{"id":"23f79f1dc75814c9","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"3","name":"Wednesday","x":430,"y":480,"wires":[["e5548c4b3a73feb5"]]},{"id":"e1262cfe9f27ec65","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"4","name":"Thursday","x":420,"y":540,"wires":[["01b08d4afccd8edd"]]},{"id":"043b1d8761f417f4","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"5","name":"Friday","x":410,"y":600,"wires":[["b21b582cc271815e"]]},{"id":"dcb5984b3d25d4ae","type":"redplc-compare","z":"17a240612e03787d","operation":"eq","vartype1":"IA","address1":"99","index1":"4","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"6","name":"Saturday","x":420,"y":660,"wires":[["8893035cf6e7a9c3","b3b1e8a25ef745de"]]},{"id":"052753d087a6bfe3","type":"redplc-sys-rail","z":"17a240612e03787d","rtype":"1","outputs":1,"name":"","x":255,"y":460,"wires":[["5087a24f75a6195f","c94e1f4ce8319723","35d11cd32d8ca8f1","23f79f1dc75814c9","e1262cfe9f27ec65","043b1d8761f417f4","dcb5984b3d25d4ae"]],"l":false},{"id":"cb8ec2641542d32e","type":"redplc-compare","z":"17a240612e03787d","operation":"ge","vartype1":"IA","address1":"99","index1":"2","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"9","name":"Hour >= 9","x":400,"y":160,"wires":[["e3569e40b6a34c6c"]]},{"id":"e3569e40b6a34c6c","type":"redplc-compare","z":"17a240612e03787d","operation":"le","vartype1":"IA","address1":"99","index1":"2","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"13","name":"Hour <= 13","x":590,"y":160,"wires":[["ba05b8efc75c3ed7"]]},{"id":"ba05b8efc75c3ed7","type":"redplc-coil","z":"17a240612e03787d","operation":"ST","vartype":"M","address":0,"index":0,"counter":"R","timer":"R","fflop":"R","name":"Time 9..13","x":790,"y":160,"wires":[["2192e24981f3293d"]]},{"id":"96c3c2010b80e2ad","type":"redplc-compare","z":"17a240612e03787d","operation":"ge","vartype1":"IA","address1":"99","index1":"2","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"14","name":"Hour >= 14","x":410,"y":220,"wires":[["bcbe6402a00cefe8"]]},{"id":"bcbe6402a00cefe8","type":"redplc-compare","z":"17a240612e03787d","operation":"le","vartype1":"IA","address1":"99","index1":"2","counter1":"CV","timer1":"ET","vartype2":"#","address2":0,"index2":0,"counter2":"CV","timer2":"ET","timeu2":"s","const2":"19","name":"Hour <= 19","x":590,"y":220,"wires":[["f3d026ac170744a0"]]},{"id":"f3d026ac170744a0","type":"redplc-coil","z":"17a240612e03787d","operation":"ST","vartype":"M","address":0,"index":"1","counter":"R","timer":"R","fflop":"R","name":"Time 14..19","x":790,"y":220,"wires":[["2192e24981f3293d"]]},{"id":"695c1178ac68b1cd","type":"redplc-sys-rail","z":"17a240612e03787d","rtype":"1","outputs":1,"name":"","x":255,"y":200,"wires":[["cb8ec2641542d32e","96c3c2010b80e2ad"]],"l":false},{"id":"01bca8e879db52ba","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":0,"counter":"QU","timer":"Q","fflop":"Q","name":"Time 9..13","x":590,"y":300,"wires":[["e56fc3c16f95cb44"]]},{"id":"f2d2af5524a9a23f","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":"1","counter":"QU","timer":"Q","fflop":"Q","name":"Time 14..19","x":590,"y":360,"wires":[["e56fc3c16f95cb44"]]},{"id":"e5548c4b3a73feb5","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":0,"counter":"QU","timer":"Q","fflop":"Q","name":"Time 9..13","x":610,"y":480,"wires":[["e56fc3c16f95cb44"]]},{"id":"01b08d4afccd8edd","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":"1","counter":"QU","timer":"Q","fflop":"Q","name":"Time 14..19","x":610,"y":540,"wires":[["e56fc3c16f95cb44"]]},{"id":"b21b582cc271815e","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":"1","counter":"QU","timer":"Q","fflop":"Q","name":"Time 14..19","x":610,"y":600,"wires":[["e56fc3c16f95cb44"]]},{"id":"b3b1e8a25ef745de","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":"1","counter":"QU","timer":"Q","fflop":"Q","name":"Time 14..13","x":610,"y":720,"wires":[["e56fc3c16f95cb44"]]},{"id":"8893035cf6e7a9c3","type":"redplc-contact","z":"17a240612e03787d","operation":"NO","vartype":"M","address":0,"index":0,"counter":"QU","timer":"Q","fflop":"Q","name":"Time 9..13","x":610,"y":660,"wires":[["e56fc3c16f95cb44"]]},{"id":"e56fc3c16f95cb44","type":"redplc-coil","z":"17a240612e03787d","operation":"ST","vartype":"Q","address":0,"index":"26","counter":"R","timer":"R","fflop":"R","name":"Lamp","x":830,"y":460,"wires":[["a17fb72a021ac668"]]},{"id":"2192e24981f3293d","type":"redplc-sys-rail","z":"17a240612e03787d","rtype":"0","outputs":0,"name":"","x":925,"y":200,"wires":[],"l":false},{"id":"a17fb72a021ac668","type":"redplc-sys-rail","z":"17a240612e03787d","rtype":"0","outputs":0,"name":"","x":925,"y":460,"wires":[],"l":false},{"id":"d8ba9599c483d94a","type":"redplc-systime","z":"17a240612e03787d","address":99,"tupdate":200,"ampm":false,"x":100,"y":160,"wires":[]}]