hassio-addons / addon-nut

Network UPS Tools - Home Assistant Community Add-ons
https://addons.community
MIT License
188 stars 36 forks source link

underreportng the output voltage of my UPS #307

Closed jonandel closed 1 year ago

jonandel commented 1 year ago

Something is underreportng the output voltage of my UPS - Im sure it used to be correct, when I set it up about 18 months ago... See below - input voltage is 230V, output 10.

Im using NUT Tools in Homeassistant Hassos.

Homeassistanst community addon Nut Tools.

NUT Tools config:

  • config: [] driver: usbhid-ups name: myups port: auto

Home assistant Yaml showing NUT sensor for correct Powerwalker device.

sensor:

UPS PowerWalker Device

  • platform: nut name: "PowerWalker VI USB 6500" host: a0d7b954-nut username: !secret nutups_user password: !secret nutups_password resources:
    • battery.charge
    • battery.runtime
    • ups.load
    • ups.status

Homeassistant Integration showing data from the Nut Tools device - note seems to get the vendor and device type OK...

"integration_manifest": { "domain": "nut", "name": "Network UPS Tools (NUT)", "codeowners": [ "@bdraco", "@ollo69", "@pestevez" ], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/nut", "integration_type": "device", "iot_class": "local_polling", "loggers": [ "pynut2" ], "requirements": [ "pynut2==2.1.2" ], "zeroconf": [ "_nut._tcp.local." ], "is_built_in": true }, "data": { "entry": { "entry_id": "96848fcb81c918f44c4b066b12ebe4e1", "version": 1, "domain": "nut", "title": "a0d7b954-nut:3493", "data": { "host": "a0d7b954-nut", "port": 3493, "password": "REDACTED", "username": "REDACTED" }, "options": { "scan_interval": 60 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": null, "disabled_by": null }, "nut_data": { "ups_list": { "myups": "Description unavailable" }, "status": { "battery.charge": "100", "battery.charge.low": "10", "battery.charge.warning": "20", "battery.mfr.date": "1 ", "battery.runtime": "2520", "battery.runtime.low": "300", "battery.type": "PbAcid", "battery.voltage": "13.7", "battery.voltage.nominal": "12", "device.mfr": "1 ", "device.model": " 650", "device.serial": " ", "device.type": "ups", "driver.name": "usbhid-ups", "driver.parameter.pollfreq": "30", "driver.parameter.pollinterval": "2", "driver.parameter.port": "auto", "driver.parameter.synchronous": "auto", "driver.version": "2.8.0", "driver.version.data": "CyberPower HID 0.6", "driver.version.internal": "0.47", "driver.version.usb": "libusb-1.0.26 (API: 0x1000109)", "input.frequency": "50.2", "input.transfer.high": "290", "input.transfer.low": "165", "input.voltage": "241.3", "input.voltage.nominal": "230", "output.frequency": "50.2", "output.voltage": "10.9", "ups.beeper.status": "enabled", "ups.delay.shutdown": "20", "ups.delay.start": "30", "ups.load": "12", "ups.mfr": "1 ", "ups.model": " 650", "ups.productid": "0601", "ups.realpower.nominal": "360", "ups.serial": " ", "ups.status": "OL", "ups.timer.shutdown": "-60", "ups.timer.start": "-60", "ups.vendorid": "0764" } },......

I posted details in the HA Core - suggestion there that it may be a NUT tools/driver issue...hence posting here for ideas... https://github.com/home-assistant/core/issues/95157

ingcicala commented 1 year ago

Same bug

banan77 commented 1 year ago

Same here on EVER DUO 550. Input voltage: 225,7 Output voltage: 20.9 (Shelly Pro4PM: 229.9) Previously (when I was setting up NUT) input and output voltages were reporting identical values

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!