Smart Home

Zigbee Sensor Dashboard

Home Automation Experts
4 min read

I’ve got over 200 devices connected to my Home Assistant setup, and I’ve learned that keeping an eye on their battery levels is crucial to avoid any unexpected downtime. One of the most useful features I’ve set up is a dashboard showing live Zigbee motion sensor battery levels and last seen timestamps. This has saved me from countless trips to check on devices, especially during winter when it’s freezing outside. My favorite motion sensor, the Xiaomi Aqara, has a battery life of around 2 years, but I still want to keep an eye on its level.

Setting Up Your Home Assistant Dashboard for Zigbee Motion Sensors

To get started with creating your dashboard, you’ll need to have Home Assistant installed and configured with your Zigbee devices. I’m using a ConBee II USB dongle, which has been rock-solid for me, and it supports over 100 devices without any issues. Once you’ve got your devices connected, head over to the Home Assistant UI and navigate to the “Configuration” panel. From there, click on “Dashboards” and then “Create Dashboard”. I named mine “Zigbee Sensors” and added a description so I can easily find it later. My dashboard currently shows 15 different motion sensors, each with its own card displaying the battery level and last seen timestamp.

Creating Cards for Live Zigbee Motion Sensor Battery Levels

To display the live battery levels of your Zigbee motion sensors, you’ll need to create a new card on your dashboard. I used the “Entity” card type, which allows me to display any entity’s state, including battery levels. For my Xiaomi Aqara sensor, I added an entity card with the following configuration: entity: sensor.aqara_battery_level. This shows the current battery level as a percentage, and it updates in real-time whenever the sensor reports its level. I’ve also set up a threshold of 20% to trigger a notification when the battery level gets low, which has been super helpful in ensuring my sensors stay online.

Displaying Last Seen Timestamps for Zigbee Motion Sensors

In addition to battery levels, it’s also useful to display the last seen timestamps for your Zigbee motion sensors. This can help you identify if a sensor has gone offline or is experiencing connectivity issues. To do this, I added another entity card to my dashboard with the following configuration: entity: sensor.aqara_last_seen. This shows the timestamp of when the sensor was last seen by Home Assistant, and it updates in real-time whenever the sensor sends an update. I’ve noticed that my sensors typically report their state every 5-10 minutes, so this gives me a good idea of whether they’re online or not.

Customizing Your Home Assistant Dashboard for Zigbee Sensors

Once you’ve got your cards set up, you can customize your dashboard to fit your needs. I’ve organized mine into different sections, with each section focusing on a specific type of sensor. For example, I’ve got a section dedicated to my outdoor motion sensors, which includes cards for battery level, last seen timestamp, and even a graph showing the sensor’s activity over time. This has been really helpful in identifying patterns and optimizing my automation rules. I’ve also added some conditional logic to hide certain cards when the sensor is offline, which keeps my dashboard clean and clutter-free.

Troubleshooting Common Issues with Zigbee Motion Sensor Dashboards

As with any complex system, you may encounter issues when setting up your Home Assistant dashboard for Zigbee motion sensors. One common issue I’ve encountered is devices not reporting their battery levels correctly. To troubleshoot this, I’ve found it helpful to check the device’s configuration and ensure that it’s set up to report its battery level at regular intervals. For my Xiaomi Aqara sensor, I’ve set the reporting interval to 1 hour, which seems to work well. Another issue I’ve encountered is devices going offline due to connectivity issues. To resolve this, I’ve found it helpful to check the device’s location and ensure that it’s within range of my Zigbee hub.

Putting It All Together: A Live Home Assistant Dashboard Showing Zigbee Motion Sensor Battery Levels and Last Seen Timestamps

With all the cards and customization in place, my dashboard now provides a comprehensive overview of my Zigbee motion sensors’ status. I can quickly glance at the battery levels and last seen timestamps to ensure everything is working as expected. This has saved me a lot of time and hassle, especially when it comes to maintaining my outdoor sensors. If you’re looking to set up a similar dashboard, I recommend starting with a small subset of devices and gradually adding more as you become more comfortable with the configuration process. With over 200 devices connected to my Home Assistant setup, I can confidently say that this dashboard has been a crucial tool in keeping everything running smoothly – and I’m sure it will be for you too.

Tags: #home-assistant #zigbee #motion-sensors
Share: X / Twitter Facebook

Related Articles