Open mailinglists35 opened 11 months ago
also, upscmd beeper.toggle doesn't work. but on upsmart I can toggle the beeper
pcaps attached during beeper command
upsmart also produces a debug log:
$ cat DebugLog20231129_USB.txt
Date/Time,State,Command
2023.11.29 22:03:55,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:55,Receive,(232.0 000.0 232.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:03:54,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:03:54,Receive,# . . 12.00 .
2023.11.29 22:03:53,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:53,Receive,(232.0 000.0 232.0 000 49.7 13.6 29.0 00001000
2023.11.29 22:03:52,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:52,Receive,(232.0 000.0 232.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:03:51,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:51,Receive,(232.0 000.0 234.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:03:50,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:03:50,Receive,# V3.8
2023.11.29 22:03:49,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:49,Receive,(232.0 000.0 232.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:03:48,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:03:48,Receive,# . . 12.00 .
2023.11.29 22:03:47,Send,80 06 07 03 09 04 00 66
2023.11.29 22:03:47,Receive,UPS No Ack
2023.11.29 22:03:46,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:46,Receive,(231.0 000.0 232.0 000 49.7 13.6 29.0 00001000
2023.11.29 22:03:45,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:45,Receive,(232.0 000.0 234.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:03:44,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:44,Receive,(231.0 000.0 233.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:03:43,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:03:43,Receive,# V3.8
2023.11.29 22:03:42,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:42,Receive,(231.0 000.0 232.0 000 49.6 13.6 29.0 00001000
2023.11.29 22:03:41,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:03:41,Receive,# . . 12.00 .
2023.11.29 22:03:40,Send,80 06 03 03 09 04 00 66
2023.11.29 22:03:40,Receive,(235.0 000.0 236.0 000 50.1 13.7 29.0 00001000
maybe you manage to find which one is the beeper (they call it buzzer)
$ cat DebugLog20231129_USB.txt
Date/Time,State,Command
2023.11.29 22:06:49,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:49,Receive,(232.0 000.0 234.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:48,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:48,Receive,# . . 12.00 .
2023.11.29 22:06:47,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:47,Receive,(234.0 000.0 234.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:46,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:46,Receive,(233.0 000.0 235.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:06:45,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:45,Receive,(232.0 000.0 234.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:44,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:06:44,Receive,# V3.8
2023.11.29 22:06:43,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:43,Receive,(231.0 000.0 233.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:42,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:42,Receive,# . . 12.00 .
2023.11.29 22:06:41,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:41,Receive,(232.0 000.0 233.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:06:40,Send,80 06 07 03 09 04 00 66
2023.11.29 22:06:40,Receive,UPS No Ack
2023.11.29 22:06:39,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:39,Receive,(232.0 000.0 233.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:06:38,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:38,Receive,(232.0 000.0 234.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:37,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:06:37,Receive,# V3.8
2023.11.29 22:06:36,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:36,Receive,(232.0 000.0 234.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:35,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:35,Receive,# . . 12.00 .
2023.11.29 22:06:34,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:34,Receive,(232.0 000.0 233.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:33,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:33,Receive,(232.0 000.0 235.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:32,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:32,Receive,(231.0 000.0 232.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:31,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:06:31,Receive,# V3.8
2023.11.29 22:06:30,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:30,Receive,(231.0 000.0 232.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:29,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:29,Receive,# . . 12.00 .
2023.11.29 22:06:28,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:28,Receive,(231.0 000.0 231.0 000 49.7 13.6 29.0 00001000
2023.11.29 22:06:27,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:27,Receive,(231.0 000.0 232.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:26,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:26,Receive,(231.0 000.0 231.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:25,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:06:25,Receive,# V3.8
2023.11.29 22:06:24,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:24,Receive,(230.0 000.0 231.0 000 49.8 13.6 29.0 00001000
2023.11.29 22:06:23,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:23,Receive,# . . 12.00 .
2023.11.29 22:06:22,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:22,Receive,(230.0 000.0 231.0 000 49.9 13.6 29.0 00001000
2023.11.29 22:06:21,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:21,Receive,(231.0 000.0 232.0 000 49.7 13.6 29.0 00001000
2023.11.29 22:06:20,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:20,Receive,*231.0 000.0 232.0 000 50.0 13.6 29.0 00001000
2023.11.29 22:06:19,Send,80 06 0c 03 09 04 00 66
2023.11.29 22:06:19,Receive,# V3.8
2023.11.29 22:06:18,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:18,Receive,(231.0 000.0 232.0 000 49.7 13.6 29.0 00001000
2023.11.29 22:06:17,Send,80 06 0d 03 09 04 00 66
2023.11.29 22:06:17,Receive,# . . 12.00 .
2023.11.29 22:06:16,Send,80 06 03 03 09 04 00 66
2023.11.29 22:06:16,Receive,(231.0 000.0 232.0 000 49.7 13.6 29.0 00001000
Thank you very much for the detailed report. There were a couple of mentions over the years that some devices needed an initialization by vendor SW to become visible to NUT (though I had the impression that once per lifetime was enough in those cases), but I don't remember any report on it as detailed as yours!
I've posted on the nut-upsdev mailing list to bring some more attention to this ticket, hopefully someone with Qx drivers' programming experience would chime in and be more relevant here than myself.
additional info: it seems all readings done by nut after starting/stopping vendor sw are the same values, as if I'm reading from a cache. so the command that the UPSmart issues it must be done at each reading, or else we will read not fresh data.
This is another debug log from the vendor. I notice it cycles the same commands, I think on the third field it differs to 03, 0c, 0d
Hi, Did anyone respond to your mailing list message?
scenario 1:
plug usb start nut (no matter how many times start stop nut)
result: values are all zero
scenario 2:
plug usb start upsmart once exit upsmart start nut stop/start nut forever
result: values are like in upsmart
remove cable, replug cable, goto scenario 1
attached nut.pcap on scenario 1 upsmart.pcap and nut pcap in scenario 2 device commercial name: UPS Serioux Line Interactive 800LI, SKU codename SRXU-LD800LI or LD800LI hope this helps you find what upsmart is doing to "initialize" the ups and improve the hunnox subdriver linux version of upsmart: https://zircon.co.th/download_software_for_ups scroll down click on download upsmart will take you to a google drive link PS: