FHT create manual holiday logic

Begonnen von Martijn, 16 Dezember 2015, 15:04:33

Vorheriges Thema - Nächstes Thema

Martijn

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!

fruit

#1
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 has some tim/day code that may be useful to read through or borrow
Feel free to follow up in German if you prefer