Looking for an HA-friendly gasoline power generator

The rain season is coming so I need to be prepared for the storms/hurricanes and the subsequent power outages. I have a small UPS that powers the critical network devices but it can only last 30 minutes. I’m thinking of building an auto switch device using some relays controlled by ESP32. When the power outage is detected, I want to switch the power supply from grid to my power generator.

May I get some recommendations on gas/propane power generators that works well with Home Assistant? Thanks!

If you are going to have an ESP32 out there why not just use a non-smart generator and wire in a relay to the ESP32 to stop/stop the generator, and an input for fuel level etc.

That’s also a (backup) solution. But a generator that natively works with HA is much nicer. Thanks though