Hello,
I am trying to get my old ups working with the NUT addon,
I have been trying way to long and still did not have any progress
my setup:
UPS: APC SURT2000XLI
HA: Raspberry PI4
serial communications cable: 940-0024C serial to usb
I have tried diffrent driver but the apcsmart driver seems to be the correct one but i still only get errors.
this is my current log:
-----------------------------------------------------------
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
-----------------------------------------------------------
Add-on version: 0.13.1
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.9.1
Home Assistant Supervisor: 2024.08.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
[20:18:06] INFO: Configuring timezone (Europe/Berlin)...
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/nut.sh
[20:18:07] INFO: Setting mode to netserver...
[20:18:08] INFO: Generating /etc/nut/upsd.users...
[20:18:08] INFO: Configuring user: schrma
[20:18:09] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[20:18:11] INFO: Configuring Device named SURT2000XL...
[20:18:11] INFO: Starting the UPS drivers...
[0x05] unrecognized
[0x09] unrecognized
[0x14] unrecognized
[0x16] unrecognized
preread_data: output.current [/] timed out or not supported
output.current [/] - variable invalid
[7] unrecognized
[\] unrecognized
[d] unrecognized
[w] unrecognized
apc_getcaps: nument (-1) or entlen (3) out of range
nument or entlen out of range
Please report this error
ERROR: capability overflow!
Network UPS Tools - APC Smart protocol driver 3.2 (2.8.0)
APC command table version 3.1
Network UPS Tools - UPS driver controller 2.8.0
Driver failed to start (exit status=1)
cont-init: info: /etc/cont-init.d/nut.sh exited 1
cont-init: info: running /etc/cont-init.d/nutclient.sh
cont-init: info: /etc/cont-init.d/nutclient.sh exited 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-log-level successfully stopped
s6-rc: info: service base-addon-timezone 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
also here is my config:
users:
- username: schrma
password: [redacted]
instcmds:
- all
actions: []
devices:
- name: SURT2000XL
driver: apcsmart
port: /dev/ttyUSB1
desc: SURT2000XL Server
ttymode: raw
config: []
mode: netserver
shutdown_host: "false"