Here’s a scenario. I have motion controlled lights in the bathroom that come on when you enter and stay on so long as there’s motion, dim after a minute of no motion and turn off 3 minutes later.
The problem is that the Hue motion sensor can’t see the shower stall so if you’re showering. Well it gets dark.
The Hue motion sensor also has a thermometer in it and I can get the temp in the bathroom. As you can see below, you can clearly tell when someone showers as the temp rises above nominal very quickly since the sensor is near the ceiling.
I believe variance as calculated by the statistics sensor should be able to identify those spikes. You could also look at the trend sensor to identify when the temperature is rising vs. falling if that’s important to you.
Thanks for pointing me in the right direction. My original post was somewhat muddled due to formatting. Here’s what I did to help others out with comparing the values of two sensors.
The first thing I did was to setup the statistics sensor:
Now I get a True/False, that I can use as either a trigger for turning the lights on full brightness and as a condition preventing the off-with-no-motion automations.
YMMV but I’ve found that the temp will break threshold in about 2 minutes (before my auto-off due to no motion) and takes about 10 minutes to shut off after a hot and steamy shower.