<div dir="ltr">Trying to configure multiple UPS on one Raspberry Pi 4 (Bullseye).<div><br></div><div>Issue: Whenever more than one is plugged in, one shows as all - as in "upsc x" for all of them shows identical information for one UPS rather distinct for each plugged in.</div><div><br></div><div>OS:</div><div><div>/proc/version = "Linux version 5.10.103-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 SMP Tue Mar 8 12:24:00 GMT 2022"</div><div><div><br></div><div>I'm using the latest updates to OS and running the latest apt nut packages in the dist (2.7.x?).</div><div><br></div><div>UPS in use:</div><div>One UPS is APC, two are branded Cyber Power, one is branded Amazon Basics but lsusb matches to (and others report is built by) Cyber Power. All are "driver = usbhid-ups".<div><br></div><div>Relevant lsusb lines:</div><div>ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS<br>ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS<br>ID 051d:0002 American Power Conversion Uninterruptible Power Supply<br><div>ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS<br></div><div>(Bus/Device varies greatly, of course, so omitted)</div><div><br></div><div>Here's my ups.conf file:<br></div><div><quote></div></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">[sl]<br>        driver = usbhid-ups<br>        port = auto<br>        desc = "CyberPower UPS SL"<br>        -x product = "SL Series"<br>        -x model = "SL Series"<br>        -x productid = 0501<br>        -x vendorid  = 0764<br><br>[ab]<br>        driver = usbhid-ups<br>        port = auto<br>        desc = "CyberPower UPS AB"<br>        -x product = ABST600<br>        -x model = ABST600<br>        -x productid = 0501<br>        -x vendorid  = 0764<br><br>[cp]<br>        driver = usbhid-ups<br>        port = auto<br>        desc = "CyberPower UPS CP"<br>        -x model = "CP685AVR-G"<br>        -x vendorid = "0764*"<br>        -x product  = "CP*"<br><br>[apc]<br>        driver = usbhid-ups<br>        port = auto<br>        desc = "APC BE600M1 UPS"<br>        -x product = "Back-UPS ES 600M1*"<br>        -x model = "Back-UPS ES 600M1"<br>        -x vendorid  = 051d<br></blockquote><div><div><div><div><div></quote></div></div></div><div><br></div><div>Major issue:</div><div>For whatever reason, only one UPS gets recognized regardless of how precise or loose I am in the matching - I've commented out or restored each of the "-x" parameters.<br></div></div><div><br></div><div>When I only have one plugged in at a time, here's the ups.model (same as device.model) info for the four:</div>apc: APC: Back-UPS ES 600M1<br><div>ab: CPS (Amazon): ABST600<br>sl: CPS:  SL Series<br>cp: CPS:  CP685AVR-G<br></div><div><br></div><div>The three units recognized by lsusb as Cyber Power do not report a device.serial, so I can't match based on that.<br></div><div><br></div><div>When multiple are plugged in, no matter which I "upsc x", it comes back for the same one (i.e., "upsc sl" and "upsc apc" return the same UPS's data).<br></div><div><br></div><div>I've tried commenting out various combinations of the "-x" (thinking maybe it was "or" instead of "and"), no difference.</div><div><br></div><div>Thanks in advance for any leads/help.</div><div><br></div><div>(Refs:</div><div><a href="https://networkupstools.org/docs/user-manual.chunked/apfs02.html">https://networkupstools.org/docs/user-manual.chunked/apfs02.html</a></div></div></div><div><a href="https://networkupstools.org/docs/man/ups.conf.html">https://networkupstools.org/docs/man/ups.conf.html</a><br></div><div><a href="https://networkupstools.org/ddl/Cyber_Power_Systems/CP1500AVRLCD.html">https://networkupstools.org/ddl/Cyber_Power_Systems/CP1500AVRLCD.html</a><br></div><div><a href="https://perfecto25.medium.com/monitor-cyberpower-ups-devices-with-raspberry-pi-99559725dbb8">https://perfecto25.medium.com/monitor-cyberpower-ups-devices-with-raspberry-pi-99559725dbb8</a><br></div><div><a href="https://www.howtoraspberry.com/2020/11/how-to-monitor-ups-with-raspberry-pi/">https://www.howtoraspberry.com/2020/11/how-to-monitor-ups-with-raspberry-pi/</a><br></div><div><a href="https://www.networkshinobi.com/raspberry-pi-as-ups-server-via-the-nut/">https://www.networkshinobi.com/raspberry-pi-as-ups-server-via-the-nut/</a><br></div><div><a href="https://docs.technotim.live/posts/NUT-server-guide/">https://docs.technotim.live/posts/NUT-server-guide/</a><br></div><div><a href="https://melgrubb.com/2016/12/11/rphs-v2-ups/">https://melgrubb.com/2016/12/11/rphs-v2-ups/</a><br></div><div><a href="https://community.openhab.org/t/beginners-guide-to-network-ups-tools-nut-on-a-raspberry-pi/78443/1">https://community.openhab.org/t/beginners-guide-to-network-ups-tools-nut-on-a-raspberry-pi/78443/1</a><br></div><div>)</div><div><br></div></div>