Virtual temperature sensor


#1

Good night! I have a smartthings water leak sensor (which I call the attic leak sensor and also has temperature measurement) and I would like to create a virtual temperature sensor and via webcore, take the temperature from the leak sensor and display the recorded temperature on the virtual sensor.

I found a topic to simulate here on the forum but it is to calculate average temperature … and I want to copy exactly the same reading.

Can someone help me?


#2

I’m a little confused. If you have a sensor that gives you temperature already, why not just look at that? Where are you trying to display this temperature? Do you have a piston you have started? If you have the one that averages, just replace the averaging math with the value you want to insert [leakSensor:Temperature].