Custom Home Assistant integration for Eaton ePDU devices and sensors through SNMP.
The easiest way to install this component is by clicking the badge below, which adds this repo as a custom repo in your HASS instance.
You can also add the integration manually by copying custom_components/eaton_epdu
into <HASS config directory>/custom_components
While the Eaton ePDU is capable of measuring power accurately, they made a huge messup and report power as an integer. This means the reporting will always be inaccurate by one watt which is especially annoying at lower power levels. Fortunately the ePDU also reports power, current and power factor and each of them in thousands (I wonder why they did not just do the same for power).
When using the option "Use accurate power entity (VxIxCosPhi)", the integration will use voltage, current and power factor to provide a more accurate power estimate.
Even here, Eaton surprises and they just leave out the voltage information for the outlets, even though it's defined in the MIBs (https://mibs.observium.org/mib/EATON-EPDU-MIB/). This means the accurate power option works well for input power but not for outlets. However, since voltage is passed straight through from the input, we can use the input voltage as a proxy. Unfortunately there could be many inputs and each outlet maps to an input. It may be possible to use the group voltage via parent lookup, however, this required two additional SNMP queries. For now, this extension assumes that all outlets use the first input voltage. If you have multiple input voltages, either accept a small discrepancy, disable this option or update this extension.
Use accurate power entity (VxIxCosPhi)