Hi,
I installed a temperature sensor in my bathroom waste water vent. I would like to use this sensor to detect whether someone is taking a shower. You can see the process well in the picture below. When someone takes a shower, the value directly increases relatively quickly (1). After a shower, the value drops again quickly. And the next person takes a shower (2), the value increases relatively quickly again.
My idea, I would like to activate a binary sensor when showering is detected (i.e. a rapid increase regardless of the initial temperature) and deactivate the sensor again when the temperature drops quickly. For example, to switch on ambient lighting or to make the music louder while taking a shower. But I have no idea what the template should look like, maybe someone has already done something similar and can help me here?
Many Thanks.
Many greetings
Stephan