Checking if a device is On-Line
Hi everyone,
In modern homes there are many electronic devices such as IP cameras, routers and access points Wi-Fi among the others.
Having all these devices is certainly useful but they could suddenly become useless without a centralized monitoring to check if they are On-Line.
Home Assistant can also help us in such activity, let's see how.
Hardware configuration
Software configuration
Home Assistant code (yaml) / procedure
In order to check if all my devices are On-Line, I use the Ping Binary Sensor.
Recommended by LinkedIn
This is the code you have to add in your configuration.yaml file:
binary_sensor:
- platform: ping
name: DeviceA
host: DeviceIP address
count: 5
scan_interval: 60
Some specifics about the code / steps above
Of course, as we have seen in previous articles, this new entity can be used in automations.
Thank you so much for reading. 🙏 I hope you have enjoyed this article.
I'm available for any feedback so, feel free to contact me or share your thoughts in the comments section below.
Your feedbacks will be very appreciated!
Meanwhile, if you liked this article share it or subscribe to my newsletter about Home Assistant to read all previous episodes and still up to date on latest news.