aquette / addon-smartnut Goto Github PK
View Code? Open in Web Editor NEWSmartNUT - Network UPS Tools - Home Assistant Community Add-on
License: Apache License 2.0
SmartNUT - Network UPS Tools - Home Assistant Community Add-on
License: Apache License 2.0
Hello,
thanks for your work!
I'm trying to setup my EATON UPS connected to my ESXi which is linked to my HAOS VM.
Systems does recognised but something wrong append with libusb1
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Driver failed to start (exit status=1)
UPS should be recognised
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: SmartNUT
Smartly manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: dev
You are running the latest version of this add-on.
System: Home Assistant OS 11.2 (amd64 / qemux86-64)
Home Assistant Core: 2024.1.0
Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[12:21:38] INFO: Configuring timezone (Europe/Paris)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/smartnut.sh
[12:21:38] INFO: Autodetecting and configuring USB devices
Scanning USB bus.
[12:21:42] INFO: => OK
[12:21:42] INFO: Configuring MQTT...
[12:21:43] INFO: From Home Assistant service
[12:21:43] INFO: => OK
[12:21:43] INFO: ---------------------
[12:21:43] INFO: Checking configuration:
[12:21:43] INFO: /etc/nut/ups.conf
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "0463"
productid = "FFFF"
bus = "002"
[12:21:43] INFO: /etc/nut/libnutdrv_mqtt.conf
MQTT_HOST=core-mosquitto
MQTT_USER=addons
MQTT_PASSWORD=xe5ohshu4theeg7deiluw0weweshait9theishae5Ohmil9mei3AiYe3baitee9w
[12:21:43] INFO: => OK
[12:21:43] INFO: ---------------------
[12:21:43] INFO: Starting the SmartNUT Driver(s)...
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Driver failed to start (exit status=1)
cont-init: info: /etc/cont-init.d/smartnut.sh exited 1
Network UPS Tools - UPS driver controller 2.8.0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
I installed the addon on HA on Proxmox.
CPU load by addon is extremely high (20-30%).
The addon works, the UPS is recognized, messages arrive in MQTT.
Core 2023.12.4
Supervisor 2023.12.0
Operating System 11.2
It sounds like you've configured everything as needed, there are no errors in the logs, the UPS has been detected, the add-on has connected to Mosquitto, but you're unable to find the entities it detected. You've tried both automatic and manual configuration tests, but nothing seems to be adding.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.