Feature request: GUI to set multiple timers at once, depending on variables
Posted: Fri Nov 20, 2015 5:25 pm
I use NetHome partly to control wake-up times etc. I have made a whole load of Timers, Scenes and Triggers to do something as simple as waking up and leaving for work. A normal morning would be something like this (wakeup is at 07:00, we leave the house at 08:00):
-At 06:30 a dawn light sets in, slowly increasing the dim level until the light is on 100% at 07:00 - (IntervalTimer).
-The coffee maker switches on at 06:55 to make sure it is ready by 07:05, when we stumble into the kitchen - (WeekTimer).
-The car heater switches on at different times, depending on the outside temperature. The aim is to have the car ready at the time of departure. There are three diffrent triggers for pre-set levels (Above +3°C = no heating, +3°C to -5°C = 45 minutes heating, -5°C to -12°C = 60 minutes of heating, below -12°C = 120 minutes of heating) - (ValueTriggers setting WeekTimer).
-All lights switch off at the time of departure - (WeekTimer controlling Scene).
It would be nice to have some kind of control that can be programmed to set all these timers at once (well, maybe apart from the car heater, that would need an entirely different solution, see below). You would enter a time and it would set the different timers at predetermined offsets. Example:
Enter wake-up time 07:00 and the program does the following:
-Sets dawn light to start at 06:30 (-30 minutes offset).
-Sets coffee timer to switch on at 06:55 (-5 minutes offset).
-Sets lights to switch off at 08:00 (+60 minutes offset).
-Sets "car ready for departure" time at 08:00 (+60 minutes offset).
The car heater would need an entirely different system. A complex timer item that is trigged by the outside temperature and offsets the switch-on time by predefined increments depending on the outside temperature. Example:
Above +3°C = disable heater timer (set timer to 'nothing').
+3...-5°C = set "heater On time" at -45 minutes offset.
-5...-12°C = set "heater On time" at -60 minutes offset.
Below -12°C = set "heater On time" at -120 minutes offset.
Even though the departure time would be set at, say, 08:00, the heater would stay switched on for an additional 15 minutes (until 08:15). This is because we don't always leave at excactly 08:00. Sometimes it's a little before that, sometimes a little after. That would be an additional offset parameter (trailing time offset).
Now if for some reason I have to get up at 06:00 on some mornings, I need another bunch of Scenes and Triggers to do this. I've programmed a few scenes that set all these timers in half-hour increments and enable/disable different triggers, depending on if I want to wake up at 06:00, 06:30, 07:00, 07:30 or 08:00. That adds up to an awful lot of scenes, triggers and stuff. Just to get up in the morning. And even then, they are a pain in the ass to use.
So the bottom line is: It would be nice to have one timer item (or action scene) that would set all these different times from just one time that is entered into the box. It could be like:
Enter wake-up time: __:__
Enter departure time: __:__
and it would do all the rest according to different offset times (these could be set in a different window).
The car heater would probably need a timer/trigger item of its own. It could receive the departure time from the item above, but would then set the different temperature variables, the heating times and the trailing time depending on what the user has entered in its settings window.
Since I don't know how to do this, I wonder if anyone on this forum already has done something like this, or at least can point me in the right direction?
EDIT: It could be something like the item DayLiteTimer, which can have offset times added or subtracted to sunrise (R) or sunset (S). You know like [S+00:30] for a time 30 minutes after sunset.
Here, the hypotethical 'MorningTimer' could have offset times depending on WakeupTime (W) or DepartureTime (D). For example, my dawn light timer would be set to start at [W-00:30], my coffee maker would be set to switch on at [W-00:05] and all my lights to switch off at [D].
The MorningTimer could get its W and D times from a simple GUI page, that only has two boxes for entering the times. The page would be easily accessible and usable on the phone as well as on the computer.
-At 06:30 a dawn light sets in, slowly increasing the dim level until the light is on 100% at 07:00 - (IntervalTimer).
-The coffee maker switches on at 06:55 to make sure it is ready by 07:05, when we stumble into the kitchen - (WeekTimer).
-The car heater switches on at different times, depending on the outside temperature. The aim is to have the car ready at the time of departure. There are three diffrent triggers for pre-set levels (Above +3°C = no heating, +3°C to -5°C = 45 minutes heating, -5°C to -12°C = 60 minutes of heating, below -12°C = 120 minutes of heating) - (ValueTriggers setting WeekTimer).
-All lights switch off at the time of departure - (WeekTimer controlling Scene).
It would be nice to have some kind of control that can be programmed to set all these timers at once (well, maybe apart from the car heater, that would need an entirely different solution, see below). You would enter a time and it would set the different timers at predetermined offsets. Example:
Enter wake-up time 07:00 and the program does the following:
-Sets dawn light to start at 06:30 (-30 minutes offset).
-Sets coffee timer to switch on at 06:55 (-5 minutes offset).
-Sets lights to switch off at 08:00 (+60 minutes offset).
-Sets "car ready for departure" time at 08:00 (+60 minutes offset).
The car heater would need an entirely different system. A complex timer item that is trigged by the outside temperature and offsets the switch-on time by predefined increments depending on the outside temperature. Example:
Above +3°C = disable heater timer (set timer to 'nothing').
+3...-5°C = set "heater On time" at -45 minutes offset.
-5...-12°C = set "heater On time" at -60 minutes offset.
Below -12°C = set "heater On time" at -120 minutes offset.
Even though the departure time would be set at, say, 08:00, the heater would stay switched on for an additional 15 minutes (until 08:15). This is because we don't always leave at excactly 08:00. Sometimes it's a little before that, sometimes a little after. That would be an additional offset parameter (trailing time offset).
Now if for some reason I have to get up at 06:00 on some mornings, I need another bunch of Scenes and Triggers to do this. I've programmed a few scenes that set all these timers in half-hour increments and enable/disable different triggers, depending on if I want to wake up at 06:00, 06:30, 07:00, 07:30 or 08:00. That adds up to an awful lot of scenes, triggers and stuff. Just to get up in the morning. And even then, they are a pain in the ass to use.
So the bottom line is: It would be nice to have one timer item (or action scene) that would set all these different times from just one time that is entered into the box. It could be like:
Enter wake-up time: __:__
Enter departure time: __:__
and it would do all the rest according to different offset times (these could be set in a different window).
The car heater would probably need a timer/trigger item of its own. It could receive the departure time from the item above, but would then set the different temperature variables, the heating times and the trailing time depending on what the user has entered in its settings window.
Since I don't know how to do this, I wonder if anyone on this forum already has done something like this, or at least can point me in the right direction?
EDIT: It could be something like the item DayLiteTimer, which can have offset times added or subtracted to sunrise (R) or sunset (S). You know like [S+00:30] for a time 30 minutes after sunset.
Here, the hypotethical 'MorningTimer' could have offset times depending on WakeupTime (W) or DepartureTime (D). For example, my dawn light timer would be set to start at [W-00:30], my coffee maker would be set to switch on at [W-00:05] and all my lights to switch off at [D].
The MorningTimer could get its W and D times from a simple GUI page, that only has two boxes for entering the times. The page would be easily accessible and usable on the phone as well as on the computer.