I'm new to Node-RED so sorry if this is a stupid question but I really can't find an answer.
I need a flow to control light parameters based on time of day and I'd like to be able to easily change the time parameters if I need. At the moment they are like 07:00-18:00 Day, 18:00-21:00 Evening, 21:00-07:00 Night, but I'd like to be able to globally change those if I need.
So, instead of putting 07:00 everywhere where I need something to happen at the start of the day, I'd like to have a global variable for that time (e.g. DayStartTime = 07:00). I can do that by using change node and set function but I have no idea about how to use that value in time nodes or if that's even possible.
Here's an example from time switch node where I'd like to replace times with global values:
Soi the question is: is it possible to use a global variable like this and if yes, how do I do that? Or is it maybe node-dependent?