A custom Home Assistant integration that monitors your Better Stack Uptime monitors. Each monitor gets a device with two entities — a binary sensor indicating whether the monitor is up, and a sensor showing the raw status string.
Warning
This is an unofficial community integration. It is not created by, affiliated with, endorsed by, or supported by Better Stack.
- Binary sensor (
connectivity) —onwhen the monitor status isuporvalidating,offotherwise. - Status sensor (
enum) — exposes the raw status string (e.g.up,down,pending,paused,maintenance,validating). - Extra attributes on both entities:
monitor_type,url,pronounceable_name,last_checked_at. - Automatic discovery of new monitors on each poll cycle.
- Automatic cleanup of entities for monitors removed from Better Stack.
- Configurable poll interval (15 – 3600 seconds, default 60).
- Full pagination support for accounts with many monitors.
- Home Assistant 2026.2.0 or newer.
- A Better Stack API token — generate one at https://betterstack.com/settings/global-api-tokens then click
Team-based tokens
-
Open HACS in Home Assistant.
-
Go to Integrations and click the three-dot menu.
-
Select Custom repositories and add this repository URL with category Integration.
-
Search for Better Stack Uptime and install it.
-
Restart Home Assistant.
- Copy the
custom_components/betterstack_uptimefolder into your Home Assistantconfig/custom_components/directory. - Restart Home Assistant.
- Go to Settings > Devices & Services > Add Integration.
- Search for Better Stack Uptime.
- Enter your API token and (optionally) a custom poll interval in seconds.
For each monitor returned by the Better Stack API, a device is created with:
| Entity | Type | Description |
|---|---|---|
| Up | Binary sensor | on if the monitor status is up or validating |
| Status | Enum sensor | Raw status string from Better Stack |