Skip to content

PowerBot: Telegram Power Status Bot with ESP32 Heartbeats and Read-Only Status API

Docker-deployed Telegram bot infers building power status from ESP32 heartbeats, stores in SQLite, notifies users, and exposes a read-only HTTP status API.

josephsr

Published February 10, 2026

Original author: Samuel MorganOriginal source (new tab)

PowerBot: Telegram Power Status Bot with ESP32 Heartbeats and Read-Only Status API

Project description

Overview PowerBot is a Telegram bot stack that tracks “is power up” per building/section using periodic heartbeat POSTs from ESP32 sensors. It stores state in SQLite, notifies subscribers in Telegram, and also exposes HTTP endpoints (health, sensor status, public read-only status) behind a reverse proxy. Main Content Image generated by gpt Inputs ESP32 sensors send POST /api/v1/heartbeat with {api_key, building_id, section_id, sensor_uuid, ...}. Telegram users interact with the bot via polling (commands, callbacks, menus). Optional external data sources appear wired in via configuration…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.