Git Product home page Git Product logo

addon-smartnut's People

Contributors

aquette avatar arnaudquette-eaton avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lenoxys

addon-smartnut's Issues

Too much CPU usage

Problem/Motivation

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.

No entities detected by the add-on

Problem

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.

Zrzut ekranu 2023-12-29 150608

Issue on EATON UPS 3S 850

Problem/Motivation

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)

Expected behavior

UPS should be recognised

Actual behavior

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

Steps to reproduce

  1. Deploy HAOS on VMWare ESXi.
  2. Map USB to the VM
image 3. Install SMARTUPS and MQTT 4. Run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.