A Windows 7 Sidebar Gadget for displaying Home Assistant sensor data (e.g., radon and temperature sensors).
- Displays real-time values from your Home Assistant sensors
- Supports radon and temperature sensors (customizable)
- Color-coded radon indicator dot
- Handles unavailable sensor states gracefully
- Easy configuration via gadget settings (wrench icon)
- Windows 7 (Sidebar gadgets enabled), see https://gadgetpack.net/
- Home Assistant instance with API access and a long-lived access token
- Copy or clone this repository to your PC.
- Run
dev-deploy-gadget.ps1in PowerShell to deploy the gadget to your Sidebar gadgets folder and restart the Sidebar. - Add the gadget to your Windows Sidebar if it does not appear automatically.
- Click the wrench (settings) icon on the gadget.
- Enter your Home Assistant URL (e.g.,
https://your-ha-url:8123). - Enter your Home Assistant long-lived access token.
- Save settings and close the settings window.
- To change which sensors are displayed, edit the
radonSensorEntityIdandtemperatureSensorEntityIdvariables inmain.html.
- Use the
dev-deploy-gadget.ps1script to quickly redeploy changes during development. - Url for background generation https://www.generateit.net/rounded-corner/rounded.php?sh=r&r=6&bw=1&bc=BBBBBB&bgc=080808&fgc=080808&w=195&h=135&f=png&aa=1&bgo=0&bo=100&fgo=0&tc=FFFFFF
See LICENSE.
© 2025 Viktar Karpach

