Hi everyone,
I installed the NUT package and everything is working fine on the command line (OPNsense v24.7.2).
Running "./bcmxcp_usb -a PW9120 -DDDDD" will return all the info from the UPS.
But on the web manager I get problems.
Diagnostics will not return anything, only showing a blank square.
On configuration when I try to start the service it will later show this message on the console:
QuoteBroadcast Message from root@OPNsense.localdomain
(no tty) at 14:37 UTC...
UPS PW9120 is unavailable
This is my /api/nut/settings/get
Quote{"nut":{"general":{"enable":"1","mode":{"standalone":{"value":"standalone","selected":1},"netclient":{"value":"netclient","selected":0}},"name":"PW9120","listen":{"127.0.0.1":{"value":"127.0.0.1","selected":1},"::1":{"value":"::1","selected":1}}},"account":{"admin_password":"Password","mon_password":"Password"},"usbhid":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"apcsmart":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"apcupsd":{"enable":"0","hostname":"localhost","port":""},"bcmxcpusb":{"enable":"1","args":{"port=auto":{"value":"port=auto","selected":1}}},"blazerusb":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"blazerser":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"netclient":{"enable":"0","address":"","port":"3493","user":"","password":""},"qx":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"riello":{"enable":"0","args":{"port=auto":{"value":"port=auto","selected":1}}},"snmp":{"enable":"0","args":{"community=public":{"value":"community=public","selected":1}}}}}
What could be wrong?
Thanks!!
However stupid it may sound - did you reboot after installing nut? (Same goes for apcupsd.) The FreeBSD devfs does not seem to be exactly smart.
Quote from: doktornotor on August 23, 2024, 04:48:19 PM
did you reboot after installing nut?
Yes, I did. Before rebooting I didn't get any response from command line. After rebooting it started responding but on the web manager everything stayed the same...
You need to pick the right setting from the dropdown menu. It's really easy to miss but it is a triangle under the UPS tab. See the screenshot below step 2:
https://docs.opnsense.org/manual/how-tos/nut.html (https://docs.opnsense.org/manual/how-tos/nut.html)
Quote from: julsssark on August 24, 2024, 04:13:39 AM
You need to pick the right setting from the dropdown menu.
That is why I pasted the API return info, so others can check the settings I have.
I guess I am missing some extra parameter or maybe the listen address should be different...
On that help page there is no info for USB devices.
EDIT: When running from console, I get several of this messages
Quoteget_answer: wrong header 0xab vs 17
But then it get the correct info starting with the 0xAB char.
Following nut suggestions I tried a different cable and a different port.
Quoteupsdebugx(2, "get_answer: wrong header 0xab vs %02x", my_buf[0]);
/* Sometime we read something wrong. bad cables? bad ports? */
Yes, but are you trying to run as a NUT client or a server? Did you select the right setting from the drop down under UPS Type? Look at the screenshot in the link I sent you. It's not an obvious dropdown field (it's a triangle next to the UPS Type text). If you are running as a NUT client, you have to select netclient. If you are running as a server, you have to pick the right driver. This will add the required configuration fields to the UPS Type tab.
The driver is correct. And the API output is unreadable for most people.
Output of the following, please:
# usbconfig
# ps auxw | grep '[n]ut'
# ls -la /dev/usb
Thanks for your answers, this is the output for those commands.
root@OPNsense:/usr/local/libexec/nut # usbconfig
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <UPS Phoenixtec Power Co., Ltd> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (20mA)
root@OPNsense:/usr/local/libexec/nut # ps auxw | grep '[n]ut'
nut 6453 0.0 0.1 18440 7624 - S 15:28 0:00.03 /usr/local/sbin/upsmon localhost
root@OPNsense:/usr/local/libexec/nut # ls -la /dev/usb
total 1
dr-xr-xr-x 2 root wheel 512 Aug 26 15:03 .
dr-xr-xr-x 10 root wheel 512 Aug 26 15:03 ..
crw------- 1 root operator 0x31 Aug 26 15:03 0.1.0
crw------- 1 root operator 0x4b Aug 26 15:03 0.1.1
crw-rw---- 1 root nut 0xc9 Aug 26 15:28 0.2.0
crw------- 1 root operator 0xcb Aug 26 15:28 0.2.1
root@OPNsense:/usr/local/libexec/nut # ./bcmxcp_usb -a PW9120 -DDDDD
0.000000 [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools - BCMXCP UPS driver 0.34 (2.8.2)
USB communication subdriver 0.27
0.000293 [D5] do_upsconf_args: confupsname=PW9120, var=driver, val=bcmxcp_usb
0.000308 [D5] do_upsconf_args: call main_arg()
0.000315 [D3] main_arg: var='driver' val='bcmxcp_usb'
0.000322 [D5] do_upsconf_args: not a main_arg()
0.000328 [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
0.000343 [D5] do_upsconf_args: 'driver' setting already applied with this value
0.000351 [D5] do_upsconf_args: confupsname=PW9120, var=port, val=auto
0.000356 [D5] do_upsconf_args: call main_arg()
0.000361 [D3] main_arg: var='port' val='auto'
0.000371 [D5] send_to_all: SETINFO driver.parameter.port "auto"
0.000394 [D1] Network UPS Tools version 2.8.2 (release/snapshot of 2.8.2) built with FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9); Target: x86_64-unknown-freebsd14.1; Thread model: posix and configured with flags: --sysconfdir=/usr/local/etc/nut --program-transform-name= --localstatedir=/var/db/nut --datadir=/usr/local/etc/nut --with-devd-dir=/usr/local/etc/devd --with-drvpath=/usr/local/libexec/nut --with-statepath=/var/db/nut --with-altpidpath=/var/db/nut --with-pidpath=/var/db/nut --with-pkgconfig-dir=/usr/local/libdata/pkgconfig --with-user=nut --with-group=nut --with-python=/usr/local/bin/python3.11 --without-python2 --with-python3=/usr/local/bin/python3.11 --without-nut_monitor --with-ltdl --with-nut-scanner --with-avahi --with-cgi --with-cgipath=/usr/local/www/cgi-bin/nut --with-htmlpath=/usr/local/www/nut --with-gd-includes=-I/usr/local/include --with-gd-libs='-L/usr/local/lib -lgd' --without-dev --with-freeipmi --without-ipmi --with-doc=man=auto --with-modbus --with-neon --without-nss --with-openssl --with-powerman --with-serial --with-snmp --with-usb=auto --prefix=/usr/local --mandir=/usr/local/share/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd14.1
0.000413 [D1] debug level is '5'
0.000422 [D5] send_to_all: SETINFO driver.debug "5"
0.000435 [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
0.000898 [D1] Succeeded to become_user(nut): now UID=316 GID=316
0.000961 [D5] send_to_all: SETINFO device.type "ups"
0.000979 [D5] send_to_all: SETINFO driver.state "init.device"
0.000988 [D1] entering nutusb_open()
0.001328 [D1] device 000 opened successfully
0.004225 [D5] send_to_all: SETINFO driver.state "init.quiet"
0.004248 [D5] send_to_all: SETINFO driver.version "2.8.2"
0.004259 [D5] send_to_all: SETINFO driver.version.internal "0.34"
0.004267 [D5] send_to_all: SETINFO driver.name "bcmxcp_usb"
0.004275 [D5] send_to_all: SETINFO driver.state "init.info"
0.004300 [D3] send_read_command: (4 bytes) => ab 01 31 23
0.004796 [D1] entering get_answer(31)
0.330960 [D1] get_answer: (128 bytes) => ab 01 79 01 02 04 02 04 02 00 3c 00 01 00 06 50
0.330983 [D1] 57 39 31 32 30 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0.330999 [D1] 00 00 f0 00 f0 00 00 00 41 41 00 00 00 00 51 f0 e2 00 00 00 00 00 00 00 00
0.331018 [D1] 00 00 00 00 00 00 00 00 00 00 00 00 f0 00 00 00 00 00 f0 00 00 41 00 00 41
0.331033 [D1] 00 00 f0 00 00 00 00 00 00 f0 00 00 00 1b c0 17 00 82 04 00 00 0f 10 02 00
0.331043 [D1] 00 00 00 00 00 00 00 80 00 e4 ab 01
0.331049 [D1] get_answer: block_number = 1
0.331054 [D3] get_answer: data length = 121
0.331060 [D2] get_answer: sequence number (1) is ok
0.331066 [D2] get_answer: checksum is ok
0.331071 [D2] get_answer: next sequence is 2
0.331081 [D1] get_answer: block_number = 1
0.331086 [D3] get_answer: data length = 121
0.331092 [D2] get_answer: need to read -2 more data
0.331097 [D1] get_answer: block_number = 1
0.331101 [D3] get_answer: data length = 121
0.331106 [D2] get_answer: need to read 119 more data
0.474933 [D1] get_answer: (28 bytes) => ab 01 17 82 00 43 00 80 84 08 00 50 00 00 00 00
0.474954 [D1] 00 00 03 00 10 1a 00 0e 00 16 00 cb
4.937311 [D5] get_answer: (121 bytes) => 02 04 02 04 02 00 3c 00 01 00 06 50 57 39 31 32
4.937346 [D5] 30 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 00
4.937363 [D5] f0 00 00 00 41 41 00 00 00 00 51 f0 e2 00 00 00 00 00 00 00 00 00 00 00 00
4.937385 [D5] 00 00 00 00 00 00 00 00 f0 00 00 00 00 00 f0 00 00 41 00 00 41 00 00 f0 00
4.937400 [D5] 00 00 00 00 00 f0 00 00 00 1b c0 17 00 82 04 00 00 0f 10 02 00 00 00 00 00
4.937408 [D5] 00 00 00 80 00
4.937426 [D5] send_to_all: SETINFO ups.firmware "Cont:02.04 Inve:02.04"
4.937438 [D5] send_to_all: SETINFO ups.power.nominal "3000"
4.937446 [D5] send_to_all: SETINFO output.phases "1"
4.937456 [D5] send_to_all: SETINFO ups.mfr "Eaton"
4.937480 [D5] send_to_all: SETINFO ups.model "PW9120 3000i"
4.937487 [D2] Length of meter map: 82
4.937492 [D2] Index Offset Format NUT
4.937499 [D2] 0021 0000 f0 ups.realpower
4.937506 [D2] 0023 0004 f0 ups.power
4.937512 [D2] 0027 0008 41 output.frequency
4.937519 [D2] 0028 0012 41 input.frequency
4.937524 [D2] 0033 0016 51 battery.voltage
4.937530 [D2] 0034 0020 f0 battery.charge
4.937535 [D2] 0035 0024 e2 battery.runtime
4.937541 [D2] 0056 0028 f0 input.voltage
4.937546 [D2] 0062 0032 f0 ambient.temperature
4.937552 [D2] 0065 0036 41 output.current
4.937557 [D2] 0068 0040 41 output.current.nominal
4.937563 [D2] 0071 0044 f0 ups.power.nominal
4.937569 [D2] 0078 0048 f0 output.voltage
4.937573 [D2]
4.937580 [D2] Length of alarm map: 27
4.937585 [D2] Index Alarm Supported
4.937591 [D3] -001 INVERTER_AC_OVER_VOLTAGE No
4.937597 [D3] -001 INVERTER_AC_UNDER_VOLTAGE No
4.937602 [D3] -001 INVERTER_OVER_OR_UNDER_FREQ No
4.937607 [D3] -001 BYPASS_AC_OVER_VOLTAGE No
4.937612 [D3] -001 BYPASS_AC_UNDER_VOLTAGE No
4.937618 [D3] -001 BYPASS_OVER_OR_UNDER_FREQ No
4.937625 [D2] 0000 INPUT_AC_OVER_VOLTAGE Yes
4.937630 [D2] 0001 INPUT_AC_UNDER_VOLTAGE Yes
4.937635 [D2] 0002 INPUT_UNDER_OR_OVER_FREQ Yes
4.937641 [D2] 0003 OUTPUT_OVER_VOLTAGE Yes
4.937646 [D2] 0004 OUTPUT_UNDER_VOLTAGE Yes
4.937651 [D3] -001 OUTPUT_UNDER_OR_OVER_FREQ No
4.937657 [D2] 0005 REMOTE_EMERGENCY_PWR_OFF Yes
4.937662 [D3] -001 REMOTE_GO_TO_BYPASS No
4.937667 [D3] -001 BUILDING_ALARM_6 No
4.937672 [D3] -001 BUILDING_ALARM_5 No
4.937677 [D3] -001 BUILDING_ALARM_4 No
4.937682 [D3] -001 BUILDING_ALARM_3 No
4.937687 [D3] -001 BUILDING_ALARM_2 No
4.937692 [D3] -001 BUILDING_ALARM_1 No
4.937697 [D3] -001 STATIC_SWITCH_OVER_TEMP No
4.937702 [D3] -001 CHARGER_OVER_TEMP No
4.937707 [D3] -001 CHARGER_LOGIC_PWR_FAIL No
4.937713 [D3] -001 CHARGER_OVER_VOLTAGE_OR_CURRENT No
4.937719 [D3] -001 INVERTER_OVER_TEMP No
4.937724 [D2] 0006 OUTPUT_OVERLOAD Yes
4.937729 [D3] -001 RECTIFIER_INPUT_OVER_CURRENT No
4.937734 [D3] -001 INVERTER_OUTPUT_OVER_CURRENT No
4.937741 [D3] -001 DC_LINK_OVER_VOLTAGE No
4.937746 [D3] -001 DC_LINK_UNDER_VOLTAGE No
4.937750 [D3] -001 RECTIFIER_FAILED No
4.937755 [D2] 0007 INVERTER_FAULT Yes
4.937760 [D3] -001 BATTERY_CONNECTOR_FAIL No
4.937766 [D3] -001 BYPASS_BREAKER_FAIL No
4.937771 [D2] 0008 CHARGER_FAIL Yes
4.937776 [D3] -001 RAMP_UP_FAILED No
4.937782 [D3] -001 STATIC_SWITCH_FAILED No
4.937787 [D3] -001 ANALOG_AD_REF_FAIL No
4.937791 [D3] -001 BYPASS_UNCALIBRATED No
4.937796 [D3] -001 RECTIFIER_UNCALIBRATED No
4.937801 [D3] -001 OUTPUT_UNCALIBRATED No
4.937806 [D3] -001 INVERTER_UNCALIBRATED No
4.937811 [D3] -001 DC_VOLT_UNCALIBRATED No
4.937816 [D3] -001 OUTPUT_CURRENT_UNCALIBRATED No
4.937821 [D3] -001 RECTIFIER_CURRENT_UNCALIBRATED No
4.937826 [D3] -001 BATTERY_CURRENT_UNCALIBRATED No
4.937831 [D3] -001 INVERTER_ON_OFF_STAT_FAIL No
4.937836 [D3] -001 BATTERY_CURRENT_LIMIT No
4.937841 [D3] -001 INVERTER_STARTUP_FAIL No
4.937846 [D3] -001 ANALOG_BOARD_AD_STAT_FAIL No
4.937851 [D3] -001 OUTPUT_CURRENT_OVER_100 No
4.937855 [D3] -001 BATTERY_GROUND_FAULT No
4.937860 [D3] -001 WAITING_FOR_CHARGER_SYNC No
4.937865 [D3] -001 NV_RAM_FAIL No
4.937871 [D3] -001 ANALOG_BOARD_AD_TIMEOUT No
4.937876 [D3] -001 SHUTDOWN_IMMINENT No
4.937881 [D2] 0009 BATTERY_LOW Yes
4.937886 [D2] 0010 UTILITY_FAIL Yes
4.937891 [D2] 0011 OUTPUT_SHORT_CIRCUIT Yes
4.937896 [D2] 0012 UTILITY_NOT_PRESENT Yes
4.937901 [D3] -001 FULL_TIME_CHARGING No
4.937906 [D3] -001 FAST_BYPASS_COMMAND No
4.937911 [D3] -001 AD_ERROR No
4.937916 [D3] -001 INTERNAL_COM_FAIL No
4.937921 [D3] -001 RECTIFIER_SELFTEST_FAIL No
4.937926 [D3] -001 RECTIFIER_EEPROM_FAIL No
4.937931 [D3] -001 RECTIFIER_EPROM_FAIL No
4.937937 [D3] -001 INPUT_LINE_VOLTAGE_LOSS No
4.937942 [D2] 0013 BATTERY_DC_OVER_VOLTAGE Yes
4.937947 [D3] -001 POWER_SUPPLY_OVER_TEMP No
4.937952 [D3] -001 POWER_SUPPLY_FAIL No
4.937957 [D3] -001 POWER_SUPPLY_5V_FAIL No
4.937962 [D3] -001 POWER_SUPPLY_12V_FAIL No
4.937967 [D2] 0014 HEATSINK_OVER_TEMP Yes
4.937972 [D3] -001 HEATSINK_TEMP_SENSOR_FAIL No
4.937977 [D3] -001 RECTIFIER_CURRENT_OVER_125 No
4.937982 [D3] -001 RECTIFIER_FAULT_INTERRUPT_FAIL No
4.937987 [D3] -001 RECTIFIER_POWER_CAPACITOR_FAIL No
4.937992 [D3] -001 INVERTER_PROGRAM_STACK_ERROR No
4.937998 [D3] -001 INVERTER_BOARD_SELFTEST_FAIL No
4.938007 [D3] -001 INVERTER_AD_SELFTEST_FAIL No
4.938012 [D3] -001 INVERTER_RAM_SELFTEST_FAIL No
4.938017 [D3] -001 NV_MEMORY_CHECKSUM_FAIL No
4.938022 [D3] -001 PROGRAM_CHECKSUM_FAIL No
4.938027 [D3] -001 INVERTER_CPU_SELFTEST_FAIL No
4.938032 [D3] -001 NETWORK_NOT_RESPONDING No
4.938037 [D3] -001 FRONT_PANEL_SELFTEST_FAIL No
4.938042 [D3] -001 NODE_EEPROM_VERIFICATION_ERROR No
4.938047 [D3] -001 OUTPUT_AC_OVER_VOLT_TEST_FAIL No
4.938052 [D3] -001 OUTPUT_DC_OVER_VOLTAGE No
4.938057 [D3] -001 INPUT_PHASE_ROTATION_ERROR No
4.938062 [D3] -001 INVERTER_RAMP_UP_TEST_FAILED No
4.938067 [D3] -001 INVERTER_OFF_COMMAND No
4.938073 [D3] -001 INVERTER_ON_COMMAND No
4.938078 [D3] -001 TO_BYPASS_COMMAND No
4.938083 [D3] -001 FROM_BYPASS_COMMAND No
4.938088 [D3] -001 AUTO_MODE_COMMAND No
4.938093 [D3] -001 EMERGENCY_SHUTDOWN_COMMAND No
4.938098 [D3] -001 SETUP_SWITCH_OPEN No
4.938103 [D3] -001 INVERTER_OVER_VOLT_INT No
4.938108 [D3] -001 INVERTER_UNDER_VOLT_INT No
4.938114 [D3] -001 ABSOLUTE_DCOV_ACOV No
4.938119 [D3] -001 PHASE_A_CURRENT_LIMIT No
4.938124 [D3] -001 PHASE_B_CURRENT_LIMIT No
4.938129 [D3] -001 PHASE_C_CURRENT_LIMIT No
4.938133 [D3] -001 BYPASS_NOT_AVAILABLE No
4.938138 [D3] -001 RECTIFIER_BREAKER_OPEN No
4.938143 [D3] -001 BATTERY_CONTACTOR_OPEN No
4.938148 [D3] -001 INVERTER_CONTACTOR_OPEN No
4.938154 [D3] -001 BYPASS_BREAKER_OPEN No
4.938159 [D3] -001 INV_BOARD_ACOV_INT_TEST_FAIL No
4.938164 [D3] -001 INVERTER_OVER_TEMP_TRIP No
4.938169 [D3] -001 INV_BOARD_ACUV_INT_TEST_FAIL No
4.938174 [D3] -001 INVERTER_VOLTAGE_FEEDBACK_ERROR No
4.938179 [D3] -001 DC_UNDER_VOLTAGE_TIMEOUT No
4.938184 [D3] -001 AC_UNDER_VOLTAGE_TIMEOUT No
4.938189 [D3] -001 DC_UNDER_VOLTAGE_WHILE_CHARGE No
4.938194 [D3] -001 INVERTER_VOLTAGE_BIAS_ERROR No
4.938199 [D3] -001 RECTIFIER_PHASE_ROTATION No
4.938204 [D3] -001 BYPASS_PHASER_ROTATION No
4.938209 [D3] -001 SYSTEM_INTERFACE_BOARD_FAIL No
4.938214 [D3] -001 PARALLEL_BOARD_FAIL No
4.938219 [D3] -001 LOST_LOAD_SHARING_PHASE_A No
4.938225 [D3] -001 LOST_LOAD_SHARING_PHASE_B No
4.938230 [D3] -001 LOST_LOAD_SHARING_PHASE_C No
4.938235 [D3] -001 DC_OVER_VOLTAGE_TIMEOUT No
4.938239 [D3] -001 BATTERY_TOTALLY_DISCHARGED No
4.938244 [D3] -001 INVERTER_PHASE_BIAS_ERROR No
4.938249 [D3] -001 INVERTER_VOLTAGE_BIAS_ERROR_2 No
4.938254 [D3] -001 DC_LINK_BLEED_COMPLETE No
4.938259 [D3] -001 LARGE_CHARGER_INPUT_CURRENT No
4.938265 [D3] -001 INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL No
4.938270 [D3] -001 LOSS_OF_REDUNDANCY No
4.938275 [D3] -001 LOSS_OF_SYNC_BUS No
4.938280 [D3] -001 RECTIFIER_BREAKER_SHUNT_TRIP No
4.938285 [D3] -001 LOSS_OF_CHARGER_SYNC No
4.938290 [D3] -001 INVERTER_LOW_LEVEL_TEST_TIMEOUT No
4.938295 [D3] -001 OUTPUT_BREAKER_OPEN No
4.938300 [D3] -001 CONTROL_POWER_ON No
4.938305 [D3] -001 INVERTER_ON No
4.938310 [D3] -001 CHARGER_ON No
4.938315 [D3] -001 BYPASS_ON No
4.938320 [D3] -001 BYPASS_POWER_LOSS No
4.938325 [D3] -001 ON_MANUAL_BYPASS No
4.938329 [D3] -001 BYPASS_MANUAL_TURN_OFF No
4.938334 [D3] -001 INVERTER_BLEEDING_DC_LINK_VOLT No
4.938340 [D3] -001 CPU_ISR_ERROR No
4.938345 [D3] -001 SYSTEM_ISR_RESTART No
4.938350 [D3] -001 PARALLEL_DC No
4.938355 [D3] -001 BATTERY_NEEDS_SERVICE No
4.938359 [D3] -001 BATTERY_CHARGING No
4.938364 [D2] 0015 BATTERY_NOT_CHARGED Yes
4.938369 [D3] -001 DISABLED_BATTERY_TIME No
4.938374 [D3] -001 SERIES_7000_ENABLE No
4.938379 [D3] -001 OTHER_UPS_ON No
4.938384 [D3] -001 PARALLEL_INVERTER No
4.938390 [D3] -001 UPS_IN_PARALLEL No
4.938395 [D3] -001 OUTPUT_BREAKER_REALY_FAIL No
4.938400 [D3] -001 CONTROL_POWER_OFF No
4.938405 [D3] -001 LEVEL_2_OVERLOAD_PHASE_A No
4.938410 [D3] -001 LEVEL_2_OVERLOAD_PHASE_B No
4.938414 [D2] 0016 LEVEL_2_OVERLOAD_PHASE_C Yes
4.938420 [D3] -001 LEVEL_3_OVERLOAD_PHASE_A No
4.938425 [D2] 0017 LEVEL_3_OVERLOAD_PHASE_B Yes
4.938430 [D3] -001 LEVEL_3_OVERLOAD_PHASE_C No
4.938435 [D2] 0018 LEVEL_4_OVERLOAD_PHASE_A Yes
4.938440 [D3] -001 LEVEL_4_OVERLOAD_PHASE_B No
4.938445 [D2] 0019 LEVEL_4_OVERLOAD_PHASE_C Yes
4.938450 [D2] 0020 UPS_ON_BATTERY Yes
4.938455 [D3] -001 UPS_ON_BYPASS No
4.938460 [D3] -001 LOAD_DUMPED No
4.938465 [D3] -001 LOAD_ON_INVERTER No
4.938470 [D3] -001 UPS_ON_COMMAND No
4.938475 [D2] 0021 UPS_OFF_COMMAND Yes
4.938480 [D3] -001 LOW_BATTERY_SHUTDOWN No
4.938484 [D3] -001 AUTO_ON_ENABLED No
4.938489 [D3] -001 SOFTWARE_INCOMPABILITY_DETECTED No
4.938494 [D3] -001 INVERTER_TEMP_SENSOR_FAILED No
4.938499 [D3] -001 DC_START_OCCURED No
4.938505 [D3] -001 IN_PARALLEL_OPERATION No
4.938509 [D3] -001 SYNCING_TO_BYPASS No
4.938515 [D3] -001 RAMPING_UPS_UP No
4.938519 [D3] -001 INVERTER_ON_DELAY No
4.938524 [D3] -001 CHARGER_ON_DELAY No
4.938529 [D3] -001 WAITING_FOR_UTIL_INPUT No
4.938534 [D3] -001 CLOSE_BYPASS_BREAKER No
4.938539 [D3] -001 TEMPORARY_BYPASS_OPERATION No
4.938544 [D3] -001 SYNCING_TO_OUTPUT No
4.938549 [D3] -001 BYPASS_FAILURE No
4.938555 [D3] -001 AUTO_OFF_COMMAND_EXECUTED No
4.938566 [D3] -001 AUTO_ON_COMMAND_EXECUTED No
4.938571 [D3] -001 BATTERY_TEST_FAILED No
4.938576 [D3] -001 FUSE_FAIL No
4.938581 [D3] -001 FAN_FAIL No
4.938586 [D3] -001 SITE_WIRING_FAULT No
4.938591 [D3] -001 BACKFEED_CONTACTOR_FAIL No
4.938597 [D3] -001 ON_BUCK No
4.938602 [D3] -001 ON_BOOST No
4.938607 [D3] -001 ON_DOUBLE_BOOST No
4.938612 [D3] -001 BATTERIES_DISCONNECTED No
4.938617 [D3] -001 UPS_CABINET_OVER_TEMP No
4.938622 [D3] -001 TRANSFORMER_OVER_TEMP No
4.938627 [D3] -001 AMBIENT_UNDER_TEMP No
4.938632 [D3] -001 AMBIENT_OVER_TEMP No
4.938637 [D3] -001 CABINET_DOOR_OPEN No
4.938641 [D3] -001 CABINET_DOOR_OPEN_VOLT_PRESENT No
4.938646 [D3] -001 AUTO_SHUTDOWN_PENDING No
4.938651 [D3] -001 TAP_SWITCHING_REALY_PENDING No
4.938656 [D3] -001 UNABLE_TO_CHARGE_BATTERIES No
4.938661 [D3] -001 STARTUP_FAILURE_CHECK_EPO No
4.938666 [D3] -001 AUTOMATIC_STARTUP_PENDING No
4.938671 [D3] -001 MODEM_FAILED No
4.938677 [D3] -001 INCOMING_MODEM_CALL_STARTED No
4.938681 [D3] -001 OUTGOING_MODEM_CALL_STARTED No
4.938686 [D3] -001 MODEM_CONNECTION_ESTABLISHED No
4.938691 [D3] -001 MODEM_CALL_COMPLETED_SUCCESS No
4.938696 [D2]
4.938702 [D2] Length of Config_block: 57470
4.938707 [D2] Length of statistics map: 79
4.938713 [D2] Length of alarm history log: 0
4.938719 [D2] Length of topology block: 0
4.938725 [D2] Length of max supported command length: 0
4.938730 [D2] Length of command list: 0
4.938735 [D2] Length of outlet_block: 0
4.938739 [D2] Length of alarm_block: 0
4.938748 [D3] send_read_command: (4 bytes) => ab 01 36 1e
4.939388 [D1] entering get_answer(36)
5.227090 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
5.227117 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
5.227133 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
5.227146 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
5.227152 [D1] get_answer: block_number = 6
5.227158 [D3] get_answer: data length = 80
5.227164 [D2] get_answer: sequence number (1) is ok
5.227169 [D2] get_answer: checksum is ok
5.227175 [D2] get_answer: all data received
5.227188 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
5.227204 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
5.227218 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
5.227229 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
5.227243 [D5] send_to_all: SETINFO output.voltage.nominal "220"
5.227252 [D5] send_to_all: SETINFO output.frequency.nominal "50"
5.227261 [D5] send_to_all: SETINFO ups.serial "RQPONMLKJI "
5.227270 [D5] send_to_all: SETINFO device.part "05147365-5502 "
5.227278 [D3] send_read_command: (4 bytes) => ab 01 3c 18
5.227765 [D1] entering get_answer(3c)
5.403062 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
5.403081 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
5.403087 [D1] get_answer: block_number = c
5.403093 [D3] get_answer: data length = 31
5.403098 [D2] get_answer: sequence number (1) is ok
5.403103 [D2] get_answer: checksum is ok
5.403108 [D2] get_answer: all data received
5.403120 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
5.403132 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
5.403142 [D5] send_to_all: SETINFO input.voltage.nominal "220"
5.403150 [D5] send_to_all: SETINFO input.frequency.nominal "50"
5.403158 [D5] send_to_all: SETINFO input.frequency.low "48"
5.403166 [D5] send_to_all: SETINFO input.frequency.high "52"
5.403174 [D5] send_to_all: SETINFO input.transfer.boost.high "187"
5.403181 [D5] send_to_all: SETINFO input.transfer.trim.low "242"
5.403189 [D5] send_to_all: SETINFO ups.beeper.status "enabled"
5.403197 [D5] send_to_all: SETINFO input.transfer.low "160"
5.403208 [D5] send_to_all: SETINFO input.transfer.high "276"
5.403215 [D5] send_to_all: SETINFO ambient.temperature.high "40"
5.403222 [D5] send_to_all: SETINFO battery.runtime.low "2"
5.403230 [D5] send_to_all: ADDCMD shutdown.return
5.403236 [D5] send_to_all: ADDCMD shutdown.stayoff
5.403243 [D5] send_to_all: ADDCMD test.battery.start
5.403252 [D3] send_write_command: (7 bytes) => ab 04 cf 69 e8 d5 5c
7.473287 [D3] send_write_command: (7 bytes) => ab 04 95 ff 00 00 bd
9.477092 [D1] entering get_answer(95)
9.595191 [D1] get_answer: (12 bytes) => ab 09 07 81 31 95 ff 01 06 0b 0c e1
9.595209 [D1] get_answer: block_number = 9
9.595216 [D3] get_answer: data length = 7
9.595222 [D2] get_answer: sequence number (1) is ok
9.595230 [D2] get_answer: checksum is ok
9.595237 [D2] get_answer: all data received
9.595252 [D5] get_answer: (7 bytes) => 31 95 ff 01 06 0b 0c
9.595265 [D5] send_to_all: ADDCMD beeper.disable
9.595273 [D5] send_to_all: ADDCMD beeper.enable
9.595280 [D5] send_to_all: ADDCMD beeper.mute
9.595291 [D5] send_to_all: SETINFO output.voltage.nominal "0"
9.595300 [D5] send_to_all: SETFLAGS output.voltage.nominal RW STRING
9.595308 [D5] send_to_all: SETAUX output.voltage.nominal 3
9.595322 [D5] send_to_all: SETINFO driver.state "init.updateinfo"
9.595334 [D3] send_read_command: (4 bytes) => ab 01 34 20
9.595824 [D1] entering get_answer(34)
9.803169 [D1] get_answer: (57 bytes) => ab 04 34 81 2f 01 00 00 ea 01 00 00 22 ea 47 42
9.803192 [D1] b0 de 47 42 5c 8f d0 42 64 00 00 00 f2 12 00 00 e1 00 00 00 1a 00 00 00 e7
9.803204 [D1] fb 09 40 8c 2e 5a 41 b8 0b 00 00 dc 00 00 00 56
9.803210 [D1] get_answer: block_number = 4
9.803216 [D3] get_answer: data length = 52
9.803222 [D2] get_answer: sequence number (1) is ok
9.803227 [D2] get_answer: checksum is ok
9.803232 [D2] get_answer: all data received
9.803244 [D5] get_answer: (52 bytes) => 2f 01 00 00 ea 01 00 00 22 ea 47 42 b0 de 47 42
9.803259 [D5] 5c 8f d0 42 64 00 00 00 f2 12 00 00 e1 00 00 00 1a 00 00 00 e7 fb 09 40 8c
9.803269 [D5] 2e 5a 41 b8 0b 00 00 dc 00 00 00
9.803281 [D5] send_to_all: SETINFO ups.realpower "303"
9.803291 [D5] send_to_all: SETINFO ups.power "490"
9.803315 [D5] send_to_all: SETINFO output.frequency "50.0"
9.803327 [D5] send_to_all: SETINFO input.frequency "50.0"
9.803338 [D5] send_to_all: SETINFO battery.voltage "104.3"
9.803345 [D5] send_to_all: SETINFO battery.charge "100"
9.803354 [D5] send_to_all: SETINFO battery.runtime "4850"
9.803363 [D5] send_to_all: SETINFO input.voltage "225"
9.803371 [D5] send_to_all: SETINFO ambient.temperature "26"
9.803398 [D5] send_to_all: SETINFO output.current " 2.2"
9.803410 [D5] send_to_all: SETINFO output.current.nominal "13.6"
9.803426 [D5] send_to_all: SETINFO output.voltage "220"
9.803451 [D5] send_to_all: SETINFO ups.load " 16.3"
9.803460 [D3] send_read_command: (4 bytes) => ab 01 35 1f
9.803938 [D1] entering get_answer(35)
9.963196 [D1] get_answer: (28 bytes) => ab 05 17 81 00 00 00 00 00 00 00 00 00 00 00 00
9.963214 [D1] 00 00 00 00 00 00 00 00 00 00 00 b8
9.963220 [D1] get_answer: block_number = 5
9.963225 [D3] get_answer: data length = 23
9.963230 [D2] get_answer: sequence number (1) is ok
9.963235 [D2] get_answer: checksum is ok
9.963240 [D2] get_answer: all data received
9.963263 [D5] get_answer: (23 bytes) => 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9.963272 [D5] 00 00 00 00 00 00 00
9.963285 [D3] send_read_command: (4 bytes) => ab 01 33 21
9.963761 [D1] entering get_answer(33)
10.091172 [D1] get_answer: (9 bytes) => ab 03 04 81 50 d3 00 84 26
10.091184 [D1] get_answer: block_number = 3
10.091189 [D3] get_answer: data length = 4
10.091195 [D2] get_answer: sequence number (1) is ok
10.091200 [D2] get_answer: checksum is ok
10.091205 [D2] get_answer: all data received
10.091212 [D5] get_answer: (4 bytes) => 50 d3 00 84
10.091225 [D5] send_to_all: SETINFO ups.status "OL"
10.091233 [D3] send_read_command: (4 bytes) => ab 01 3b 19
10.091705 [D1] entering get_answer(3b)
10.251210 [D1] get_answer: (26 bytes) => ab 0b 15 81 02 00 00 c0 42 00 00 ba 42 0a 00 00
10.251234 [D1] 00 00 00 00 00 00 00 01 04 a5
10.251242 [D1] get_answer: block_number = b
10.251248 [D3] get_answer: data length = 21
10.251254 [D2] get_answer: sequence number (1) is ok
10.251260 [D2] get_answer: checksum is ok
10.251266 [D2] get_answer: all data received
10.251279 [D5] get_answer: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00 00
10.251287 [D5] 00 00 00 01 04
10.251300 [D2] Battery Status: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00
10.251308 [D2] 00 00 00 00 01 04
10.251315 [D5] nut_find_infoval: found Done and passed (value: 2)
10.251336 [D5] send_to_all: SETINFO ups.test.result "Done and passed"
10.251346 [D2] Battery Status = Done and passed (2)
10.251353 [D2] ABM Status = 4
10.251370 [D5] send_to_all: SETINFO battery.charger.status "resting"
10.251379 [D3] send_read_command: (4 bytes) => ab 01 3c 18
10.251863 [D1] entering get_answer(3c)
10.411198 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
10.411218 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
10.411224 [D1] get_answer: block_number = c
10.411229 [D3] get_answer: data length = 31
10.411235 [D2] get_answer: sequence number (1) is ok
10.411240 [D2] get_answer: checksum is ok
10.411245 [D2] get_answer: all data received
10.411257 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
10.411269 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
10.411297 [D3] send_read_command: (4 bytes) => ab 01 36 1e
10.411773 [D1] entering get_answer(36)
10.731237 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
10.731267 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
10.731283 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
10.731296 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
10.731302 [D1] get_answer: block_number = 6
10.731308 [D3] get_answer: data length = 80
10.731313 [D2] get_answer: sequence number (1) is ok
10.731319 [D2] get_answer: checksum is ok
10.731325 [D2] get_answer: all data received
10.731337 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
10.731353 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
10.731367 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
10.731379 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
10.731393 [D5] send_to_all: SETINFO output.voltage.nominal "220"
10.731400 [D5] send_to_all: DATAOK
10.731409 [D5] send_to_all: SETINFO driver.state "init.quiet"
10.731728 [D2] dstate_init: sock /var/db/nut/bcmxcp_usb-PW9120 open on fd 8
10.731747 [D5] send_to_all: SETINFO driver.parameter.pollinterval "2"
10.731756 [D5] send_to_all: SETINFO driver.parameter.synchronous "auto"
10.731767 [D5] send_to_all: SETINFO device.mfr "Eaton"
10.731779 [D5] send_to_all: SETINFO device.model "PW9120 3000i"
10.731790 [D5] send_to_all: SETINFO device.serial "RQPONMLKJI "
10.731794 Running as foreground process, not saving a PID file
10.731803 [D5] send_to_all: SETINFO driver.flag.allow_killpower "0"
10.731813 [D5] send_to_all: SETFLAGS driver.flag.allow_killpower RW NUMBER
10.731820 [D5] send_to_all: ADDCMD driver.killpower
10.731827 [D5] send_to_all: ADDCMD driver.reload
10.731834 [D5] send_to_all: ADDCMD driver.reload-or-exit
10.731841 [D5] send_to_all: ADDCMD driver.reload-or-error
10.731849 [D5] send_to_all: SETINFO driver.state "quiet"
10.731855 [D1] Driver initialization completed, beginning regular infinite loop
10.731862 upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
10.731871 [D5] send_to_all: SETINFO driver.state "updateinfo"
10.731880 [D3] send_read_command: (4 bytes) => ab 01 34 20
10.732427 [D1] entering get_answer(34)
10.955211 [D1] get_answer: (57 bytes) => ab 04 34 81 2d 01 00 00 e8 01 00 00 2d eb 47 42
10.955235 [D1] c5 e0 47 42 5c 8f d0 42 64 00 00 00 f2 12 00 00 e1 00 00 00 1a 00 00 00 e7
10.955247 [D1] fb 09 40 8c 2e 5a 41 b8 0b 00 00 dc 00 00 00 37
10.955253 [D1] get_answer: block_number = 4
10.955258 [D3] get_answer: data length = 52
10.955263 [D2] get_answer: sequence number (1) is ok
10.955268 [D2] get_answer: checksum is ok
10.955274 [D2] get_answer: all data received
10.955286 [D5] get_answer: (52 bytes) => 2d 01 00 00 e8 01 00 00 2d eb 47 42 c5 e0 47 42
10.955301 [D5] 5c 8f d0 42 64 00 00 00 f2 12 00 00 e1 00 00 00 1a 00 00 00 e7 fb 09 40 8c
10.955310 [D5] 2e 5a 41 b8 0b 00 00 dc 00 00 00
10.955323 [D5] send_to_all: SETINFO ups.realpower "301"
10.955332 [D5] send_to_all: SETINFO ups.power "488"
10.955385 [D3] send_read_command: (4 bytes) => ab 01 35 1f
10.955865 [D1] entering get_answer(35)
11.115219 [D1] get_answer: (28 bytes) => ab 05 17 81 00 00 00 00 00 00 00 00 00 00 00 00
11.115236 [D1] 00 00 00 00 00 00 00 00 00 00 00 b8
11.115241 [D1] get_answer: block_number = 5
11.115246 [D3] get_answer: data length = 23
11.115252 [D2] get_answer: sequence number (1) is ok
11.115257 [D2] get_answer: checksum is ok
11.115262 [D2] get_answer: all data received
11.115274 [D5] get_answer: (23 bytes) => 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
11.115282 [D5] 00 00 00 00 00 00 00
11.115294 [D3] send_read_command: (4 bytes) => ab 01 33 21
11.115768 [D1] entering get_answer(33)
11.227197 [D1] get_answer: (9 bytes) => ab 03 04 81 50 d3 00 84 26
11.227207 [D1] get_answer: block_number = 3
11.227212 [D3] get_answer: data length = 4
11.227218 [D2] get_answer: sequence number (1) is ok
11.227223 [D2] get_answer: checksum is ok
11.227227 [D2] get_answer: all data received
11.227235 [D5] get_answer: (4 bytes) => 50 d3 00 84
11.227248 [D3] send_read_command: (4 bytes) => ab 01 3b 19
11.227721 [D1] entering get_answer(3b)
11.387244 [D1] get_answer: (26 bytes) => ab 0b 15 81 02 00 00 c0 42 00 00 ba 42 0a 00 00
11.387267 [D1] 00 00 00 00 00 00 00 01 04 a5
11.387275 [D1] get_answer: block_number = b
11.387281 [D3] get_answer: data length = 21
11.387287 [D2] get_answer: sequence number (1) is ok
11.387293 [D2] get_answer: checksum is ok
11.387298 [D2] get_answer: all data received
11.387312 [D5] get_answer: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00 00
11.387319 [D5] 00 00 00 01 04
11.387333 [D2] Battery Status: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00
11.387342 [D2] 00 00 00 00 01 04
11.387348 [D5] nut_find_infoval: found Done and passed (value: 2)
11.387359 [D2] Battery Status = Done and passed (2)
11.387364 [D2] ABM Status = 4
11.387377 [D3] send_read_command: (4 bytes) => ab 01 3c 18
11.387859 [D1] entering get_answer(3c)
11.547245 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
11.547269 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
11.547276 [D1] get_answer: block_number = c
11.547282 [D3] get_answer: data length = 31
11.547288 [D2] get_answer: sequence number (1) is ok
11.547293 [D2] get_answer: checksum is ok
11.547298 [D2] get_answer: all data received
11.547311 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
11.547323 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
11.547353 [D3] send_read_command: (4 bytes) => ab 01 36 1e
11.547834 [D1] entering get_answer(36)
11.835244 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
11.835272 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
11.835288 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
11.835300 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
11.835306 [D1] get_answer: block_number = 6
11.835311 [D3] get_answer: data length = 80
11.835317 [D2] get_answer: sequence number (1) is ok
11.835322 [D2] get_answer: checksum is ok
11.835327 [D2] get_answer: all data received
11.835339 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
11.835355 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
11.835369 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
11.835379 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
11.835394 [D5] send_to_all: SETINFO driver.state "quiet"
PS: On /api/nut/diagnostics/upsstatus I always get "{"response":null}"
No idea why it does not start. The device is detected, the permissions look correct. You won't see anything in the GUI (or from the API) since only uspmon is running. Example of a working setup:
# ps auxw | grep '[n]ut'
nut 33172 0.0 0.1 13552 2580 - Ss 9Jun24 61:43.18 /usr/local/libexec/nut/usbhid-ups -a CyberPowerOR600
nut 33424 0.0 0.1 20724 2232 - Ss 9Jun24 36:05.80 /usr/local/sbin/upsd
nut 42301 0.0 0.1 18468 2196 - S 9Jun24 12:28.78 /usr/local/sbin/upsmon localhost
If you run it as nut user, maybe it will give some clue...
su -fm nut -c /usr/local/libexec/nut/bcmxcp_usb -a PW9120 -DDDDD
(Might needs some quoting after -c, not sure.)
@doktornotor
This is the response
root@OPNsense:/etc # su -fm nut -c "/usr/local/libexec/nut/bcmxcp_usb -a PW9120 -DDDDD"
0.000000 [D5] send_to_all: SETINFO driver.state "init.starting"
Network UPS Tools - BCMXCP UPS driver 0.34 (2.8.2)
USB communication subdriver 0.27
0.000084 [D5] do_upsconf_args: confupsname=PW9120, var=driver, val=bcmxcp_usb
0.000087 [D5] do_upsconf_args: call main_arg()
0.000089 [D3] main_arg: var='driver' val='bcmxcp_usb'
0.000091 [D5] do_upsconf_args: not a main_arg()
0.000092 [D5] do_upsconf_args: this is a 'driver' setting, may we proceed?
0.000096 [D5] do_upsconf_args: 'driver' setting already applied with this value
0.000098 [D5] do_upsconf_args: confupsname=PW9120, var=port, val=auto
0.000099 [D5] do_upsconf_args: call main_arg()
0.000100 [D3] main_arg: var='port' val='auto'
0.000103 [D5] send_to_all: SETINFO driver.parameter.port "auto"
0.000108 [D1] Network UPS Tools version 2.8.2 (release/snapshot of 2.8.2) built with FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9); Target: x86_64-unknown-freebsd14.1; Thread model: posix and configured with flags: --sysconfdir=/usr/local/etc/nut --program-transform-name= --localstatedir=/var/db/nut --datadir=/usr/local/etc/nut --with-devd-dir=/usr/local/etc/devd --with-drvpath=/usr/local/libexec/nut --with-statepath=/var/db/nut --with-altpidpath=/var/db/nut --with-pidpath=/var/db/nut --with-pkgconfig-dir=/usr/local/libdata/pkgconfig --with-user=nut --with-group=nut --with-python=/usr/local/bin/python3.11 --without-python2 --with-python3=/usr/local/bin/python3.11 --without-nut_monitor --with-ltdl --with-nut-scanner --with-avahi --with-cgi --with-cgipath=/usr/local/www/cgi-bin/nut --with-htmlpath=/usr/local/www/nut --with-gd-includes=-I/usr/local/include --with-gd-libs='-L/usr/local/lib -lgd' --without-dev --with-freeipmi --without-ipmi --with-doc=man=auto --with-modbus --with-neon --without-nss --with-openssl --with-powerman --with-serial --with-snmp --with-usb=auto --prefix=/usr/local --mandir=/usr/local/share/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd14.1
0.000115 [D1] debug level is '5'
0.000118 [D5] send_to_all: SETINFO driver.debug "5"
0.000121 [D5] send_to_all: SETFLAGS driver.debug RW NUMBER
0.000197 [D1] No need to become_user(nut): already UID=316 GID=316
0.000211 [D5] send_to_all: SETINFO device.type "ups"
0.000213 [D5] send_to_all: SETINFO driver.state "init.device"
0.000215 [D1] entering nutusb_open()
0.000308 [D1] device 000 opened successfully
0.003485 [D5] send_to_all: SETINFO driver.state "init.quiet"
0.003523 [D5] send_to_all: SETINFO driver.version "2.8.2"
0.003525 [D5] send_to_all: SETINFO driver.version.internal "0.34"
0.003527 [D5] send_to_all: SETINFO driver.name "bcmxcp_usb"
0.003529 [D5] send_to_all: SETINFO driver.state "init.info"
0.003537 [D3] send_read_command: (4 bytes) => ab 01 31 23
0.003985 [D1] entering get_answer(31)
0.333168 [D1] get_answer: (128 bytes) => ab 01 79 01 02 04 02 04 02 00 3c 00 01 00 06 50
0.333196 [D1] 57 39 31 32 30 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0.333213 [D1] 00 00 f0 00 f0 00 00 00 41 41 00 00 00 00 51 f0 e2 00 00 00 00 00 00 00 00
0.333228 [D1] 00 00 00 00 00 00 00 00 00 00 00 00 f0 00 00 00 00 00 f0 00 00 41 00 00 41
0.333243 [D1] 00 00 f0 00 00 00 00 00 00 f0 00 00 00 1b c0 17 00 82 04 00 00 0f 10 02 00
0.333253 [D1] 00 00 00 00 00 00 00 80 00 e4 ab 01
0.333263 [D1] get_answer: block_number = 1
0.333269 [D3] get_answer: data length = 121
0.333275 [D2] get_answer: sequence number (1) is ok
0.333281 [D2] get_answer: checksum is ok
0.333286 [D2] get_answer: next sequence is 2
0.333296 [D1] get_answer: block_number = 1
0.333301 [D3] get_answer: data length = 121
0.333306 [D2] get_answer: need to read -2 more data
0.333311 [D1] get_answer: block_number = 1
0.333316 [D3] get_answer: data length = 121
0.333321 [D2] get_answer: need to read 119 more data
0.477108 [D1] get_answer: (28 bytes) => ab 01 17 82 00 43 00 80 84 08 00 50 00 00 00 00
0.477127 [D1] 00 00 03 00 10 1a 00 0e 00 16 00 cb
4.904022 [D5] get_answer: (121 bytes) => 02 04 02 04 02 00 3c 00 01 00 06 50 57 39 31 32
4.904058 [D5] 30 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 00
4.904075 [D5] f0 00 00 00 41 41 00 00 00 00 51 f0 e2 00 00 00 00 00 00 00 00 00 00 00 00
4.904090 [D5] 00 00 00 00 00 00 00 00 f0 00 00 00 00 00 f0 00 00 41 00 00 41 00 00 f0 00
4.904105 [D5] 00 00 00 00 00 f0 00 00 00 1b c0 17 00 82 04 00 00 0f 10 02 00 00 00 00 00
4.904113 [D5] 00 00 00 80 00
4.904131 [D5] send_to_all: SETINFO ups.firmware "Cont:02.04 Inve:02.04"
4.904141 [D5] send_to_all: SETINFO ups.power.nominal "3000"
4.904150 [D5] send_to_all: SETINFO output.phases "1"
4.904159 [D5] send_to_all: SETINFO ups.mfr "Eaton"
4.904182 [D5] send_to_all: SETINFO ups.model "PW9120 3000i"
4.904189 [D2] Length of meter map: 82
4.904194 [D2] Index Offset Format NUT
4.904202 [D2] 0021 0000 f0 ups.realpower
4.904210 [D2] 0023 0004 f0 ups.power
4.904215 [D2] 0027 0008 41 output.frequency
4.904222 [D2] 0028 0012 41 input.frequency
4.904228 [D2] 0033 0016 51 battery.voltage
4.904234 [D2] 0034 0020 f0 battery.charge
4.904240 [D2] 0035 0024 e2 battery.runtime
4.904245 [D2] 0056 0028 f0 input.voltage
4.904250 [D2] 0062 0032 f0 ambient.temperature
4.904256 [D2] 0065 0036 41 output.current
4.904265 [D2] 0068 0040 41 output.current.nominal
4.904270 [D2] 0071 0044 f0 ups.power.nominal
4.904276 [D2] 0078 0048 f0 output.voltage
4.904280 [D2]
4.904286 [D2] Length of alarm map: 27
4.904291 [D2] Index Alarm Supported
4.904297 [D3] -001 INVERTER_AC_OVER_VOLTAGE No
4.904303 [D3] -001 INVERTER_AC_UNDER_VOLTAGE No
4.904309 [D3] -001 INVERTER_OVER_OR_UNDER_FREQ No
4.904319 [D3] -001 BYPASS_AC_OVER_VOLTAGE No
4.904327 [D3] -001 BYPASS_AC_UNDER_VOLTAGE No
4.904335 [D3] -001 BYPASS_OVER_OR_UNDER_FREQ No
4.904343 [D2] 0000 INPUT_AC_OVER_VOLTAGE Yes
4.904348 [D2] 0001 INPUT_AC_UNDER_VOLTAGE Yes
4.904354 [D2] 0002 INPUT_UNDER_OR_OVER_FREQ Yes
4.904359 [D2] 0003 OUTPUT_OVER_VOLTAGE Yes
4.904364 [D2] 0004 OUTPUT_UNDER_VOLTAGE Yes
4.904371 [D3] -001 OUTPUT_UNDER_OR_OVER_FREQ No
4.904376 [D2] 0005 REMOTE_EMERGENCY_PWR_OFF Yes
4.904381 [D3] -001 REMOTE_GO_TO_BYPASS No
4.904386 [D3] -001 BUILDING_ALARM_6 No
4.904391 [D3] -001 BUILDING_ALARM_5 No
4.904400 [D3] -001 BUILDING_ALARM_4 No
4.904407 [D3] -001 BUILDING_ALARM_3 No
4.904415 [D3] -001 BUILDING_ALARM_2 No
4.904423 [D3] -001 BUILDING_ALARM_1 No
4.904430 [D3] -001 STATIC_SWITCH_OVER_TEMP No
4.904438 [D3] -001 CHARGER_OVER_TEMP No
4.904446 [D3] -001 CHARGER_LOGIC_PWR_FAIL No
4.904454 [D3] -001 CHARGER_OVER_VOLTAGE_OR_CURRENT No
4.904463 [D3] -001 INVERTER_OVER_TEMP No
4.904470 [D2] 0006 OUTPUT_OVERLOAD Yes
4.904476 [D3] -001 RECTIFIER_INPUT_OVER_CURRENT No
4.904485 [D3] -001 INVERTER_OUTPUT_OVER_CURRENT No
4.904493 [D3] -001 DC_LINK_OVER_VOLTAGE No
4.904498 [D3] -001 DC_LINK_UNDER_VOLTAGE No
4.904504 [D3] -001 RECTIFIER_FAILED No
4.904509 [D2] 0007 INVERTER_FAULT Yes
4.904514 [D3] -001 BATTERY_CONNECTOR_FAIL No
4.904519 [D3] -001 BYPASS_BREAKER_FAIL No
4.904524 [D2] 0008 CHARGER_FAIL Yes
4.904533 [D3] -001 RAMP_UP_FAILED No
4.904540 [D3] -001 STATIC_SWITCH_FAILED No
4.904549 [D3] -001 ANALOG_AD_REF_FAIL No
4.904556 [D3] -001 BYPASS_UNCALIBRATED No
4.904564 [D3] -001 RECTIFIER_UNCALIBRATED No
4.904572 [D3] -001 OUTPUT_UNCALIBRATED No
4.904580 [D3] -001 INVERTER_UNCALIBRATED No
4.904589 [D3] -001 DC_VOLT_UNCALIBRATED No
4.904596 [D3] -001 OUTPUT_CURRENT_UNCALIBRATED No
4.904601 [D3] -001 RECTIFIER_CURRENT_UNCALIBRATED No
4.904606 [D3] -001 BATTERY_CURRENT_UNCALIBRATED No
4.904611 [D3] -001 INVERTER_ON_OFF_STAT_FAIL No
4.904617 [D3] -001 BATTERY_CURRENT_LIMIT No
4.904622 [D3] -001 INVERTER_STARTUP_FAIL No
4.904627 [D3] -001 ANALOG_BOARD_AD_STAT_FAIL No
4.904632 [D3] -001 OUTPUT_CURRENT_OVER_100 No
4.904637 [D3] -001 BATTERY_GROUND_FAULT No
4.904642 [D3] -001 WAITING_FOR_CHARGER_SYNC No
4.904647 [D3] -001 NV_RAM_FAIL No
4.904652 [D3] -001 ANALOG_BOARD_AD_TIMEOUT No
4.904661 [D3] -001 SHUTDOWN_IMMINENT No
4.904669 [D2] 0009 BATTERY_LOW Yes
4.904679 [D2] 0010 UTILITY_FAIL Yes
4.904686 [D2] 0011 OUTPUT_SHORT_CIRCUIT Yes
4.904693 [D2] 0012 UTILITY_NOT_PRESENT Yes
4.904702 [D3] -001 FULL_TIME_CHARGING No
4.904709 [D3] -001 FAST_BYPASS_COMMAND No
4.904717 [D3] -001 AD_ERROR No
4.904726 [D3] -001 INTERNAL_COM_FAIL No
4.904733 [D3] -001 RECTIFIER_SELFTEST_FAIL No
4.904738 [D3] -001 RECTIFIER_EEPROM_FAIL No
4.904743 [D3] -001 RECTIFIER_EPROM_FAIL No
4.904748 [D3] -001 INPUT_LINE_VOLTAGE_LOSS No
4.904753 [D2] 0013 BATTERY_DC_OVER_VOLTAGE Yes
4.904758 [D3] -001 POWER_SUPPLY_OVER_TEMP No
4.904764 [D3] -001 POWER_SUPPLY_FAIL No
4.904768 [D3] -001 POWER_SUPPLY_5V_FAIL No
4.904773 [D3] -001 POWER_SUPPLY_12V_FAIL No
4.904779 [D2] 0014 HEATSINK_OVER_TEMP Yes
4.904784 [D3] -001 HEATSINK_TEMP_SENSOR_FAIL No
4.904789 [D3] -001 RECTIFIER_CURRENT_OVER_125 No
4.904798 [D3] -001 RECTIFIER_FAULT_INTERRUPT_FAIL No
4.904807 [D3] -001 RECTIFIER_POWER_CAPACITOR_FAIL No
4.904812 [D3] -001 INVERTER_PROGRAM_STACK_ERROR No
4.904817 [D3] -001 INVERTER_BOARD_SELFTEST_FAIL No
4.904822 [D3] -001 INVERTER_AD_SELFTEST_FAIL No
4.904827 [D3] -001 INVERTER_RAM_SELFTEST_FAIL No
4.904836 [D3] -001 NV_MEMORY_CHECKSUM_FAIL No
4.904844 [D3] -001 PROGRAM_CHECKSUM_FAIL No
4.904853 [D3] -001 INVERTER_CPU_SELFTEST_FAIL No
4.904861 [D3] -001 NETWORK_NOT_RESPONDING No
4.904867 [D3] -001 FRONT_PANEL_SELFTEST_FAIL No
4.904876 [D3] -001 NODE_EEPROM_VERIFICATION_ERROR No
4.904883 [D3] -001 OUTPUT_AC_OVER_VOLT_TEST_FAIL No
4.904891 [D3] -001 OUTPUT_DC_OVER_VOLTAGE No
4.904896 [D3] -001 INPUT_PHASE_ROTATION_ERROR No
4.904901 [D3] -001 INVERTER_RAMP_UP_TEST_FAILED No
4.904906 [D3] -001 INVERTER_OFF_COMMAND No
4.904911 [D3] -001 INVERTER_ON_COMMAND No
4.904916 [D3] -001 TO_BYPASS_COMMAND No
4.904921 [D3] -001 FROM_BYPASS_COMMAND No
4.904929 [D3] -001 AUTO_MODE_COMMAND No
4.904937 [D3] -001 EMERGENCY_SHUTDOWN_COMMAND No
4.904944 [D3] -001 SETUP_SWITCH_OPEN No
4.904949 [D3] -001 INVERTER_OVER_VOLT_INT No
4.904954 [D3] -001 INVERTER_UNDER_VOLT_INT No
4.904959 [D3] -001 ABSOLUTE_DCOV_ACOV No
4.904964 [D3] -001 PHASE_A_CURRENT_LIMIT No
4.904970 [D3] -001 PHASE_B_CURRENT_LIMIT No
4.904980 [D3] -001 PHASE_C_CURRENT_LIMIT No
4.904988 [D3] -001 BYPASS_NOT_AVAILABLE No
4.904997 [D3] -001 RECTIFIER_BREAKER_OPEN No
4.905004 [D3] -001 BATTERY_CONTACTOR_OPEN No
4.905009 [D3] -001 INVERTER_CONTACTOR_OPEN No
4.905014 [D3] -001 BYPASS_BREAKER_OPEN No
4.905019 [D3] -001 INV_BOARD_ACOV_INT_TEST_FAIL No
4.905025 [D3] -001 INVERTER_OVER_TEMP_TRIP No
4.905030 [D3] -001 INV_BOARD_ACUV_INT_TEST_FAIL No
4.905038 [D3] -001 INVERTER_VOLTAGE_FEEDBACK_ERROR No
4.905045 [D3] -001 DC_UNDER_VOLTAGE_TIMEOUT No
4.905052 [D3] -001 AC_UNDER_VOLTAGE_TIMEOUT No
4.905057 [D3] -001 DC_UNDER_VOLTAGE_WHILE_CHARGE No
4.905062 [D3] -001 INVERTER_VOLTAGE_BIAS_ERROR No
4.905071 [D3] -001 RECTIFIER_PHASE_ROTATION No
4.905079 [D3] -001 BYPASS_PHASER_ROTATION No
4.905089 [D3] -001 SYSTEM_INTERFACE_BOARD_FAIL No
4.905097 [D3] -001 PARALLEL_BOARD_FAIL No
4.905106 [D3] -001 LOST_LOAD_SHARING_PHASE_A No
4.905114 [D3] -001 LOST_LOAD_SHARING_PHASE_B No
4.905121 [D3] -001 LOST_LOAD_SHARING_PHASE_C No
4.905126 [D3] -001 DC_OVER_VOLTAGE_TIMEOUT No
4.905131 [D3] -001 BATTERY_TOTALLY_DISCHARGED No
4.905136 [D3] -001 INVERTER_PHASE_BIAS_ERROR No
4.905140 [D3] -001 INVERTER_VOLTAGE_BIAS_ERROR_2 No
4.905146 [D3] -001 DC_LINK_BLEED_COMPLETE No
4.905151 [D3] -001 LARGE_CHARGER_INPUT_CURRENT No
4.905156 [D3] -001 INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL No
4.905161 [D3] -001 LOSS_OF_REDUNDANCY No
4.905166 [D3] -001 LOSS_OF_SYNC_BUS No
4.905171 [D3] -001 RECTIFIER_BREAKER_SHUNT_TRIP No
4.905177 [D3] -001 LOSS_OF_CHARGER_SYNC No
4.905185 [D3] -001 INVERTER_LOW_LEVEL_TEST_TIMEOUT No
4.905194 [D3] -001 OUTPUT_BREAKER_OPEN No
4.905202 [D3] -001 CONTROL_POWER_ON No
4.905214 [D3] -001 INVERTER_ON No
4.905221 [D3] -001 CHARGER_ON No
4.905226 [D3] -001 BYPASS_ON No
4.905231 [D3] -001 BYPASS_POWER_LOSS No
4.905237 [D3] -001 ON_MANUAL_BYPASS No
4.905242 [D3] -001 BYPASS_MANUAL_TURN_OFF No
4.905247 [D3] -001 INVERTER_BLEEDING_DC_LINK_VOLT No
4.905252 [D3] -001 CPU_ISR_ERROR No
4.905257 [D3] -001 SYSTEM_ISR_RESTART No
4.905273 [D3] -001 PARALLEL_DC No
4.905282 [D3] -001 BATTERY_NEEDS_SERVICE No
4.905289 [D3] -001 BATTERY_CHARGING No
4.905294 [D2] 0015 BATTERY_NOT_CHARGED Yes
4.905299 [D3] -001 DISABLED_BATTERY_TIME No
4.905304 [D3] -001 SERIES_7000_ENABLE No
4.905309 [D3] -001 OTHER_UPS_ON No
4.905314 [D3] -001 PARALLEL_INVERTER No
4.905319 [D3] -001 UPS_IN_PARALLEL No
4.905324 [D3] -001 OUTPUT_BREAKER_REALY_FAIL No
4.905329 [D3] -001 CONTROL_POWER_OFF No
4.905334 [D3] -001 LEVEL_2_OVERLOAD_PHASE_A No
4.905339 [D3] -001 LEVEL_2_OVERLOAD_PHASE_B No
4.905344 [D2] 0016 LEVEL_2_OVERLOAD_PHASE_C Yes
4.905353 [D3] -001 LEVEL_3_OVERLOAD_PHASE_A No
4.905360 [D2] 0017 LEVEL_3_OVERLOAD_PHASE_B Yes
4.905371 [D3] -001 LEVEL_3_OVERLOAD_PHASE_C No
4.905377 [D2] 0018 LEVEL_4_OVERLOAD_PHASE_A Yes
4.905382 [D3] -001 LEVEL_4_OVERLOAD_PHASE_B No
4.905387 [D2] 0019 LEVEL_4_OVERLOAD_PHASE_C Yes
4.905393 [D2] 0020 UPS_ON_BATTERY Yes
4.905399 [D3] -001 UPS_ON_BYPASS No
4.905404 [D3] -001 LOAD_DUMPED No
4.905412 [D3] -001 LOAD_ON_INVERTER No
4.905420 [D3] -001 UPS_ON_COMMAND No
4.905428 [D2] 0021 UPS_OFF_COMMAND Yes
4.905436 [D3] -001 LOW_BATTERY_SHUTDOWN No
4.905444 [D3] -001 AUTO_ON_ENABLED No
4.905452 [D3] -001 SOFTWARE_INCOMPABILITY_DETECTED No
4.905457 [D3] -001 INVERTER_TEMP_SENSOR_FAILED No
4.905462 [D3] -001 DC_START_OCCURED No
4.905467 [D3] -001 IN_PARALLEL_OPERATION No
4.905472 [D3] -001 SYNCING_TO_BYPASS No
4.905477 [D3] -001 RAMPING_UPS_UP No
4.905482 [D3] -001 INVERTER_ON_DELAY No
4.905487 [D3] -001 CHARGER_ON_DELAY No
4.905492 [D3] -001 WAITING_FOR_UTIL_INPUT No
4.905497 [D3] -001 CLOSE_BYPASS_BREAKER No
4.905502 [D3] -001 TEMPORARY_BYPASS_OPERATION No
4.905507 [D3] -001 SYNCING_TO_OUTPUT No
4.905515 [D3] -001 BYPASS_FAILURE No
4.905523 [D3] -001 AUTO_OFF_COMMAND_EXECUTED No
4.905535 [D3] -001 AUTO_ON_COMMAND_EXECUTED No
4.905543 [D3] -001 BATTERY_TEST_FAILED No
4.905548 [D3] -001 FUSE_FAIL No
4.905552 [D3] -001 FAN_FAIL No
4.905557 [D3] -001 SITE_WIRING_FAULT No
4.905562 [D3] -001 BACKFEED_CONTACTOR_FAIL No
4.905568 [D3] -001 ON_BUCK No
4.905573 [D3] -001 ON_BOOST No
4.905578 [D3] -001 ON_DOUBLE_BOOST No
4.905583 [D3] -001 BATTERIES_DISCONNECTED No
4.905588 [D3] -001 UPS_CABINET_OVER_TEMP No
4.905593 [D3] -001 TRANSFORMER_OVER_TEMP No
4.905598 [D3] -001 AMBIENT_UNDER_TEMP No
4.905603 [D3] -001 AMBIENT_OVER_TEMP No
4.905608 [D3] -001 CABINET_DOOR_OPEN No
4.905613 [D3] -001 CABINET_DOOR_OPEN_VOLT_PRESENT No
4.905618 [D3] -001 AUTO_SHUTDOWN_PENDING No
4.905623 [D3] -001 TAP_SWITCHING_REALY_PENDING No
4.905628 [D3] -001 UNABLE_TO_CHARGE_BATTERIES No
4.905633 [D3] -001 STARTUP_FAILURE_CHECK_EPO No
4.905638 [D3] -001 AUTOMATIC_STARTUP_PENDING No
4.905646 [D3] -001 MODEM_FAILED No
4.905651 [D3] -001 INCOMING_MODEM_CALL_STARTED No
4.905656 [D3] -001 OUTGOING_MODEM_CALL_STARTED No
4.905661 [D3] -001 MODEM_CONNECTION_ESTABLISHED No
4.905666 [D3] -001 MODEM_CALL_COMPLETED_SUCCESS No
4.905671 [D2]
4.905676 [D2] Length of Config_block: 8318
4.905682 [D2] Length of statistics map: 252
4.905688 [D2] Length of alarm history log: 49158
4.905696 [D2] Length of topology block: 8309
4.905702 [D2] Length of max supported command length: 0
4.905707 [D2] Length of command list: 0
4.905712 [D2] Length of outlet_block: 0
4.905717 [D2] Length of alarm_block: 0
4.905726 [D3] send_read_command: (4 bytes) => ab 01 36 1e
4.906211 [D1] entering get_answer(36)
5.197273 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
5.197306 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
5.197322 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
5.197335 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
5.197342 [D1] get_answer: block_number = 6
5.197348 [D3] get_answer: data length = 80
5.197355 [D2] get_answer: sequence number (1) is ok
5.197361 [D2] get_answer: checksum is ok
5.197367 [D2] get_answer: all data received
5.197381 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
5.197396 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
5.197410 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
5.197421 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
5.197435 [D5] send_to_all: SETINFO output.voltage.nominal "220"
5.197444 [D5] send_to_all: SETINFO output.frequency.nominal "50"
5.197454 [D5] send_to_all: SETINFO ups.serial "RQPONMLKJI "
5.197462 [D5] send_to_all: SETINFO device.part "05147365-5502 "
5.197470 [D3] send_read_command: (4 bytes) => ab 01 3c 18
5.197957 [D1] entering get_answer(3c)
5.357254 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
5.357281 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
5.357287 [D1] get_answer: block_number = c
5.357293 [D3] get_answer: data length = 31
5.357299 [D2] get_answer: sequence number (1) is ok
5.357305 [D2] get_answer: checksum is ok
5.357310 [D2] get_answer: all data received
5.357323 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
5.357334 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
5.357347 [D5] send_to_all: SETINFO input.voltage.nominal "220"
5.357356 [D5] send_to_all: SETINFO input.frequency.nominal "50"
5.357364 [D5] send_to_all: SETINFO input.frequency.low "48"
5.357372 [D5] send_to_all: SETINFO input.frequency.high "52"
5.357380 [D5] send_to_all: SETINFO input.transfer.boost.high "187"
5.357387 [D5] send_to_all: SETINFO input.transfer.trim.low "242"
5.357397 [D5] send_to_all: SETINFO ups.beeper.status "enabled"
5.357405 [D5] send_to_all: SETINFO input.transfer.low "160"
5.357414 [D5] send_to_all: SETINFO input.transfer.high "276"
5.357421 [D5] send_to_all: SETINFO ambient.temperature.high "40"
5.357429 [D5] send_to_all: SETINFO battery.runtime.low "2"
5.357436 [D5] send_to_all: ADDCMD shutdown.return
5.357442 [D5] send_to_all: ADDCMD shutdown.stayoff
5.357448 [D5] send_to_all: ADDCMD test.battery.start
5.357457 [D3] send_read_command: (4 bytes) => ab 01 43 11
5.357941 [D1] entering get_answer(43)
5.485219 [D1] get_answer: (9 bytes) => ab 13 03 81 40 00 00 7e 00
5.485229 [D1] get_answer: block_number = 13
5.485234 [D3] get_answer: data length = 3
5.485239 [D2] get_answer: sequence number (1) is ok
5.485244 [D2] get_answer: checksum is ok
5.485249 [D2] get_answer: all data received
5.485257 [D5] get_answer: (3 bytes) => 40 00 00
5.485267 [D5] nut_find_infoval: found On-Line UPS, Single Phase (value: 64)
5.485278 [D5] send_to_all: SETINFO ups.description "On-Line UPS, Single Phase"
5.485288 [D3] send_write_command: (7 bytes) => ab 04 cf 69 e8 d5 5c
7.487273 [D3] send_write_command: (7 bytes) => ab 04 95 ff 00 00 bd
9.548923 [D1] entering get_answer(95)
9.661376 [D1] get_answer: (12 bytes) => ab 09 07 81 31 95 ff 01 06 0b 0c e1
9.661392 [D1] get_answer: block_number = 9
9.661399 [D3] get_answer: data length = 7
9.661406 [D2] get_answer: sequence number (1) is ok
9.661412 [D2] get_answer: checksum is ok
9.661418 [D2] get_answer: all data received
9.661428 [D5] get_answer: (7 bytes) => 31 95 ff 01 06 0b 0c
9.661440 [D5] send_to_all: ADDCMD beeper.disable
9.661447 [D5] send_to_all: ADDCMD beeper.enable
9.661454 [D5] send_to_all: ADDCMD beeper.mute
9.661466 [D5] send_to_all: SETINFO output.voltage.nominal "0"
9.661476 [D5] send_to_all: SETFLAGS output.voltage.nominal RW STRING
9.661483 [D5] send_to_all: SETAUX output.voltage.nominal 3
9.661496 [D5] send_to_all: SETINFO driver.state "init.updateinfo"
9.661510 [D3] send_read_command: (4 bytes) => ab 01 34 20
9.662039 [D1] entering get_answer(34)
9.885361 [D1] get_answer: (57 bytes) => ab 04 34 81 2d 01 00 00 e7 01 00 00 e2 15 48 42
9.885389 [D1] 96 0e 48 42 cd cc d0 42 64 00 00 00 f2 12 00 00 e6 00 00 00 1b 00 00 00 b8
9.885403 [D1] 1e 0d 40 8c 2e 5a 41 b8 0b 00 00 dc 00 00 00 ac
9.885410 [D1] get_answer: block_number = 4
9.885416 [D3] get_answer: data length = 52
9.885421 [D2] get_answer: sequence number (1) is ok
9.885427 [D2] get_answer: checksum is ok
9.885432 [D2] get_answer: all data received
9.885445 [D5] get_answer: (52 bytes) => 2d 01 00 00 e7 01 00 00 e2 15 48 42 96 0e 48 42
9.885461 [D5] cd cc d0 42 64 00 00 00 f2 12 00 00 e6 00 00 00 1b 00 00 00 b8 1e 0d 40 8c
9.885470 [D5] 2e 5a 41 b8 0b 00 00 dc 00 00 00
9.885486 [D5] send_to_all: SETINFO ups.realpower "301"
9.885496 [D5] send_to_all: SETINFO ups.power "487"
9.885519 [D5] send_to_all: SETINFO output.frequency "50.0"
9.885531 [D5] send_to_all: SETINFO input.frequency "50.0"
9.885541 [D5] send_to_all: SETINFO battery.voltage "104.4"
9.885551 [D5] send_to_all: SETINFO battery.charge "100"
9.885564 [D5] send_to_all: SETINFO battery.runtime "4850"
9.885573 [D5] send_to_all: SETINFO input.voltage "230"
9.885597 [D5] send_to_all: SETINFO ambient.temperature "27"
9.885607 [D5] send_to_all: SETINFO output.current " 2.2"
9.885618 [D5] send_to_all: SETINFO output.current.nominal "13.6"
9.885628 [D5] send_to_all: SETINFO output.voltage "220"
9.885651 [D5] send_to_all: SETINFO ups.load " 16.2"
9.885661 [D3] send_read_command: (4 bytes) => ab 01 35 1f
9.886145 [D1] entering get_answer(35)
10.045381 [D1] get_answer: (28 bytes) => ab 05 17 81 00 00 00 00 00 00 00 00 00 00 00 00
10.045399 [D1] 00 00 00 00 00 00 00 00 00 00 00 b8
10.045406 [D1] get_answer: block_number = 5
10.045411 [D3] get_answer: data length = 23
10.045416 [D2] get_answer: sequence number (1) is ok
10.045422 [D2] get_answer: checksum is ok
10.045427 [D2] get_answer: all data received
10.045439 [D5] get_answer: (23 bytes) => 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10.045447 [D5] 00 00 00 00 00 00 00
10.045461 [D3] send_read_command: (4 bytes) => ab 01 33 21
10.045941 [D1] entering get_answer(33)
10.173346 [D1] get_answer: (9 bytes) => ab 03 04 81 50 d3 00 84 26
10.173356 [D1] get_answer: block_number = 3
10.173361 [D3] get_answer: data length = 4
10.173367 [D2] get_answer: sequence number (1) is ok
10.173372 [D2] get_answer: checksum is ok
10.173377 [D2] get_answer: all data received
10.173384 [D5] get_answer: (4 bytes) => 50 d3 00 84
10.173398 [D5] send_to_all: SETINFO ups.status "OL"
10.173405 [D3] send_read_command: (4 bytes) => ab 01 3b 19
10.173886 [D1] entering get_answer(3b)
10.333365 [D1] get_answer: (26 bytes) => ab 0b 15 81 02 00 00 c0 42 00 00 ba 42 0a 00 00
10.333380 [D1] 00 00 00 00 00 00 00 01 04 a5
10.333386 [D1] get_answer: block_number = b
10.333391 [D3] get_answer: data length = 21
10.333397 [D2] get_answer: sequence number (1) is ok
10.333402 [D2] get_answer: checksum is ok
10.333407 [D2] get_answer: all data received
10.333419 [D5] get_answer: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00 00
10.333427 [D5] 00 00 00 01 04
10.333439 [D2] Battery Status: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00
10.333447 [D2] 00 00 00 00 01 04
10.333453 [D5] nut_find_infoval: found Done and passed (value: 2)
10.333464 [D5] send_to_all: SETINFO ups.test.result "Done and passed"
10.333470 [D2] Battery Status = Done and passed (2)
10.333475 [D2] ABM Status = 4
10.333485 [D5] send_to_all: SETINFO battery.charger.status "resting"
10.333493 [D3] send_read_command: (4 bytes) => ab 01 3c 18
10.333969 [D1] entering get_answer(3c)
10.509398 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
10.509422 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
10.509428 [D1] get_answer: block_number = c
10.509433 [D3] get_answer: data length = 31
10.509439 [D2] get_answer: sequence number (1) is ok
10.509444 [D2] get_answer: checksum is ok
10.509449 [D2] get_answer: all data received
10.509462 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
10.509473 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
10.509502 [D3] send_read_command: (4 bytes) => ab 01 36 1e
10.509990 [D1] entering get_answer(36)
10.813417 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
10.813446 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
10.813463 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
10.813476 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
10.813483 [D1] get_answer: block_number = 6
10.813489 [D3] get_answer: data length = 80
10.813495 [D2] get_answer: sequence number (1) is ok
10.813500 [D2] get_answer: checksum is ok
10.813506 [D2] get_answer: all data received
10.813519 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
10.813535 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
10.813549 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
10.813560 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
10.813574 [D5] send_to_all: SETINFO output.voltage.nominal "220"
10.813581 [D5] send_to_all: DATAOK
10.813590 [D5] send_to_all: SETINFO driver.state "init.quiet"
10.813873 [D2] dstate_init: sock /var/db/nut/bcmxcp_usb-PW9120 open on fd 8
10.813892 [D5] send_to_all: SETINFO driver.parameter.pollinterval "2"
10.813901 [D5] send_to_all: SETINFO driver.parameter.synchronous "auto"
10.813914 [D5] send_to_all: SETINFO device.mfr "Eaton"
10.813925 [D5] send_to_all: SETINFO device.model "PW9120 3000i"
10.813937 [D5] send_to_all: SETINFO device.serial "RQPONMLKJI "
10.813942 Running as foreground process, not saving a PID file
10.813950 [D5] send_to_all: SETINFO driver.flag.allow_killpower "0"
10.813960 [D5] send_to_all: SETFLAGS driver.flag.allow_killpower RW NUMBER
10.813968 [D5] send_to_all: ADDCMD driver.killpower
10.813975 [D5] send_to_all: ADDCMD driver.reload
10.813982 [D5] send_to_all: ADDCMD driver.reload-or-exit
10.813989 [D5] send_to_all: ADDCMD driver.reload-or-error
10.813996 [D5] send_to_all: SETINFO driver.state "quiet"
10.814002 [D1] Driver initialization completed, beginning regular infinite loop
10.814009 upsnotify: failed to notify about state 2: no notification tech defined, will not spam more about it
10.814018 [D5] send_to_all: SETINFO driver.state "updateinfo"
10.814028 [D3] send_read_command: (4 bytes) => ab 01 34 20
10.814508 [D1] entering get_answer(34)
11.037384 [D1] get_answer: (57 bytes) => ab 04 34 81 31 01 00 00 dc 01 00 00 c2 12 48 42
11.037408 [D1] 6b 0a 48 42 5c 8f d0 42 64 00 00 00 f2 12 00 00 e6 00 00 00 1b 00 00 00 b8
11.037421 [D1] 1e 0d 40 8c 2e 5a 41 b8 0b 00 00 dc 00 00 00 b3
11.037427 [D1] get_answer: block_number = 4
11.037433 [D3] get_answer: data length = 52
11.037438 [D2] get_answer: sequence number (1) is ok
11.037443 [D2] get_answer: checksum is ok
11.037448 [D2] get_answer: all data received
11.037462 [D5] get_answer: (52 bytes) => 31 01 00 00 dc 01 00 00 c2 12 48 42 6b 0a 48 42
11.037477 [D5] 5c 8f d0 42 64 00 00 00 f2 12 00 00 e6 00 00 00 1b 00 00 00 b8 1e 0d 40 8c
11.037487 [D5] 2e 5a 41 b8 0b 00 00 dc 00 00 00
11.037501 [D5] send_to_all: SETINFO ups.realpower "305"
11.037512 [D5] send_to_all: SETINFO ups.power "476"
11.037534 [D5] send_to_all: SETINFO battery.voltage "104.3"
11.037570 [D5] send_to_all: SETINFO ups.load " 15.9"
11.037579 [D3] send_read_command: (4 bytes) => ab 01 35 1f
11.038057 [D1] entering get_answer(35)
11.181398 [D1] get_answer: (28 bytes) => ab 05 17 81 00 00 00 00 00 00 00 00 00 00 00 00
11.181415 [D1] 00 00 00 00 00 00 00 00 00 00 00 b8
11.181420 [D1] get_answer: block_number = 5
11.181426 [D3] get_answer: data length = 23
11.181431 [D2] get_answer: sequence number (1) is ok
11.181436 [D2] get_answer: checksum is ok
11.181441 [D2] get_answer: all data received
11.181453 [D5] get_answer: (23 bytes) => 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
11.181461 [D5] 00 00 00 00 00 00 00
11.181474 [D3] send_read_command: (4 bytes) => ab 01 33 21
11.181949 [D1] entering get_answer(33)
11.309382 [D1] get_answer: (9 bytes) => ab 03 04 81 50 d3 00 84 26
11.309393 [D1] get_answer: block_number = 3
11.309398 [D3] get_answer: data length = 4
11.309403 [D2] get_answer: sequence number (1) is ok
11.309408 [D2] get_answer: checksum is ok
11.309413 [D2] get_answer: all data received
11.309420 [D5] get_answer: (4 bytes) => 50 d3 00 84
11.309434 [D3] send_read_command: (4 bytes) => ab 01 3b 19
11.309924 [D1] entering get_answer(3b)
11.469420 [D1] get_answer: (26 bytes) => ab 0b 15 81 02 00 00 c0 42 00 00 ba 42 0a 00 00
11.469444 [D1] 00 00 00 00 00 00 00 01 04 a5
11.469451 [D1] get_answer: block_number = b
11.469457 [D3] get_answer: data length = 21
11.469463 [D2] get_answer: sequence number (1) is ok
11.469469 [D2] get_answer: checksum is ok
11.469475 [D2] get_answer: all data received
11.469488 [D5] get_answer: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00 00
11.469496 [D5] 00 00 00 01 04
11.469509 [D2] Battery Status: (21 bytes) => 02 00 00 c0 42 00 00 ba 42 0a 00 00 00 00 00
11.469517 [D2] 00 00 00 00 01 04
11.469523 [D5] nut_find_infoval: found Done and passed (value: 2)
11.469534 [D2] Battery Status = Done and passed (2)
11.469540 [D2] ABM Status = 4
11.469552 [D3] send_read_command: (4 bytes) => ab 01 3c 18
11.470038 [D1] entering get_answer(3c)
11.645417 [D1] get_answer: (36 bytes) => ab 0c 1f 81 dc 00 32 00 2a 00 20 43 fa 00 bb 00
11.645436 [D1] f2 00 00 00 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00 85
11.645442 [D1] get_answer: block_number = c
11.645448 [D3] get_answer: data length = 31
11.645453 [D2] get_answer: sequence number (1) is ok
11.645458 [D2] get_answer: checksum is ok
11.645463 [D2] get_answer: all data received
11.645475 [D5] get_answer: (31 bytes) => dc 00 32 00 2a 00 20 43 fa 00 bb 00 f2 00 00 00
11.645487 [D5] 02 01 a0 00 14 01 00 00 00 00 28 01 01 00 00
11.645515 [D3] send_read_command: (4 bytes) => ab 01 36 1e
11.645992 [D1] entering get_answer(36)
11.917432 [D1] get_answer: (85 bytes) => ab 06 50 81 4a 01 30 75 00 21 fa 00 dc 00 32 00
11.917456 [D1] 00 00 00 bb ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04
11.917472 [D1] 02 04 02 00 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20
11.917484 [D1] 20 20 52 51 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20 7d
11.917490 [D1] get_answer: block_number = 6
11.917495 [D3] get_answer: data length = 80
11.917500 [D2] get_answer: sequence number (1) is ok
11.917506 [D2] get_answer: checksum is ok
11.917511 [D2] get_answer: all data received
11.917524 [D5] get_answer: (80 bytes) => 4a 01 30 75 00 21 fa 00 dc 00 32 00 00 00 00 bb
11.917539 [D5] ff 84 00 00 00 00 01 00 a7 00 00 00 00 00 04 08 04 08 00 00 04 02 04 02 00
11.917553 [D5] 00 00 00 00 00 00 1f 30 35 31 34 37 33 36 35 2d 35 35 30 32 20 20 20 52 51
11.917564 [D5] 50 4f 4e 4d 4c 4b 4a 49 20 20 20 20 20 20
11.917579 [D5] send_to_all: SETINFO driver.state "quiet"
🤷♂️
Today, it just started working...
The tools service that I was not able to start now started correctly at the first click on "start", weird.
The diagnostics page started spitting out UPS info too so I am guessing that the UI side of the plugin is dependant of that service.
I don't remember changing any config yesterday...
No clue really. Wouldn't touch it again while it works... Maybe the USB is somewhat flaky, how old is the UPS gear?
Quote from: franciz on August 27, 2024, 06:52:52 PM
The diagnostics page started spitting out UPS info too so I am guessing that the UI side of the plugin is dependant of that service.
Yes, as posted above, those services need to be running to get info via the GUI;
upsmon is not enough,.
Quote from: doktornotor on August 27, 2024, 06:56:13 PM
Maybe the USB is somewhat flaky, how old is the UPS gear?
Ufff, must be at least 15 years old...
Maybe it was the USB cable and it just needed some time to adapt to it :P
EDIT: It seems to be some conflict between the command line usage and the UI side.
It was working correctly on web, I run the bcmxcp_usb (twice) from the command line and now again it is not working on the web and I cannot start the service...
EDIT2: After a few minutes it let me start the service again and is now working.