Comments (9)
👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.
from addon-nut.
Please post you config, and post the addon log when the list_usb_devices option is set https://github.com/hassio-addons/addon-nut#option-list_usb_devices
Network UPS Tools - Home Assistant Community Add-ons - hassio-addons/addon-nut
from addon-nut.
Config:
users:
- username:
password:
instcmds:
- all
actions: []
devices:
- name: apcsmart-ups
driver: apcsmart
port: /dev/ttyUSB0
config: []
mode: netserver
shutdown_hassio: 'false'
Log:
[20:08:25] INFO: Connected USB devices:
Bus 001 Device 005: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
where Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
is the serial where the UPS is connected
from addon-nut.
From looking I don't believe that the driver supports a USB to Serial converter. However this is likely an issue with NUT itself, not the addon.
from addon-nut.
I have previously used Nut with this usb and UPS and it worked and read data.
from addon-nut.
When I run
sudo /lib/nut/apcsmart -D -a apc_smartups_sc620
with ups.conf:
[apc_smartups_sc620]
driver = apcsmart
port = /dev/ttyUSB1
desc = "APC Smart-Ups SC 620"
I get all the data provided by the UPS. Still the same errors in addon-nut's log.
PS. Moved usb to ttyUSB1 to make sure nothing else is using it. Changed config accordingly. Still no better.
from addon-nut.
Cool, so it rules out the driver, which means it's likely either an issue with Docker, or Alpine.
The challenge is I have no way of duplicating this.
EDIT - As a thought, what happens when you set the port to AUTO and specify the vendor id or other options, such as:
port: auto
config:
- vendorid = 067b
from addon-nut.
@maslyankov We found an issue in which the ports where not being passed to the add on, please check again with the latest Edge release to see if it helps.
from addon-nut.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from addon-nut.
Related Issues (20)
- Option 'pollonly' does not exist HOT 4
- NUT fails to start: Can't claim USB device: Other error / Driver failed to start HOT 21
- Server not listening on port 3943 HOT 1
- Two identical Cyberpower UPS's HOT 3
- Data stale error HOT 2
- Unstable experience with APC UPs HOT 9
- driver: snmp-ups - 2 devices - no data for second device HOT 2
- Wrong Output Voltage value HOT 4
- Addon Fails to Start: /etc/cont-init.d/nut.sh exited 1 HOT 6
- No password prompt on password change in integration / password logged in plaintext "log_mode: trace"? HOT 1
- UPS load information not available with NUT addon HOT 1
- Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running! HOT 1
- Addon fails to start when connected to CP1500AVRLCD3 HOT 3
- No temperature entity for APC SMT1500i HOT 2
- No NUT web interface when TCP port is exposed HOT 1
- Add support for apc_modbus HOT 1
- Disable FSD and auto-shutdown of host and/or add-on HOT 7
- Add addon button doesn't work HOT 1
- Timezone issue after upgrade? HOT 1
- Cannot connect from HomeAssistant nor from LAN HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-nut.