I’m trying to configure the NUT add-on but I got this error:
NUT Sensor has no data, unable to set up
The log from the add-on page is the following:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] nut: applying...
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: 0.1.2
You are running the latest version of this add-on.
System: Ubuntu 18.04.4 LTS (amd64 / qemux86-64)
Home Assistant Core: 0.107.7
Home Assistant Supervisor: 214
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing...
[14:07:22] INFO: Setting mode to netserver...
[14:07:22] INFO: Connected USB devices:
Bus 002 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[14:07:23] INFO: Generating /etc/nut/upsd.users...
[14:07:24] INFO: Configuring user: igor
[14:07:25] DEBUG: Password SHA1: B1D4FBD6BBF5E2CF35287C0399415C8CE2837A02
[14:07:26] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/B1D4F
[14:07:26] DEBUG: API HTTP Response code: 200
[14:07:26] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[14:07:30] INFO: Configuring Device named apcups...
[14:07:31] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 3.8.0-3220-g866b921892
0.000000 Starting UPS: apcups
Network UPS Tools - Generic HID driver 0.41 (3.8.0-3220-g866b921892)
USB communication driver 0.33
Using subdriver: APC HID 0.96
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing...
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:07:34] INFO: Starting the UPS information server...
Network UPS Tools upsd 3.8.0-3220-g866b921892
0.000000 fopen /var/run/nut/upsd.pid: No such file or directory
0.001441 listening on 0.0.0.0 port 3493
0.002866 Connected to UPS [apcups]: usbhid-ups-apcups
[14:07:34] INFO: Starting the UPS monitor and shutdown controller...
Network UPS Tools upsmon 3.8.0-3220-g866b921892
0.000000 fopen /var/run/upsmon.pid: No such file or directory
0.001581 Using power down flag file /etc/killpower
0.002322 UPS: apcups@localhost (master) (power value 1)
0.002985 debug level is '1'
0.015092 Trying to connect to UPS [apcups@localhost]
0.101264 User [email protected] logged into UPS [apcups]
0.017475 Logged into UPS apcups@localhost
Where I’m wrong?