diff --git a/README.md b/README.md index 6cd520f..3b3ee4b 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,27 @@ Monitors hardware sensors from two servers running OpenHardwareMonitor: cp packages/openhardwaremonitor.yaml /config/packages/ ``` -2. **Ensure your `configuration.yaml` has packages enabled**: +2. **Copy the binary_sensors.yaml** (if you don't have one already): + ```bash + cp binary_sensors.yaml /config/ + ``` + +3. **Ensure your `configuration.yaml` has packages enabled**: ```yaml homeassistant: packages: !include_dir_named packages + + binary_sensor: !include binary_sensors.yaml ``` -3. **Restart Home Assistant** +4. **Configure the Server 243 Status sensor via UI**: + - Go to Settings → Devices & Services → Add Integration + - Search for "Ping (ICMP)" + - Add integration with these settings: + - IP: `10.0.0.243` + - Name: `Server 243 Status` + +5. **Restart Home Assistant** ### Sensors Created @@ -50,9 +64,8 @@ For each server (243 and 244), the following sensors are created: ### Binary Sensors (Status Monitoring) - **Server 243 Status** (`binary_sensor.server_243_status`) + - Configured via UI (Ping integration) - 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 @@ -86,8 +99,9 @@ To add additional sensors, you can follow the same template pattern and navigate - Check if the GPU sensor name matches the template pattern **Status sensor not working:** +- Ensure the Ping (ICMP) integration is added via UI - Ensure ICMP (ping) is allowed through any firewalls -- Check Home Assistant logs for ping binary_sensor errors +- Check Home Assistant logs for ping integration errors ### Example Dashboard Card