<div dir="ltr">Ok, so I ask for help.<div>I was able to configure through usbhid-ups driver my APC Smart-UPS SRT 3000XLA, however the driver reports that the UPS is on-baterry all the time despite that it's actually on-line. Searching over the internet I have found that actually drivers for APC usually use proprietary power flags and fails to refresh the standard powerflags used by NUT.</div><div>For example this is an actual capture of the state that NUT reports that the UPS is:</div><div># upsc ups@A.B.C.D<br>device.mfr: American Power Conversion <br>device.model: Smart-UPS SRT    <br>device.serial: AS183929XXXX    <br>device.type: ups<br>driver.debug: 0<br>driver.flag.allow_killpower: 0<br><a href="http://driver.name">driver.name</a>: usbhid-ups<br>driver.parameter.interrupt_pipe_no_events_tolerance: -1<br>driver.parameter.pollfreq: 30<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.parameter.synchronous: auto<br>driver.state: quiet<br>driver.version: 2.8.4<br>driver.version.data: APC HID 0.100<br>driver.version.internal: 0.67<br>driver.version.usb: libusb-1.0.27 (API: 0x0100010A)<br>ups.firmware: UPS 06.0 / ID=1010<br>ups.mfr: American Power Conversion <br>ups.model: Smart-UPS SRT    <br>ups.productid: 0003<br>ups.serial: AS183929XXXX    <br>ups.status: OB<br>ups.vendorid: 051d<br></div><div><br></div><div>See, there is not even any power information, and it says that is on-battery where actually it isn't.</div><div>Now, this is a common problem known with this UPS's. Mostly, everyone who has faced this problem has resorted to buying the SNMP network module of the UPS, but the problem is that this optional unit isn't available on my country so I'm out of luck with that and forced to still use the USB interface.</div><div>Now, the new version of the original software that manages this UPS, called PowerChute Serial Shutdown, actually may act as an SNMP server but uses its own sets of OID's rather than the universally standard ones. I don't know how it can manage Synology but it's able to actually understand the SNMP OID's that PowerChute servers and can get the true info of the probable battery backup time, the load and almost everything; despite that Synology DOES use under the hood NUT too but with some major modification (the service is not officially called NUT but it is NUT given the hidden config that is under /usr/syno/etc/ups/ is the same structure as is), maybe this modifications that they do are able to make this units compatible with PowerChute Serial Shutdown, who knows? Probably it is, since I tried to configure NUT to get the states through PowerChute using the snmp driver but it was unsuccessful to read what the software reported.</div><div>Anyways, if I do an snmpwalk to get the PowerChute OID's of the SNMP server that has and I can provide what the values stands for, can the MIB's be added to the SNMP driver on NUT for a newer release? </div></div>