I use 2 APC Smart-UPS 1500 with the network card AP9630 and wanted to integrate these devices with the snmp-ups driver. Both devices are recognized, but data is only provided for the first device
Here the log
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 version: 0.13.0
You are running the latest version of this add-on.
System: Home Assistant OS 12.2 (aarch64 / raspberrypi5-64)
Home Assistant Core: 2024.4.3
Home Assistant Supervisor: 2024.04.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
[19:01:53] INFO: Configuring timezone (Europe/Berlin)...
Log level is set to INFO
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
[19:01:53] INFO: Setting mode to netserver...
[19:01:53] INFO: Generating /etc/nut/upsd.users...
[19:01:54] INFO: Configuring user: apc
[19:01:54] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[19:01:54] INFO: Configuring Device named ups...
[19:01:55] INFO: Configuring Device named ups_c...
[19:01:55] INFO: Starting the UPS drivers...
Created directory: /var/lib/snmp/cert_indexes
Detected Smart-UPS 1500 on host 192.168.0.49 (mib: apcc 1.6)
[ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
[ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1)
Detected Smart-UPS 1500 on host 192.168.0.46 (mib: apcc 1.6)
[ups_c] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
[ups_c] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1)
Network UPS Tools - UPS driver controller 2.8.0
cont-init: info: /etc/cont-init.d/nut.sh exited 0
cont-init: info: running /etc/cont-init.d/nutclient.sh
cont-init: info: /etc/cont-init.d/nutclient.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun upsd (no readiness notification)
services-up: info: copying legacy longrun upsmon (no readiness notification)
s6-rc: info: service legacy-services successfully started
[19:01:58] INFO: Starting the UPS information server...
0.000000 fopen /run/nut/upsd.pid: No such file or directory
0.000088 Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
0.000299 [D1] debug level is '1'
0.000521 listening on 0.0.0.0 port 3493
0.000749 Connected to UPS [ups_c]: snmp-ups-ups_c
0.000821 Connected to UPS [ups]: snmp-ups-ups
0.001369 Running as foreground process, not saving a PID file
[19:01:58] INFO: Starting the UPS monitor and shutdown controller...
0.000000 fopen /run/nut/upsmon.pid: No such file or directory
0.000026 Could not find PID file to see if previous upsmon instance is already running!
0.000222 Using power down flag file /etc/killpower
0.000362 UPS: ups@localhost (primary) (power value 1)
0.000375 UPS: ups_c@localhost (primary) (power value 1)
0.000387 [D1] debug level is '1'
0.000417 [D1] debug level is '1'
0.000420 Warning: running as one big root process by request (upsmon -p)
0.000474 [D1] Saving PID 487 into /run/nut/upsmon.pid
Init SSL without certificate database
0.002525 [D1] Trying to connect to UPS [ups@localhost]
0.509425 User upsmonmaster@127.0.0.1 logged into UPS [ups]
0.003309 [D1] Logged into UPS ups@localhost
0.003528 [D1] Trying to connect to UPS [ups_c@localhost]
0.510090 User upsmonmaster@127.0.0.1 logged into UPS [ups_c]
0.003950 [D1] Logged into UPS ups_c@localhost
{"message":"Event nut.ups_event fired."}Network UPS Tools upsmon 2.8.0
{"message":"Event nut.ups_event fired."}Network UPS Tools upsmon 2.8.0
Proposed changes
Tried with various config options, but no success in getting the data from the second device
Problem/Motivation
I use 2 APC Smart-UPS 1500 with the network card AP9630 and wanted to integrate these devices with the snmp-ups driver. Both devices are recognized, but data is only provided for the first device
Expected behavior
Data for both devices
Actual behavior
Here my config
Steps to reproduce
Here the log 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: Network UPS Tools Manage battery backup (UPS) devices
Add-on version: 0.13.0 You are running the latest version of this add-on. System: Home Assistant OS 12.2 (aarch64 / raspberrypi5-64) Home Assistant Core: 2024.4.3 Home Assistant Supervisor: 2024.04.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 [19:01:53] INFO: Configuring timezone (Europe/Berlin)... Log level is set to INFO 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 [19:01:53] INFO: Setting mode to netserver... [19:01:53] INFO: Generating /etc/nut/upsd.users... [19:01:54] INFO: Configuring user: apc [19:01:54] INFO: Password is NOT in the Have I Been Pwned database! Nice! [19:01:54] INFO: Configuring Device named ups... [19:01:55] INFO: Configuring Device named ups_c... [19:01:55] INFO: Starting the UPS drivers... Created directory: /var/lib/snmp/cert_indexes Detected Smart-UPS 1500 on host 192.168.0.49 (mib: apcc 1.6) [ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3) [ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1) Detected Smart-UPS 1500 on host 192.168.0.46 (mib: apcc 1.6) [ups_c] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3) [ups_c] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1) Network UPS Tools - UPS driver controller 2.8.0 cont-init: info: /etc/cont-init.d/nut.sh exited 0 cont-init: info: running /etc/cont-init.d/nutclient.sh cont-init: info: /etc/cont-init.d/nutclient.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun upsd (no readiness notification) services-up: info: copying legacy longrun upsmon (no readiness notification) s6-rc: info: service legacy-services successfully started [19:01:58] INFO: Starting the UPS information server... 0.000000 fopen /run/nut/upsd.pid: No such file or directory 0.000088 Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
0.000299 [D1] debug level is '1' 0.000521 listening on 0.0.0.0 port 3493 0.000749 Connected to UPS [ups_c]: snmp-ups-ups_c 0.000821 Connected to UPS [ups]: snmp-ups-ups 0.001369 Running as foreground process, not saving a PID file [19:01:58] INFO: Starting the UPS monitor and shutdown controller... 0.000000 fopen /run/nut/upsmon.pid: No such file or directory 0.000026 Could not find PID file to see if previous upsmon instance is already running!
0.000222 Using power down flag file /etc/killpower 0.000362 UPS: ups@localhost (primary) (power value 1) 0.000375 UPS: ups_c@localhost (primary) (power value 1) 0.000387 [D1] debug level is '1' 0.000417 [D1] debug level is '1' 0.000420 Warning: running as one big root process by request (upsmon -p) 0.000474 [D1] Saving PID 487 into /run/nut/upsmon.pid Init SSL without certificate database 0.002525 [D1] Trying to connect to UPS [ups@localhost] 0.509425 User upsmonmaster@127.0.0.1 logged into UPS [ups] 0.003309 [D1] Logged into UPS ups@localhost 0.003528 [D1] Trying to connect to UPS [ups_c@localhost] 0.510090 User upsmonmaster@127.0.0.1 logged into UPS [ups_c] 0.003950 [D1] Logged into UPS ups_c@localhost {"message":"Event nut.ups_event fired."}Network UPS Tools upsmon 2.8.0 {"message":"Event nut.ups_event fired."}Network UPS Tools upsmon 2.8.0
Proposed changes
Tried with various config options, but no success in getting the data from the second device