I am trying to use node red for home automation. I was using another product which is more design on the visuala than programming. This is why I liked node red from the start.
First thing I wanted to do is sprinklers. I would open a valve wait for a few minutes for a zone to get water and turn off the valve. And obviously would like to control the time the zone is on. Hence I was looking at doing this with the delay. But I totally understand potential issues is may cause in a message queue.
Or one more example: I want to start a process and I would change the start time of the inject node. And I would like to do that from the UI.
I am new to node red, so I probably should not recommend any changes, but would love to hear your suggestions for the above cases.
Regards,
Csongor
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a561471c-e014-4f93-9d8b-cbfcdadf5899%40googlegroups.com.
[{"id":"463827ad.2066a8","type":"tab","label":"Sprinkler"},{"id":"4075c0aa.96a66","type":"ui_slider","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Hour","topic":"timehour","group":"Sprinkler","order":1,"min":0,"max":"23","x":319,"y":45,"wires":[["a9762b58.fd4138"]]},{"id":"b6f0113b.9ce52","type":"ui_slider","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Minute","topic":"timeminute","group":"Sprinkler","order":1,"min":0,"max":"59","x":318,"y":89,"wires":[["a9762b58.fd4138"]]},{"id":"af4b553a.5c5098","type":"ui_text","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Time:","group":"Sprinkler","order":1,"format":"{{msg.payload}}","x":754,"y":62,"wires":[]},{"id":"a9762b58.fd4138","type":"function","z":"463827ad.2066a8","name":"Calculate time","func":"global.set(msg.topic,msg.payload);\nvar hour = global.get(\"timehour\");\nvar minute = global.get(\"timeminute\");\nif (hour!==undefined && minute!==undefined) {\n var mytime = new Date();\n mytime.setHours(hour, minute, 0);\n mytime.setFullYear(2000,01,01);\n global.set(\"start\",mytime);\n}\nmsg.payload = hour + \":\" + minute;\nreturn msg;","outputs":1,"noerr":0,"x":561,"y":62,"wires":[["af4b553a.5c5098"]]},{"id":"45bb7d91.870724","type":"inject","z":"463827ad.2066a8","name":"","topic":"TempCheck","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":162,"y":175,"wires":[["b47f53d6.d4f53"]]},{"id":"b47f53d6.d4f53","type":"function","z":"463827ad.2066a8","name":"Remove date","func":"var current = new Date();\ncurrent.setFullYear(2000,01,01);\nmsg.payload = current;\nreturn msg;","outputs":1,"noerr":0,"x":412,"y":175,"wires":[["d1e5d210.8c577"]]},{"id":"d1e5d210.8c577","type":"switch","z":"463827ad.2066a8","name":"Before or after start","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"start","vt":"global"},{"t":"gte","v":"start","vt":"global"}],"checkall":"true","outputs":2,"x":235,"y":280,"wires":[["78a687e8.08d5b8"],["d54c52a0.ca542"]]},{"id":"78a687e8.08d5b8","type":"change","z":"463827ad.2066a8","name":"Change to ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":486,"y":246,"wires":[["88e90c1f.59a64"]]},{"id":"d54c52a0.ca542","type":"change","z":"463827ad.2066a8","name":"Change to OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":484,"y":299,"wires":[["88e90c1f.59a64"]]},{"id":"88e90c1f.59a64","type":"rpi-gpio out","z":"463827ad.2066a8","name":"","pin":"11","set":"","level":"0","out":"out","x":714,"y":282,"wires":[]},{"id":"156af96f.f8fd27","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":"1"}][{"id":"463827ad.2066a8","type":"tab","label":"Sprinkler"},{"id":"4075c0aa.96a66","type":"ui_slider","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Hour","topic":"timehour","group":"Sprinkler","order":1,"min":0,"max":"23","x":319,"y":45,"wires":[["a9762b58.fd4138"]]},{"id":"b6f0113b.9ce52","type":"ui_slider","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Minute","topic":"timeminute","group":"Sprinkler","order":1,"min":0,"max":"59","x":318,"y":89,"wires":[["a9762b58.fd4138"]]},{"id":"af4b553a.5c5098","type":"ui_text","z":"463827ad.2066a8","tab":"156af96f.f8fd27","name":"Time:","group":"Sprinkler","order":1,"format":"{{msg.payload}}","x":754,"y":62,"wires":[]},{"id":"a9762b58.fd4138","type":"function","z":"463827ad.2066a8","name":"Calculate time","func":"global.set(msg.topic,msg.payload);\nvar hour = global.get(\"timehour\");\nvar minute = global.get(\"timeminute\");\nif (hour!==undefined && minute!==undefined) {\n var mytime = new Date();\n mytime.setHours(hour, minute, 0);\n mytime.setFullYear(2000,01,01);\n global.set(\"start\",mytime);\n}\nmsg.payload = hour + \":\" + minute;\nreturn msg;","outputs":1,"noerr":0,"x":561,"y":62,"wires":[["af4b553a.5c5098"]]},{"id":"45bb7d91.870724","type":"inject","z":"463827ad.2066a8","name":"","topic":"TempCheck","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":162,"y":175,"wires":[["b47f53d6.d4f53"]]},{"id":"b47f53d6.d4f53","type":"function","z":"463827ad.2066a8","name":"Remove date","func":"var current = new Date();\ncurrent.setFullYear(2000,01,01);\nmsg.payload = current;\nreturn msg;","outputs":1,"noerr":0,"x":412,"y":175,"wires":[["d1e5d210.8c577"]]},{"id":"d1e5d210.8c577","type":"switch","z":"463827ad.2066a8","name":"Before or after start","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"start","vt":"global"},{"t":"gte","v":"start","vt":"global"}],"checkall":"true","outputs":2,"x":235,"y":280,"wires":[["78a687e8.08d5b8"],["d54c52a0.ca542"]]},{"id":"78a687e8.08d5b8","type":"change","z":"463827ad.2066a8","name":"Change to ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":486,"y":246,"wires":[["88e90c1f.59a64"]]},{"id":"d54c52a0.ca542","type":"change","z":"463827ad.2066a8","name":"Change to OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":484,"y":299,"wires":[["88e90c1f.59a64"]]},{"id":"88e90c1f.59a64","type":"rpi-gpio out","z":"463827ad.2066a8","name":"","pin":"11","set":"","level":"0","out":"out","x":714,"y":282,"wires":[]},{"id":"156af96f.f8fd27","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":"1"}]--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a20183d3-2481-4565-a29d-2cdcc1e2ca07%40googlegroups.com.
Peter - palette manager in the editor, not the dashboard. As described in the release blog post - https://nodered.org/blog/2016/10/11/version-0-15-releasedNick
On 14 November 2016 at 19:37, 'Peter Scargill' via Node-RED <node...@googlegroups.com> wrote:
Am I that predictable :-(Ok "new palette manager option in the ui" - come on - enlighten us - I updated the dashboard not that long ago and I'm not seeing a
palette manager??
On Monday, 14 November 2016 19:21:21 UTC, Dave C-J wrote:no Peter - you didn't really have to - but I knew you would. 8-)
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
Hi Colin,Do you remember which package contains the dropdown and the group UI control that you used here? I have node-red-contrib-ui_j installed.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/6c94e3d4-2d04-48a9-8261-75af248241c8%40googlegroups.com.