Advice on making a complicated thermostat code

Hello.

I have an hsm100 3in1 and a z-wave on/off switch to my electric heater in my kitchen.
As it is summer here, I simply have a scene that turns on the heater when movement is detected and on a delay to turn off after 10mins of no movement.
The heater does have a rotary thermostat on so I can manage the max temperature in the room with that.

I would like to make things more complicated, and I would like some advice how to try to achieve this. I’m happy to experiment with code.

Between 00:00 and 05:00 I would like the heater to come on if the temperature is below 5, but off again once it hits say 10deg - just low tick over

Then a background day time heat between 05:00 to 00:00 of say 15 deg - a background heat.

If there is movement triggered, I would like it at 20 deg for say 15mins then back to the background 15deg.

Just to really make you think, if a virtual switch for my alarm mode is on, then 00:00 to 00:00 (all day) then on for below 5 deg or the tick over heat setting.
(I use this virtual switch to give prowl alerts for any movement in the house, and I want to use it as single place to set all temperatures low for when we go away)

This is what it dying to do but unsure how to create this with scenes and codes.
Thank you for any thoughts.

Dear User,

I read your post and we have just developed a product that does exactly what you want it to do very simply. The product is called Thermotxt, Thermotxt is a plug / socket that you plug into the wall with a temperature sensor in the side.

Thermotxt uses a SIM card and you program it by text (the text commands are very simple), you program temperature parameters to control your device.

So if you connected it to a heater and set the temperatures at 5 and 15 degrees, when the temperature goes below 5 degrees Thermotxt will turn the heater on and then when the temperature gets to 15 degrees Thermotxt will turn the heater off. You can also control it by text at anytime (turn the heater on whenever you want by text) and also by time / date.

The RRP is £150 and our website is tekview.co.uk

If you want more information just drop me an email.

Kind Regards,
Emma

Get familiar with combination switches and using virtual switches to indicate a schedule. I’m doing this now with peak/partial-peak electrical schedules at home. If you have the temperature sensor, what you’re thinking of doing is possible without any code. :wink:
(Thanks futzle.)