I have a variant that heavily builds on @lmamakos’s template (thank you very much!) but makes some changes:
- newer-style yaml
-
device_class
andicon
set - Uses JSON numerics only (this avoids extra string parsing in HA)
- Removed automations
- Change Battery Voltage Raw to just Battery Voltage (it was stable enough for me)
Rather than have a Raspberry Pi outside (and worry about EMF, temperature, etc), I setup an ESP32 (via esphome) to act as an RS232-Wifi bridge, and run genmon on a VM on a server inside.
If you’re interested this setup is fully documented at https://github.com/gregmac/Genmon-ESP32-Serial-Bridge