Node-red scheduler in Dashboard

2,321 views
Skip to first unread message

leonardo serri

unread,
Dec 12, 2016, 3:54:18 AM12/12/16
to Node-RED
Apologize for a duplicate thread.

I'm looking for a scheduler directly in the dasboard in order to activate different Gpio output. 
What I would like to do is a programmable scheduler in dashboard in order to remotely control the thermostat. The idea is to create a scehduler with the week days and the start and stop hours that directly interact with the thermostat. I haven't find any way to have in the dashboard a scheduler like this.
Anyone has just tried something similar?

Thank you so much in advice.

Leonardo

Julian Knight

unread,
Dec 12, 2016, 5:00:44 AM12/12/16
to Node-RED
Possibly the easiest thing would be to use the UI template to create a table with input fields, send the data back into Node-RED and use node-red-contrib-later which is the only scheduling node as far as I can tell that allows you to pass the schedule in.   

leonardo serri

unread,
Dec 12, 2016, 10:02:04 AM12/12/16
to Node-RED
Hi Julian,

thank you so much for your reply. Could you please be more precisely? What do you mean about the table with the UI template? Have you got an example? I'm working with the last release of Dashboard ui, but I haven't seen the the table UI template that are you talking about.
 

Leonardo

Colin Law

unread,
Dec 12, 2016, 10:45:54 AM12/12/16
to node...@googlegroups.com
You might find the bigtimer node useful.

https://www.npmjs.com/package/node-red-contrib-bigtimer
http://tech.scargill.net/big-timer/

Colin
> --
> 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 view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/ff4744d5-242f-40c8-a7bb-a5d6f6de54df%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Walter Kraembring

unread,
Dec 12, 2016, 10:53:10 AM12/12/16
to Node-RED
Julian is saying that you should use the UI template node and create a table with input fields inside. You need to write some html + javascript code in the template node

Best regards, Walter 

Julian Knight

unread,
Dec 12, 2016, 12:03:18 PM12/12/16
to Node-RED
Indeed. 

A table with a row for each day, 3 columns: Day name, start time, end time.

Maybe a button to commit changes back to Node-RED.

Though actually later takes inputs in text format so you could start simply by having a single input field in which you directly type the schedule and send it back to Node-RED. That would get you started and you could restructure it later if you really wanted a more structured UI.

If I get time, I might have a play with that as it might be useful to my home automation system.

Adrian Chapmanlaw

unread,
Dec 12, 2016, 4:17:37 PM12/12/16
to Node-RED
im in the process of sorting this out for my pi zero and ever growing control of my heating, I have recently added some controllable TRV that let me control the temps in the rooms but its taking some time to work out what schedules i want as well as tying that in with manual control when i want it and switching it all off automagically when im away. big timer works and has some nice options like local sunrise/sunset but it is fixed and not editable from dashboard.

--
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.
Reply all
Reply to author
Forward
0 new messages