FHEM Forum

FHEM => English Corner => Thema gestartet von: Martijn am 16 Dezember 2015, 15:04:33

Titel: FHT create manual holiday logic
Beitrag von: Martijn am 16 Dezember 2015, 15:04:33
Hi, I'm struggling with the following idea. Hopefully someone can help me?
I have a FHT, but the holiday_short and holiday are not suitable for me. When I am away for work or a weekend, I want the FHT to be set on a low temperature (manual) and on a certain day and time(!) the FHT should resume it programming an be set to auto.
My idea: either a drop-downlist with number days (or exact day) and exact time (only hours or half hours) (or input fields) and an input for the desired-temp and an activate button. This should set the desired-temp, set mode manual and define an "at" on the reuqested YYYY-MM-DDTHH:MM:SS
I'm not sure how the start and create the inputfields.
Help appriciated!
Titel: Antw:FHT create manual holiday logic
Beitrag von: fruit am 16 Dezember 2015, 22:13:07
You can set time from the attribute setList state:time
You might be able to combine this with another dummy to set days ahead - depending on how many you need, then convert to use with an at

Edit:
Not specifically relevant to the topic but http://www.fhemwiki.de/wiki/Zyklische_Überprüfung_von_Geräten_mit_Benachrichtigung_per_Email (http://www.fhemwiki.de/wiki/Zyklische_%C3%9Cberpr%C3%BCfung_von_Ger%C3%A4ten_mit_Benachrichtigung_per_Email) has some tim/day code that may be useful to read through or borrow