I have question if anybody can help me to make binary sensor, which will detect some hardware failure, which is not connected to HA, but can be detected based on other devices.
So, we are checking binary sensor:
binary_sensor.seltron_r1 (marked with red color)
And temperature sensor:
sensor.centralna_t3 (marked with blue color)
The goal is to make automation, which will notify me in case that newly created template binary sensor is set to true.
Condition is that in case that binary sensor “binary_sensor.seltron_r1” is true for 4 minutes, that then we expect that temperature sensor “sensor.centralna_t3” will get temperature rise from current temperature to at least 20 degrees + after 20 minutes.
In case that temperature sensor do not go up in 20 minutes, then template binary sensor must be set to true, and other automation will notify me via telegram for that event.
Can anybody help me how to store current temperature to the some temporary sensor and compare it after 20 minutes.
When binary_sensor.seltron_r1 is on for 4 minutes, wait 20 minutes, then check if sensor.centralna_t3 is greater than 20. If it is not then send a notification.
Or is this what you want?
When binary_sensor.seltron_r1 is on for 4 minutes, record the temperature of sensor.centralna_t3, wait 20 minutes, then check if sensor.centralna_t3 is greater than the recorded temperature plus 20. If it is not then send a notification.
Hi, my automation do not work correctly, so probably I will do indeed need your help…
I need:
When binary_sensor.seltron_r1 is on for 4 minutes, wait 20 minutes, then check if sensor.centralna_t3 or sensor.centralna_t4 is greater than 40. If both are bellow 40 then send a notification