Compare temperature between two TH16

I have 2 TH16s with a temperature sensor. Can I create a scene where I compare the temperature between the 2 TH16s and activate 1 of them if the temperature of the second is higher? I couldn’t do it. Any suggestions, ideas?

NOT for now, the compared temperature is the one that the sensor monitored of ambient, not from other devices.

Would you please let us know why you have this feature request? Will evaluate it deeper.

I have a water heating system where I have a temperature sensor connected to 1 TH16 in the solar collector and another temperature sensor connected to the second TH16 inside the hot water box.
I need every 1 minute to check the temperature of the collector sensor and if the temperature of this sensor is higher than that of the box, then I activate the TH16 of the water tank and otherwise I turn off the TH16 of the water tank.
1 Like

I think we should evaluate this feature, @natalia.long please add this request to the scenes feature request list.


Hi there, @yitie , I have exactly the same requirement for controller a pump from a hot water panel.
Would be very keen to see this feature added.


I have a similar request, but for power: switch off one Sonoff, which is powering one appliance, if another Sonoff, which is powering whole house, detetcs over-power.

1 Like

i think this is already supported in the scene and OPS, set OPS for the POW which monitoring the whole house first, then set the scene like if POW(whole house) off, then POW(one appliance) off.

OPS feature for POW series devices eWeLink app feature: Overload Protection System settings #smarthome #shorts - YouTube

Thanks to contribute, but i dont have this device. And the TH16 unfortunately dont have this OPS.

I have solar heating for a pool, where I have a sensor on the solar panel and another on the pool. I want to turn on the pool motor, only if the plate temperature is higher than the pool water and the pool temperature is not at the desired temperature.

Scene example:

Sensor 1 - Pool

Sensor 2 - Solar plate


[Sensor 2] > [Sensor 1]

AND [Sensor 1] < 32°


start the engine


This featute is on the working on list now, and planned available in next 2-3 versions.

1 Like

this is a very good news. I hope it work as soon as possible. It will help me a lot

1 Like

Just as ‘clevertonh’ states, it would switch very often even with a temperature difference of 0.1°C. It would be better to be able to set the hysteresis between the sensors by a certain number of degrees. Then the scene (or the Automatic mode in the APP) for turning on the pump if the temperature on the solar exceeds the set hysteresis value (without checking the water in the pool to see if it is warmer than 32°C) could look like this:
temperature TH1x(Solar) - 6°C > temperature TH1x(Pool)
pump = ON

and the second shutdown scene:
temperature TH1x(Solar) - 1°C < TH1x(Pool)
pump = OFF

This is how it would switch on when the temperature on the solar panel warms up by more than the set 6°C and the pump would turn off when the solar panel cools down to a temperature 1°C higher than the water in the pool, otherwise it would take a long time to turn off the pump at high temperatures .

P.S.: This is how I currently use it, with only one TH1x on the solar system, I use the Automatic mode directly in the APP for the device, which I set in the morning according to the current temperature in the pool (24°C), but in this manually set/automated switch-on mode by more than 9°C i.e. at 33°C and switching off by more than 4°C at 28°C. And anyway, at high outdoor temperatures, I usually have to adjust the values 1-2 times during the day, because with such a fixed temperature in the morning, the pump no longer switches off in the afternoon if the temperature in the pool warms up above this set switch-off temperature.

If it can be done this way (comparing the temperatures from two devices and also with the hysteresis), then I would use it immediately and in the next case in the winter to start the fan for air exchange, when the temperature in the garage is lower than the current outside temperature during the day and then again in the summer on the contrary to cool down the garage at night :slight_smile:

1 Like

I have 2 use cases.

All controlled by Th16

In winter this helps me control ice dams in the garage and in the summer makes the garage more comfortable.
If garage temp > outdoor temp turn on power vent.

I also have a pool and want to turn on the pool pum when water in solar panel > pool water temp.

I woulg also want to have this capability to turn on a whole house fan if the house temp > outdoor temp (within parameters).

Home automation becomes useful when it can make life more comfortable and save energy and money. Enough with controling lights and music.

I solved it by installing Home Assistant on a raspberry pi. Home Assistant allows you to carry out any type of automation.
With Home Assistant I was able to do an automation comparing when a sensor is bigger than the other or smaller and many other possibilities. The possibilities are endless