mykhailog / hacs_waveshare_ups_hat

Waveshare UPS Hat integration for Home Assistant.
MIT License
19 stars 9 forks source link

Compatibitily with 52pi EP-0136 #9

Open wojciechczyz opened 1 year ago

wojciechczyz commented 1 year ago

Can this project be adapted/reconfigured to use UPS HAT 52pi EP-0136 https://wiki.52pi.com/index.php/EP-0136

mykhailog commented 1 year ago

I'm not sure because I don't have this device.

There is a good example of how to extract all information from UPS: https://github.com/geeekpi/upsplus/blob/main/upsplus_iot.py

If change update method of the sensor class to use this data it should work.