d80y6/genmon ? reverse-engineered prompt

Reverse engineered prompt

Build me a Raspberry Pi based generator monitoring app for a Generac style backup generator.

I want it to connect over WiFi or wired network and show the generator’s current status in a simple web dashboard, like whether it’s running, exercising, in auto, on utility power, on generator power, battery voltage, alarms, warnings, runtime, service info, and recent logs. It should also let me remotely start, stop, and exercise the generator, and switch the house to generator power when supported.

Please include user login with a limited access mode and an admin mode, plus a clean interface that works well on a small screen. I also want notifications for important events like power outages, engine state changes, and faults, through email and a few common alert options if possible. If you need to look up current docs online for anything specific, go ahead.

Make it run as a Linux service, support configuration files, and keep the code organized so it’s easy to maintain and add support for more controller types later.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab