![]() The next step is to display the status in a Lovelace card. Save the configuration and then reboot Home Assistant. ![]() You should be able to grab the IP address from the device itself or by logging into your router. You will just need to know the IP address of each device, as hostname will not work. You can add ANY devices with an IP here – phones, printers, smart TV’s, raspberry pi’s, cameras, etc. If you are adding multiple devices, then it would look like this: binary_sensor: If you don’t have any binary sensors added to configuration.yaml yet, then the code to add would look like this: binary_sensor: This will create a new binary sensor for you to start tracking. The default number of packets sent is 5, and the default scan interval is 5 minutes, but I am changing those variables below. If you do, add the code below replacing it with your router’s IP address. For this example, I am going to be monitoring my router which has an IP address of 192.168.68.1.įirst, check if you already have a binary_sensor: field in configuration.yaml. To do this, open File Editor and open your configuration.yaml file. Step 1: Add PING to Home Assistantīefore you can start monitoring devices and entities, you need to add the PING to Home Assistant. In this guide, I’m going to show you how to monitor Home Assistant entities or network devices, and then display the status in a beautiful Lovelace card.
0 Comments
Leave a Reply. |