I have a flow that regulates by heating with a heatpump. For this I need the outside temperature.
At this moment i use the temperature from Homey’s Weather (add them up and divide by two) and from the KNMI App, but they sumtmes differ from the actual outside temperature.
My plan is to put 2 Sonoff temp sensors somewher outdoor and take the average of these.
But with a failing/stuck Aqara sensor still fresh in mind : How can I test if the sensors are giving valid values ?
Test if they are still reachable
Test if (I think) the value has changed in the last 12 hours ? Even in summer night and day should differ.
Any other way ?
If the test(s) fail I’ll have the flow revert the heating to thermostat (I have the flow for that already in place).
btw if the sensors go below -9 I’ll also revert to thermostat since the sensors can’t measure below -10..
I use Device capabilities to check if the sensor has reported the last x hours.
Use the card “Retrive insight value from” and set the time to 0. This will give you the last time the sensor reported.
You could also restart a timer everytime the sensor reports. When the timer finishes the sensor has not reported.
This was an answer to your question “ How can I test if the sensors are giving valid values ?”.
As it is difficult/impossible to make one sensor 100% reliable, as a sensor cannot send a message that it cannot reach Homey , etc.
Using this principle, for measuring the temperature at two location, you need 6 devices !
Hello, I have made an advances flow to do as you said. Every time the temperature changé it restart a 24h timer. And every day at 20h00 the flow is checking every timers are still running. If no an alert is raised for the concerned sensor.
Yes 24h can be a bit long… You can choose 12h for example. It is true that the timer cannot be too short because temp can be stable in a room. However, my Aqara sensors measure temp, humidity and pressure. It seems that humidity changes more often than temp. So putting a timer on humidity change is perhaps more usefull to track an issue with the sensor.