Power, battery and lift alerts in the building chat
An inverter and a battery keep the lift, stairwell lights and water pumps running. Every 5 minutes, Svitlobot checks the inverter data and posts to the building chat on its own: power gone or back, how much charge is left, how many hours it will last, and when it's better not to use the lift.
In-house buildMy own building: the residents' chat, 116 members
- Every 5 minutes, 24/7
- Battery forecast in hours
- No AI, runs reliably
01Before
The building has an inverter and a battery: when the power goes out, they run the lift, stairwell lights and water pumps. But residents had no idea how much charge was left. They asked in the chat, while the inverter data sat in a separate app they had no access to. The battery ran out without warning, and people risked getting stuck in the lift. A neighbour asked in the building chat for a bot that shows the charge.
02What changed
- The whole building knows the power status
in the building chat and in private messages, with no apps and no “how much charge is left?” questions.
- Lift warnings in advance
at 40, 30, 25 and 20% charge, plus a separate one if the charge drops sharply.
- A forecast in hours
how long the battery has left before it hits the critical level, based on the building's real consumption over the last half hour.
- A summary of every outage
how long it lasted, how fast the battery drained, and a 24-hour charge chart.
03How it works
Every 5 minutes the bot reads the inverter data from the vendor's cloud
Power gone or back: the bot posts to the building chat on its own
While the power is out, it warns about the charge and the lift and updates the forecast
Anyone can send /status for a status card; details go to private messages
01The building chat: the bot posts when the power goes out (with a forecast) and when it's back; on the right, a /status card and a 40% warning
The neighbours were really pleased: they liked the bot and how easy it is to use.
Where else it worksThe same approach, built for your task
Here it's my own building. Any equipment with data in a cloud or an API can be connected to Telegram the same way.
- 01Apartment blocks and residents' associations
residents know in advance when it's better not to use the lift; the management company gets fewer calls.
- 02Shops, cafés, offices
backup power, fridges, servers: the bot posts when something is wrong.
- 03Warehouses and factories
temperature, humidity and level sensors, with alerts to the people in charge in Telegram.
- 04Solar installations
generation, charge and consumption, with a daily summary and a fault alert.
Tell me what equipment you have, and I'll connect it to Telegram and set up the alerts.
Under the hoodTechnical details for specialists+
- A cache instead of a request queue
however many people send /status, the inverter cloud gets one request every 5 minutes.
- A threshold from real data
minute-by-minute inverter history showed where the battery actually cuts out, so I raised the critical level to 25%: the charge reading is unreliable at the low end.
- Two modes
only the essentials go to the group chat, silently at night (except critical alerts); all the details go to private messages for subscribers.
- Read-only
the bot doesn't control the inverter; it only reads data through the official API.
Stack
Real screenshots: neighbours' names are hidden. The bot speaks Ukrainian.


