Robert Stocker
2020-Oct-25 15:52 UTC
[Nut-upsuser] Can't get CyberPower UPS to work with Raspberry Pi 4
This was very helpful for me, thank you! On Sat, Oct 24, 2020 at 9:06 AM Charles Lepple <clepple at gmail.com> wrote:> The easiest way to tell if upsd is working is to run "upsc -l" on the same > system, which will list the NUT UPS names, and then run e.g. "upsc mge" > (replacing "mge" with the name returned by "upsc -l") >Here was the output I got from the second command: Init SSL without certificate database battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 15690 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 24.0 battery.voltage.nominal: 24 device.mfr: CPS device.model: CST135XLU device.serial: CR7EO2003120 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 5 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: CyberPower HID 0.4 driver.version.internal: 0.41 input.voltage: 121.0 input.voltage.nominal: 120 output.voltage: 137.0 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 4 ups.mfr: CPS ups.model: CST135XLU ups.productid: 0501 ups.realpower.nominal: 810 ups.serial: CR7EO2003120 ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764> If you run systemctl, you should see something like this: >And here's what I got from that: nut-driver.service loaded active running Network UPS Tools - power device driver controller nut-monitor.service loaded active running Network UPS Tools - power device monitor and shutdown controller nut-server.service loaded active running Network UPS Tools - power devices information server -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20201025/96fb71de/attachment.html>
Charles Lepple
2020-Oct-26 13:01 UTC
[Nut-upsuser] Can't get CyberPower UPS to work with Raspberry Pi 4
On Oct 25, 2020, at 11:52 AM, Robert Stocker <kneadtoknow at gmail.com> wrote:> > Init SSL without certificate database > battery.charge: 100 > battery.charge.low: 10 > battery.charge.warning: 20 > battery.mfr.date: CPS > battery.runtime: 15690 > battery.runtime.low: 300 > battery.type: PbAcid > battery.voltage: 24.0 > battery.voltage.nominal: 24I don't have the citation handy, but I think another user reported that the battery.voltage returned by the UPS is a constant 24.0 V, regardless of the actual battery voltage.> device.mfr: CPS > device.model: CST135XLU > device.serial: CR7EO2003120 > device.type: ups > driver.name: usbhid-ups > driver.parameter.pollfreq: 30 > driver.parameter.pollinterval: 5 > driver.parameter.port: auto > driver.parameter.synchronous: no > driver.version: 2.7.4 > driver.version.data: CyberPower HID 0.4 > driver.version.internal: 0.41 > input.voltage: 121.0 > input.voltage.nominal: 120 > output.voltage: 137.0Given the description on the product page you sent earlier, the UPS is likely not providing 137.0 V, but is bypassing the transformer since the power is good. https://www.cyberpowersystems.com/product/ups/battery-backup/cst135xlu/ This is another known CyberPower issue, and fixing it properly requires making some changes deep in the core USB HID code (that would require a lot of testing on other vendors' equipment) for what is basically a cosmetic issue: https://github.com/networkupstools/nut/issues/439> ups.beeper.status: disabled > ups.delay.shutdown: 20 > ups.delay.start: 30For these delays, note there seems to be an issue with ondelay/ups.delay.start: https://github.com/networkupstools/nut/issues/625 and rounding of the timers down to the next lower minute: https://github.com/networkupstools/nut/blob/f3a40e4595c1f18368f89b9af338bfe52dd06846/docs/man/usbhid-ups.txt#L53-L78 so basically I'd recommend testing shutdown extensively.> ups.load: 4 > ups.mfr: CPS > ups.model: CST135XLU > ups.productid: 0501 > ups.realpower.nominal: 810 > ups.serial: CR7EO2003120 > ups.status: OL > ups.test.result: No test initiated > ups.timer.shutdown: -60 > ups.timer.start: -60 > ups.vendorid: 0764 > > If you run systemctl, you should see something like this: > > And here's what I got from that: > > nut-driver.service loaded active running Network UPS Tools - power device driver controller > nut-monitor.service loaded active running Network UPS Tools - power device monitor and shutdown controller > nut-server.service loaded active running Network UPS Tools - power devices information server >
Charles Lepple
2020-Oct-26 13:30 UTC
[Nut-upsuser] Can't get CyberPower UPS to work with Raspberry Pi 4
On Oct 26, 2020, at 9:01 AM, I wrote:> >> battery.voltage: 24.0 >> battery.voltage.nominal: 24 > > I don't have the citation handy, but I think another user reported that the battery.voltage returned by the UPS is a constant 24.0 V*another user reported that CyberPower support said the voltage returned is a constant 24.0 V.
Gene Heskett
2020-Oct-26 13:38 UTC
[Nut-upsuser] Can't get CyberPower UPS to work with Raspberry Pi 4
On Monday 26 October 2020 09:01:31 Charles Lepple wrote:> On Oct 25, 2020, at 11:52 AM, Robert Stocker <kneadtoknow at gmail.com>wrote:> > Init SSL without certificate database > > battery.charge: 100 > > battery.charge.low: 10 > > battery.charge.warning: 20 > > battery.mfr.date: CPS > > battery.runtime: 15690 > > battery.runtime.low: 300 > > battery.type: PbAcid > > battery.voltage: 24.0 > > battery.voltage.nominal: 24 > > I don't have the citation handy, but I think another user reported > that the battery.voltage returned by the UPS is a constant 24.0 V, > regardless of the actual battery voltage. > > > device.mfr: CPS > > device.model: CST135XLU > > device.serial: CR7EO2003120 > > device.type: ups > > driver.name: usbhid-ups > > driver.parameter.pollfreq: 30 > > driver.parameter.pollinterval: 5 > > driver.parameter.port: auto > > driver.parameter.synchronous: no > > driver.version: 2.7.4 > > driver.version.data: CyberPower HID 0.4 > > driver.version.internal: 0.41 > > input.voltage: 121.0 > > input.voltage.nominal: 120 > > output.voltage: 137.0 > > Given the description on the product page you sent earlier, the UPS is > likely not providing 137.0 V, but is bypassing the transformer since > the power is good. > > https://www.cyberpowersystems.com/product/ups/battery-backup/cst135xlu >/ > > This is another known CyberPower issue, and fixing it properly > requires making some changes deep in the core USB HID code (that would > require a lot of testing on other vendors' equipment) for what is > basically a cosmetic issue: > > https://github.com/networkupstools/nut/issues/439 > > > ups.beeper.status: disabled > > ups.delay.shutdown: 20 > > ups.delay.start: 30 > > For these delays, note there seems to be an issue with > ondelay/ups.delay.start: > > https://github.com/networkupstools/nut/issues/625 > > and rounding of the timers down to the next lower minute: > > https://github.com/networkupstools/nut/blob/f3a40e4595c1f18368f89b9af3 >38bfe52dd06846/docs/man/usbhid-ups.txt#L53-L78 > > so basically I'd recommend testing shutdown extensively. > > > ups.load: 4 > > ups.mfr: CPS > > ups.model: CST135XLU > > ups.productid: 0501 > > ups.realpower.nominal: 810 > > ups.serial: CR7EO2003120 > > ups.status: OL > > ups.test.result: No test initiated > > ups.timer.shutdown: -60 > > ups.timer.start: -60 > > ups.vendorid: 0764 > > > > If you run systemctl, you should see something like this: > > > > And here's what I got from that: > > > > nut-driver.service loaded active running Network UPS Tools > > - power device driver controller nut-monitor.service loaded > > active running Network UPS Tools - power device monitor and > > shutdown controller nut-server.service loaded active running > > Network UPS Tools - power devices information server >I think it may be dependent on thhe ups. I have a 625 WA cyberpower on an rpi4, and I believe its more truthfull. Is this helpfull? pi at rpi4:/media/pi/workspace $ upsc myups Init SSL without certificate database battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 4410 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 14.5 battery.voltage.nominal: 12 device.mfr: CPS device.model: CP625HGa device.type: ups driver.name: usbhid-ups driver.parameter.offdelay: 120 driver.parameter.ondelay: 0 driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: CyberPower HID 0.4 driver.version.internal: 0.41 input.transfer.high: 0 input.transfer.low: 0 input.voltage: 124.0 input.voltage.nominal: 120 output.voltage: 124.0 ups.beeper.status: enabled ups.delay.shutdown: 120 ups.delay.start: 0 ups.load: 8 ups.mfr: CPS ups.model: CP625HGa ups.productid: 0501 ups.realpower.nominal: 375 ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: 0 ups.vendorid: 0764 It has to hold up the pi, but only long enough for the 20kw nat gas fired generac outside the back garage door to start, nominally 5 seconds according to its -wall broadcasts. It shuts down if unplugged in only a couple minutes, but will not accept a longer timeout. It does do the job I bought it to do. The pi's draw and the interface card is about 13 or 14 WA.> _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuserCheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
Charles Lepple
2020-Oct-26 13:47 UTC
[Nut-upsuser] Can't get CyberPower UPS to work with Raspberry Pi 4
On Oct 26, 2020, at 9:01 AM, I wrote:> >> battery.voltage.nominal: 24 > > I don't have the citation handy, but I think another user reported that the battery.voltage returned by the UPS is a constant 24.0 V, regardless of the actual battery voltage.Here's what I was thinking of: https://github.com/networkupstools/nut-ddl/blob/8995562a0253e980d36f6bdddfe09c9f2c866657/Cyber_Power_Systems/Cyber_Power_Systems__CP1500PFCLCD__usbhid-ups__2.7.1__01.dev#L11-L13 "CyberPower states that battery voltage is not supported in this model of UPS. [CP1500PFCLCD; circa 2014] It's not even shown in their 'PowerPanel' software."
Reasonably Related Threads
- Can't get CyberPower UPS to work with Raspberry Pi 4
- Can't get CyberPower UPS to work with Raspberry Pi 4
- Can't get CyberPower UPS to work with Raspberry Pi 4
- Can't get CyberPower UPS to work with Raspberry Pi 4
- Can't get CyberPower UPS to work with Raspberry Pi 4