Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101645

Do something when sensor.lastchanged to long ago

$
0
0

@hajo62 wrote:

I have some sensors from xiaomi, which are not very reliable.
The Pi looses the connection to my Xiaomi bluetooth temperature sensors every now and than. Only a Pi reboot does a reconnect. Other temperature sensors need a manual activity to reconnect.

My idea is to do an automatic reboot, when one of the bluetooth sensors got no new value i.e. for more than 1 hour.

Second I would like to display something, when one of my sensor has paused to long. I.e. a traffic light. Green 0 to 30 minutes, yellow from 30 to 60 and red above…

Might someone have an idea how to realize that?
(I’ve never made an automation…)

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 101645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>