Monitoring Home Assistant with UptimeRobot ( heartbeat monitor)
I’m very pleased with UptimeRobot [affiliate link] and their heartbeat monitoring.
It’s an URL you need to call/visit every x minutes/hours/days, whatever you want, and if its not hit within x time, outside of the grace period, it will alert you.
The RESTful integration is our magic glue here
I’ve added a rest_command to my config.yml
code to copy for you:
rest_command: uptimerobot_heartbeat: url: "https://heartbeat.uptimerobot.com/xxx"
give home assistant a quick restart, or whatever you have to do reload the config 🙃
Here is the YAML of the automation
alias: UptimeRobot ping heartbeat every minute description: "" trigger: - platform: time_pattern hours: "*" minutes: "*" seconds: "0" condition: [] action: - service: rest_command.uptimerobot_heartbeat data: {} mode: single