Hi, I have an RPi running Home Assistant (OS) in Greece where power outages are frequent and long.
Standard (APC) UPS is very inefficient: 230VAC > 12VDC > 230VAC > RPi Power Adapter > 5VDC …
Therefore, I bought a LiPo battery powered UPS HAT that connects to GPIO pins to notify RPi of outage. Now as I understand it GPIO support has been dropped from Home Assistant? Ouch!
I hope to avoid stepping to down from HA OS to a HA Supervised install, but I can’t figure out if and how I can trigger a graceful host shutdown from a (to be found/developed) integration that can access the GPIO pins and run a python3 script? Anyone care to explain/help me find a solution?
TIA,
Johan (from Belgium)
BTW: My UPS HAT is the UPSPack V3P as found on Amazon and documented on UPSPACK_V3/README_en.md at master · rcdrones/UPSPACK_V3 · GitHub