From a77568d84a7a20f0c96dd1908d5e2ec7cfac313c Mon Sep 17 00:00:00 2001 From: jessikitty Date: Mon, 15 Dec 2025 12:10:32 +1100 Subject: [PATCH] Update README with binary sensor documentation and badge example --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 2200bce..6cd520f 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,14 @@ For each server (243 and 244), the following sensors are created: - Unit: °C - Update interval: 30 seconds +### Binary Sensors (Status Monitoring) + +- **Server 243 Status** (`binary_sensor.server_243_status`) + - Monitors online/offline state of Server 243 + - Uses ping to check availability + - Update interval: 60 seconds + - Perfect for adding a status badge to your dashboard + ### Requirements - OpenHardwareMonitor must be running on both servers with web server enabled @@ -77,12 +85,18 @@ To add additional sensors, you can follow the same template pattern and navigate - Verify OpenHardwareMonitor detects your GPU - Check if the GPU sensor name matches the template pattern +**Status sensor not working:** +- Ensure ICMP (ping) is allowed through any firewalls +- Check Home Assistant logs for ping binary_sensor errors + ### Example Dashboard Card ```yaml type: entities title: Server Hardware Monitoring entities: + - entity: binary_sensor.server_243_status + name: Server 243 Status - entity: sensor.server_243_cpu_temperature name: Server 243 CPU Temp - entity: sensor.server_243_cpu_load @@ -101,6 +115,14 @@ entities: name: Server 244 GPU Temp ``` +### Example Badge Card for Status + +```yaml +type: badge +entity: binary_sensor.server_243_status +name: Server 243 +``` + ## License This configuration is provided as-is for personal use.