Switching a boiler on/off from ui

With the use of a botton on the dashboard I trigger a trigger node wich remains high for 45 min wich trigger a gpio pin on raspberry for this time.

the inject node is to initialise the text on startup off the flow.

My warm waterproduction is programmed with simple timer in the evening but when we want hot water during the day I can do this via the dasboard without descending to the basement to flip the the manual switch on the timer.

[{"id":"7b863994.4a00f8","type":"tab","label":"BOILER","disabled":false,"info":""},{"id":"c937c5d.74cf038","type":"rpi-gpio out","z":"7b863994.4a00f8","name":"","pin":"40","set":true,"level":"0","freq":"","out":"out","x":600,"y":180,"wires":[]},{"id":"7fde9bb1.523894","type":"trigger","z":"7b863994.4a00f8","name":"","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"45","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":330,"y":180,"wires":[["c937c5d.74cf038","f798f946.afe0b8"]]},{"id":"6cd26edf.113d7","type":"ui_button","z":"7b863994.4a00f8","name":"","group":"2d70c600.e2d54a","order":2,"width":0,"height":0,"passthru":false,"label":"START","tooltip":"","color":"","bgcolor":"","icon":"","payload":"true","payloadType":"bool","topic":"","x":140,"y":180,"wires":[["7fde9bb1.523894","59f399f.25ad068"]]},{"id":"f798f946.afe0b8","type":"ui_gauge","z":"7b863994.4a00f8","name":"","group":"2d70c600.e2d54a","order":1,"width":0,"height":0,"gtype":"gage","title":"AAN/UIT","label":"","format":"{{value}}","min":"0","max":"1","colors":["#ee1111","#e6e600","#37d82c"],"seg1":"","seg2":"","x":600,"y":240,"wires":[]},{"id":"59f399f.25ad068","type":"trigger","z":"7b863994.4a00f8","name":"","op1":"boiler is aan","op2":"Boiler is uit","op1type":"str","op2type":"str","duration":"45","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":330,"y":240,"wires":[["86ffc904.f4af28"]]},{"id":"86ffc904.f4af28","type":"ui_text","z":"7b863994.4a00f8","group":"2d70c600.e2d54a","order":3,"width":0,"height":0,"name":"","label":"","format":"{{msg.payload}}","layout":"col-center","x":600,"y":320,"wires":[]},{"id":"8e150adf.9fe668","type":"inject","z":"7b863994.4a00f8","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":"0.5","topic":"","payload":"reset","payloadType":"msg","x":150,"y":320,"wires":[["86ffc904.f4af28"]]},{"id":"2d70c600.e2d54a","type":"ui_group","name":"boiler","tab":"c0a2130d.da022","order":1,"disp":true,"width":"6","collapse":false},{"id":"c0a2130d.da022","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

Flow Info

Created 5 years, 11 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • inject (x1)
  • trigger (x2)
Other

Tags

  • Boiler
  • on/off
  • trigger
  • dashboard
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option