There is actually no solution to get an alarm when a TTN gateway is shutting down. That said, all the information are accessible thanks to the different API.
To monitor my deployed gateways, I’ve made a little script in python working with IFTTT. It connects to the The Things Network api, get the gateway status and call the IFTTT webhook in case of last gateway update too old.
On IFTTT i’ve created an applet to generate a Push notification on phone to get the alarm.
The script is accessible in the post detail.
Continue reading