Using Smart Things routines to control baseboard

I’ve got smart things controlling some things like outlets and switches. I have recently added a high current Shelly relay and I have a wireless temperature sensor. I would like to setup routines to turn a heater on and off based on the room temp and the time of day. It seems like I am going to have to write a lot of small routines, but that doesn’t feel right. Is there a better way to group my routines or write one longer routine?

1 Like

Tell us more about your wireless temperature sensor. Make, model, protocol (z-wave, zigbee, etc).

@Mariano_Colmenarejo has drivers that convert zigbee and z-wave temperature sensors into virtual thermostats.

They are “zigbee temp sensor and child thermostat mc” and “z-wave sensor and child thermostat mc”.

You can find them at

I suspect ‘* temp sensor and child thermostat mc” is the way to go.

I was able to do a simpler version with a virtual device “extension heating”, a temperature sensor, and a heating switch.
In my case, “extension heating” was switched on and off manually (but you could control it with timers). An ‘on’ routine switched on the heating switch if the temperature was less than or equal to 20c while an ‘off’ routine switched off the heating switch.
The temperature sensor has an routine that switches off the heating switch if the temperature is greater than or equal to 21c; and another that switches on the heating switch if the temperature is less than or equal to 20c IF ‘extension heating’ is on.
I created some additional 22c and 23c ‘off’ routines just in case (my wife kept switching on the heating switch).
I suspect Mario’s virtual thermostat is a better approach.

I have a Sonoff zig bee wireless temp/humidity sensor and a shelly wave pro 1pm relay.

I go the Mariano drivers installed. I’m so new to smart things, can someone walk me through what I do with these drivers?

1] make sure that the “zigbee temp sensor and child thermostat mc” driver is installed on your hub. In the mobile app open your hub tile > 3 dots in upper right > drivers. If picking the channel listed on the lower part of the list and install it.

2] go to your temperature sensor in mobile app > open tile > 3 dots > driver > change driver > select “zigbee temp sensor and child thermostat mc”.

3] go to your temperature sensor in mobile app > open tile > 3 dots > settings > create child thermostat.

4] after you have a thermostat you can start creating Routines to turn you Shelly smart relay on and off

1 Like

Wow! That is exactly what I was looking for.
Thanks!!

This link contains a manual for the virtual thermostat, explaining how to use all its functions and custom operating settings.

3 Likes

I finally got.my Shelly wave pro 1 pm and have it added to smart things. How do I tell my virtual thermostat to turn the Shelly relay off and on based on the virtual thermostat settings like home, sleep, away, etc… Do I create routines?

Sorry I missed step 4 above. I do create routines. Thanks!

1 Like