DEV Community

Cover image for Tracking Power Outages with Raspberry Pi + ESP32 + Telegram
cray2015
cray2015

Posted on

Tracking Power Outages with Raspberry Pi + ESP32 + Telegram

In India, power outages are common. I wanted a simple way to detect and alert when the grid goes down.

ESP32 → powered by the grid.

Raspberry Pi → runs on backup.

Pi pings ESP32 → if unreachable, outage detected.

Pi sends real-time Telegram alert (“⚡ outage” / “✅ restored”).

This is basically applying DevOps monitoring + alerting to the real world.

Full tutorial: https://www.hackster.io/biswasvibhanshu2011/how-i-track-power-outages-in-india-e33120
Repo: https://github.com/cray2015/grid_outage_tracker

Any questions? drop a comment :)

Top comments (0)