NUT on Hass.io problems

Hey guys,

I’ve installed the NUT add-on (https://github.com/asciinaut/hassio-addons) on my Hass.io instance on Raspberry Pi and when trying to run the add-on, I get the following error:

Network UPS Tools - UPS driver controller 3.7.0-4224-g76513cf7a8
Network UPS Tools - Generic HID driver 0.41 (3.7.0-4224-g76513cf7a8)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)

When I run dmesg | grep usb

[397843.837975] usb 1-1.2: new low-speed USB device number 89 using dwc_otg
[397843.999605] usb 1-1.2: New USB device found, idVendor=0764, idProduct=0501
[397844.002442] usb 1-1.2: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[397844.008028] usb 1-1.2: Product: Value 1500E
[397844.011026] usb 1-1.2: Manufacturer: CPS
[397844.103960] hid-generic 0003:0764:0501.A8F3: hiddev96,hidraw0: USB HID v1.10 Device [CPS Value 1500E] on usb-3f980000.usb-1.2/input0

But it looks like the device keeps connecting and disconnecting frequently.

Running lsusb

Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:2514
Bus 001 Device 002: ID 0424:2514
Bus 001 Device 037: ID 067b:2303
Bus 001 Device 005: ID 0424:7800
Bus 001 Device 097: ID 0764:0501

Any help anyone can give me?

1 Like

I used this fork, which works.
https://github.com/colindunn/hassio-addons

Running on my RPi 3b, added repository that you link to, but all I see is Influxdb?

Actually looking at the log I get this error, any idea what it means?

19-04-17 17:53:03 WARNING (MainThread) [hassio.addons.data] Can’t read /data/addons/git/8dfed277/nut/config.json: required key not provided @ data[‘arch’]. Got None

The repo owner needs to update the config.json in their addon.
You can fork it and make the change.

While I thank you for your answer, I am still not sure exactly what I should do. :slight_smile:

So I believe I finally understood, arch is adding to the installation file config.json what HW that is supported?

I believe I solved it by adding:
“arch”: [
“amd64”,
“armhf”
],

What I do not know is how i add it to my repository, i get an error when i try to add my edited (patch) with url:

And for the record it’s the nut/config.json that i edited.

Anyone have any input on how to move forward to actually test if it works?

1 Like

Your version works, just added this repository: https://github.com/roosterx/hassio-addons

Yes I eventually discovered that link later on, but still didn’t work with my setup, so I jumped to using HASSbian instead, works perfectly well now.

I might get back to hassio at a later time, bc it’s got a few nice features the HASSbian image does not have.

[edit 20190518]

Just tried hass.io again, and it actually did work, user fault I’d say it was… I believe the problem could have been me being novice and not realising that setting should start with sensor: and not just sensor.
Anyway works perfect now.

I just added this repo to HassIO but it has only listed the InfluxDB add-on and not the NUT. Any idea why?

Add the EDGE repository:

https://addons.community/edge

For any of you that have the NUT add-on working - are you also running a Z-Wave USB dongle? Last time I tried setting up this NUT add-on I could not get my RPi3 B+ to recognize the USB connection from my UPS. I’m also running an Aeotec Z-Wave Plus dongle.

Hi is it possible to manage a APC ups connected to another computer via network with nut on HA rpi4
What is the change in the config ?