I searched everywhere for a service that sends me an alert when my HA is offline…
i found some solutions like Uptimerobot but they don’t work good…
So plz implement this feature, and if somebody knows a workaround plz tell me…
cheers
Since i have windows server on the same local network i use EasyNetMonitor, when it loose the ping to HA it notify me via email. Or if you have 2 HA they can monitor each other with remote_homeassistant
your solution implies that a windows machine is always active in the home network.
i’m trying to find a free remote online service that will notify me if HA will go offline…
As you already mentioned, that method is not reliable. That method only review that it can not ping your public IP, there can be many reasons why … your ISP issues, internet issues, etc… it doesnt mean that HA is down, it can still function fine locally.
You’re right but having a first check at least on the DNS like https://mysite.com is already a step forward…
Ahhh… you can have HA notify you when external IP change or not matching DNS use this inergration.
Well, it might be a viable solution when with dynamic IPs but what if the entire machine goes offline?
I have something local to monitor it, haven’t thought about external solutions. Beside that not safe considering you have to poke a hole in your network to allow traffic in.
You don’t necessarily have to create a hole in your network… just query the usual ports 443 for https or 80 for http
I tried the free services like https://uptimerobot.com and https://www.statuscake.com and they seem to work… when I turn off the HA machine I get a notification email that HA is offline
Yeah i got uptimerobot… the only info that gives me is my port 443 is down a lot of time that dont tell you much. I VPN in and all work fine it just duckdns just down for a while… but if you have something local ping HA local IP you know for sure HA is down
maybe you should review your settings on the router regarding port forwarding and HA configuration over SSL like I did:
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
server_port: 443
use_x_forwarded_for: true
trusted_proxies:
- 10.0.0.0/8
- !secret trustedprox_hassio
- !secret trustedprox_hassio2
- !secret trustedprox_hassio3
- !secret trustedprox_hassio4
- !secret trustedprox_lan
- !secret trustedprox_ipv6
control on the local network certainly provides better data but since I want to monitor the machine remotely I need an external control… for example if I’m at work!
there is also a setup between uptimerobot and telegram Telegram Phone Calls from UptimeRobot.com - CallMeBot API where you can receive telegram notifications from uptimerobot in case of offline
If the machine HA is running on has crashed/died how is HA supposed to notify you? It’s clearly not running at that point…
Take a look at Uptime Kuma it has a monitor type called push, which requires you to call an endpoint in a defined interval. You can then use an automation to trigger a script to call the endpoint.
You have to setup Uptime Kuma somewhere yourself though.