I bought this UPS on amazon:
EPYC Neon UPS, Gruppo di Continuità per PC, Potenza 650VA/360Watt, Tecnologia Line Interactive, AVR, Nero
The specific sw for linux downloadable from the manufacturer site is a real crap but you can install NUT:
root@server:~# aptitude install nut nut-client nut-server
root@server:~# lsusb | grep -i cyber
Bus 004 Device 006: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
root@core:~# cat /etc/nut/ups.conf | grep -vE "^#" | sed -e '/^$/d'
maxretry = 3
[ups]
driver = usbhid-ups
port = auto
desc = "EPYC"
root@core:~# upsc ups
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: 1
battery.runtime: 1860
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 13.7
battery.voltage.nominal: 12
device.mfr: 1
device.model: 650
device.serial:
device.type: ups
driver.name: usbhid-ups
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: 290
input.transfer.low: 165
input.voltage: 239.6
input.voltage.nominal: 230
output.voltage: 239.3
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 20
ups.mfr: 1
ups.model: 650
ups.productid: 0601
ups.realpower.nominal: 360
ups.serial:
ups.status: OL
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764
Thanks to https://medium.com/@mike.reider/monitor-cyberpower-ups-devices-with-raspberry-pi-99559725dbb8
Nessun commento:
Posta un commento