So it checks my home automation system every 5 minutes and will immediately send me email notification upon detecting it is down. My UptimeRobot configuration is as follows: I have enabled basic HTTP authentication on Node-RED as a simple security measure against accidental lands on my control page. I use duckdns for dynamic DNS, so with a bit of port-forwarding on my router the above mentioned page is exposed to the web. It spits out a message “Raspberry Pi is Up!” then you access pi’ ip address:port/watchdog. Dr Transport PhD in Condensed Matter Physics and Masters in Optics from the University of Alabama in Huntsville, 20 respectively. The Node-RED flow to serve the HTTP request issued by UptimeRobot is extremely simple: A thousand thank yous to Greg Bernhardt (see his tutorial on a website uptime monitor using Python and Raspberry Pi) for taking this to completion and formatting it. I chose to go for the second option, as by having that request served by Node-RED flow I’ll be able to both verify that Node-RED is up and my system is connected to the Internet to send me notifications should that be necessary. It can watch over your system by pinging it or issuing a HTTP GET request every now and then. The service is provided by UptimeRobot and is free. Such event could mean two things: either Internet connectivity issue, or system is down due to power failure, crash etc. I’ve set up a uptime monitor for my home automation system so that I’m notified when it is down.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |