Open Briandr73 opened 1 year ago
Can't find a model named "CP 550va" on CyberPower site or general internet. Some web-shops indicate models with 550 VA power rating and different model numbers and exterior designs.
The general suggestion is to try loading different drivers, most likely usbhid-ups
or snmp-ups
(if yours is networked with an RMCard).
There were some improvements for CPS in NUT v2.8.0 release and later in the master branch, so you can try to custom-build NUT as suggested at e.g. https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests to run the current driver right from the build workspace to see if it picks up your device.
Hello and thank you for replying here. Apologies the correct name is SX550Ga from the bottom of the unit. Until I have the Pi 400 setup with NUT I can't confirm what happened in the past. I want to say usbhid-ups loaded, I think but it was flagged as different CyberPower UPS. This particular SX550Ga looks like oversized power strip with no LED display, to me basically a dumb ups. So networking options for it. Getting some data on it from NUT would be a huge help.
This is a SX550Ga from CyberPower UPS
brian@raspberrypi:~ $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 04d9:0007 Holtek Semiconductor, Inc. Raspberry Pi Internal Keyboard Bus 001 Device 008: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS Bus 001 Device 007: ID 275d:0ba6 USB OPTICAL MOUSE Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
brian@raspberrypi:~ $ sudo upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 No matching HID UPS found Driver failed to start (exit status=1)
from ups.conf pollinterval = 1 maxretry = 3
[lexups] driver=usbhid-ups port=auto desc = "CyberPower 550va" vendorid=0764 productid=0501 product=ST Series vendor=CPS bus=001
when I run the below command the following is returned
systemctl status nut-monitor.servic
● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2023-07-22 19:59:07 EDT; 56s ago Process: 2144 ExecStart=/sbin/upsmon (code=exited, status=1/FAILURE) CPU: 6ms
Jul 22 19:59:07 raspberrypi systemd[1]: Starting Network UPS Tools - power device monitor and shutdown controller... Jul 22 19:59:07 raspberrypi upsmon[2144]: fopen /run/nut/upsmon.pid: No such file or directory Jul 22 19:59:07 raspberrypi upsmon[2144]: Unable to use old-style MONITOR line without a username Jul 22 19:59:07 raspberrypi upsmon[2144]: Convert it and add a username to upsd.users - see the documentation Jul 22 19:59:07 raspberrypi upsmon[2144]: Fatal error: unusable configuration Jul 22 19:59:07 raspberrypi upsmon[2144]: Network UPS Tools upsmon 2.7.4 Jul 22 19:59:07 raspberrypi systemd[1]: nut-monitor.service: Control process exited, code=exited, status=1/FAILURE Jul 22 19:59:07 raspberrypi systemd[1]: nut-monitor.service: Failed with result 'exit-code'. Jul 22 19:59:07 raspberrypi systemd[1]: Failed to start Network UPS Tools - power device monitor and shutdown controller.
upsmon and upsd.users
RUN_AS_USER root
MONITOR lexups@localhost 1 admin mypasswd
[lexups] password = mypasswd admin master
For upsmon - it misses "master"/"slave" keyword
For driver - did you have a chance to build and check with current git sources?
Hi -
Apologies as its around 3:45am as I am replying to your last message. Has upsmon changed recently? I'd have to check my Orange Pi (no monitor connected). I did find this online and was wondering if that would fix this.
MONITOR qnapups@localhost 1 upsmon 123456 master
I am not sure what you mean by build, but I had only tried usbhid-ups. Honestly if this UPS is not supported its not a huge let down. I'd like to see it work and I probably should have checked to see if it was compatible with nut but my interest in nut only grew after acquiring ups's and messing with HA.
I will check later this morning when I am fully awake.
Hello,
Adding something similar to the line below resolved one issue
MONITOR qnapups@localhost 1 upsmon 123456 master
For some reason this line was not liked in the ups.conf
product=ST Series
Once removed I was able to run the upsc command and I got stats returned. For some reason my input and output voltage are the same within nothing plugged in. Would expect output voltage to be 0
Ah, single tokens with spaces should be quoted :\
There are some issues filed about input/output values so maybe even a newer build won't immediately solve that part. As for voltage, I'd say it is always there, like height of a cliff regardless of there being an active waterfall. The current or load readings would be 0 in your example.
As for "build" - you know, FOSS is there for anyone to tinker and compile (build) programs. Might get you closer to fixing those bogus readings for everyone ;)
Hello,
Wanted to revisit for a quick question. How many CyberPower UPS's are going to detect via lsusb as a CP1500 AVR UPS. I know have two including the one discussed in this issue raised (SX550Ga) as well as a newly acquired SL750U. At this point I probably won't need any more UPS's, but how many more are being detected as a CP1500 AVR. Is there anywhere to see which respective models will detect to a generic one such as CP1500 AVR.
Well, that sounds like a firmware bug to me, so the question is to CPS if they behave so. Numbers should generally sit with W or VA ratings.
You may very well be correct, but just checked CyberPower's support page and I see no firmware updates for either of the two UPS's. My other UPS's that have Rmcard205 I do from time to time see firmware updates, but not these. I will be checking the input and output wattage based on manufacturer specs to compare to what NUT is telling me. I have a feeling they are not spot on.
Just to confirm what I suspect you will say, there is no other driver I could try besides usbhid-ups. Sorry have not had a chance to check out the input and output voltages on my two units. hope to do so later.
Hello,
I may have asked this question 6 months ago or longer (cannot find the thread), but from checking the page below it does not appear my CP 550va is supported.
https://networkupstools.org/ddl/Cyber_Power_Systems/
I don't think a driver could not be loaded, might be wrong. Any suggestions for this type of UPS that does not show up on supported devices list?
Thank you.