Open domalab opened 1 month ago
Updated code to create 3 sensors to track UPS power and load
AWESOME! Thank you for the great work. I'll check it out.
My HA integration is still at version 0.1.5, how do I upgrade to your new code to take advantage of new features?
@Guruleenyc I will release the new version this weekend.
@Guruleenyc I release a new version which creates power consumption sensors. Let me know if it works for you
How do I upgrade?
How do I upgrade?
in HACS, click the three dots and then 'update information'
Have you tried Update Information or Redownload to pull new version?
You can also try to clear web and HA mobile app cache as it sometimes holds onto old home assistant data.
You can also delete pycache folder from \config\custom_components\unraid to see if it resolves the issue.
I'm not getting any energy consumption data, just line voltage...
@Guruleenyc Is this still an issue for you?
@Guruleenyc Is this still an issue for you?
Yes still an issue.
@Guruleenyc I found the issue. The UPS Sensor is looking for the NOMPOWER attribute which your UPS model doesn't appear to have.
I might have a fix / workaround but you will need to test it please by downloading and copying the unraid folder from the repo to your HA instance custom_components folder.
Is your feature request related to a problem? Please describe. Currently, the Unraid integration can detect and show basic UPS status information, but does not provide power consumption metrics that could be used in the Energy Dashboard. This misses the opportunity to track and visualize UPS power usage alongside other devices in Home Assistant.
Describe the solution you'd like Add power consumption monitoring for APC Smart-UPS devices connected to Unraid servers. Specifically:
Additional context The Unraid integration already detects UPS presence and pulls basic metrics using apcaccess. This feature would extend the existing UPS monitoring to include power-specific sensors with proper device classes (SensorDeviceClass.POWER and SensorDeviceClass.ENERGY) for Energy Dashboard integration.