hassio-addons / addon-nut

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

No NUT web interface when TCP port is exposed #366

Closed barrelful closed 4 months ago

barrelful commented 4 months ago

Problem/Motivation

I am configuring the addon with Network port 3493, causing the port to be forwarded.

When I try to access on the browser HAOS-IP:3493, I see:

ERR INVALID-ARGUMENT
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND

Expected behavior

See a website with UPS info.

Actual behavior

Errors from the description.

Steps to reproduce

  1. I install the addon, configure a device with:

    devices:
     - name: "EatonEllipseECO"
       driver: usbhid-ups
       port: auto
       config:
         - vendorid = 0463
         - product = "Ellipse ECO"
         - productid = FFFF
  2. Add user, password and network port.

  3. Start the addon.

Proposed changes

Not sure what the problem is exactly. When I add the integration it seems to be getting some basic info (not sure how reliably it is working though).

sinclairpaul commented 4 months ago

See a website with UPS info.

This isn't functionality provided by the software, you can see more information about NUT at https://networkupstools.org/