Number 1
I would like to change the desired night temperature at different times of the day.
IE, at night, I would like the night temperature to be 15. But during the day when nobody is at home, I would like it to be 6. (as I dont want the heating coming on if no one is at home
I strongly suggest that you do not do that by manipulating the "night temp" and "day Temp" values of the FHT80, as this generates hight radio load. It is in my opinion much better to just set the "desired-temp" to whatever value you desire.
set FHZ_Kitchen desired-temp 22
e.g.
So the basic problem would be, to figure a mechanisem to detect if someone is at home.
This can be done by the "at Home" ideas, mostly based on Bluetooth or WLAN detection of peoples cellphones.
I prefer motion sensors combined with "guessing". I have FS20 PIRI in every room and if they detect motion, the heating is set to 22. If the last motion detection is some 60 minutes ago, the heating is lowered to 16.
This I combined with several other variables such as
- is it day or night
- weekend or workday
- is the alarm system on (thus nobody in the house)
- if yes - since when?
- what time of day?
Number 2
I have noticed that when it is very cold, the room will take longer to heat up.
I would like to be able to notice that the temperature is very cold, and have the programme change the times the heating is starting so that the room is always warm by the given time. IE, on a very cold day set the heating to start at 5am. But on a warmer day, have the heating start at 6am.
Should be no problem, as the FHTs send the room temperatur all 15 minutes.
Uli's method is quite sophisticated. A somewhat more primitve approach is to check at say 5am, if the room is colder as a given threshold. If yes - heat right away, if not, heat in one hour.
Should work along the line:
define heating_morning at *05:00:00 {if (readingsval("FHT_Bedroom","measured-temp") < 10 ) { fhem ("set FHT_Bedroom desired-temp 22") } else { fhem ("define heating_bed_6 at 06:00:00 set FHT_Bedroom desired-temp 22") } }
Well... I'm not sure about the readingsval part, as I never used that. So if somebody else can check/correct that?