Hi everyone,
I wanted a simple way to trigger Home Assistant automations when something stops reporting.
Not when a sensor changes state.
Not when a webhook arrives.
But when an expected heartbeat disappears.
Some examples:
- An ESP32 stops sending data.
- A remote script stops running.
- A Raspberry Pi goes offline.
- A daily operational check is forgotten.
- A person fails to check in for a predefined period.
I couldn't find a solution that worked the same way for both devices and people, so I built a small service called Dead Man's Hand.
The concept is straightforward:
- Create a timer.
- Periodically renew it through the web UI or REST API.
- If the timer expires, execute actions.
One of those actions can be a Home Assistant webhook.
This allows workflows such as:
ESP32 → periodic heartbeat → timer renewed
ESP32 offline → timer expires → Home Assistant webhook triggered → automation runs
The same mechanism can also be used for:
- monitoring external services
- monitoring remote locations
- backup verification reminders
- maintenance reminders
- family safety check-ins
- digital inheritance workflows
Anything capable of making an HTTP request can renew a timer, including:
- ESPHome
- ESP32
- Raspberry Pi
- Shell scripts
- Cron jobs
- CI/CD pipelines
- External services
I would love feedback from the Home Assistant community.
How are you currently handling heartbeat monitoring and "if something stops reporting" automations?
Project: