networkupstools / nut

The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
https://networkupstools.org/
Other
1.92k stars 346 forks source link

Advice Ain1500-3 supported - DDL #2281

Open amitnos123 opened 7 months ago

amitnos123 commented 7 months ago
upsc
-----------
battery.charge: 83
battery.packs: 0.5
battery.voltage: 27.5
battery.voltage.high: 27.8
battery.voltage.low: 26
battery.voltage.nominal: 24
device.type: ups
driver.debug: 5
driver.flag.allow_killpower: 0
driver.name: nutdrv_qx
driver.parameter.bus: 001
driver.parameter.busport: 004
driver.parameter.default.battery.voltage.high: 27.8
driver.parameter.default.battery.voltage.low: 26
driver.parameter.default.battery.voltage.nominal: 24
driver.parameter.device: 008
driver.parameter.override.battery.packs: 0.5
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.product: MEC0003
driver.parameter.productid: 0000
driver.parameter.synchronous: auto
driver.parameter.vendor: MEC
driver.parameter.vendorid: 0001
driver.state: quiet
driver.version: 2.8.1
driver.version.data: Q1 0.08
driver.version.internal: 0.36
driver.version.usb: libusb-1.0.26 (API: 0x1000109)
input.frequency: 50.0
input.voltage: 223.5
input.voltage.fault: 223.5
output.voltage: 223.5
ups.beeper.status: disabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 17
ups.productid: 0000
ups.status: OL
ups.type: offline / line interactive
ups.vendorid: 0001
upscmd -l
--------------------
beeper.toggle - Toggle the UPS beeper
driver.killpower - Tell the driver daemon to initiate UPS shutdown; should be unlocked with driver.flag.allow_killpower option or variable setting
driver.reload - Reload running driver configuration from the file system (only works for changes in some options)
driver.reload-or-error - Reload running driver configuration from the file system (only works for changes in some options); return an error if something changed and could not be applied live (so the caller can restart it with new options)
driver.reload-or-exit - Reload running driver configuration from the file system (only works for changes in some options); exit the running driver if something changed and could not be applied live (so service management framework can restart it with new options)
load.off - Turn off the load immediately
load.on - Turn on the load immediately
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start - Start a battery test
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test

UPS datasheet Battery datasheet

The datasheet shows the UPS is supposed to support up to 900W. On mine written it can support up to 1050W.

I'm on Manjaro 23.1.3 Network UPS Tools upsc 2.8.1

Feel free to contact, if more info is needed

amitnos123 commented 7 months ago

Something I forgot to mention. In ups.conf I set for the UPS:

override.battery.packs = 0.5
default.battery.voltage.nominal = 24
default.battery.voltage.high = 27.8
default.battery.voltage.low = 26
amitnos123 commented 6 months ago

@jimklimov Sorry to bug you on this I can get my hands on other UPS from Advice. I am talking about other UPS from their series of Advice Ain %%%%

where %%%% is a number

Would it help, if I test on them aswell?

jimklimov commented 6 months ago

Sure thing! It may take a while for me to port such reports into the DDL and HCL databases, but eventually me or somebody else does - and the info helps future users buy what works :) In some cases, devices branded by same vendor are internally unrelated (and more so about different vendors who re-use same USB IDs), so knowing that one model talks a known protocols is not a guarantee that another does. So knowing exactly is better :)