Open jc-lab opened 3 years ago
Hi, I have exact the same issue. Did you solved it somehow? Thanks
No, I didn't find a way either.
In the past months several fixes for USB support have landed, some comments implicating APC (and others') wire protocol imperfections (LogMin/LogNax debacle notably). Can you please check if a local build of current NUT master branch happens to solve this issue too?
On Sun, Jan 30, 2022, 11:23 Joseph Lee @.***> wrote:
No, I didn't find a way either.
— Reply to this email directly, view it on GitHub https://github.com/networkupstools/nut/issues/1072#issuecomment-1025112544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPTFAJQRXVXXQENFAWNVLUYUGQNANCNFSM5BYAPIQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Still the same issue. As of today, I have built the master branch.
<html>
<body>
<!--StartFragment-->
battery.charge | : | 100
-- | -- | --
battery.charge.low | : | 10
battery.charge.warning | : | 50
battery.runtime | : | -1
battery.runtime.low | : | 150
battery.type | : | PbAc
battery.voltage | : | 109.7
battery.voltage.nominal | : | 96.0
device.mfr | : | American Power Conversion
device.model | : | Smart-UPS SRT
device.serial | : | AS1751291634
device.type | : | ups
driver.name | : | usbhid-ups
driver.parameter.pollfreq | : | 30
driver.parameter.pollinterval | : | 2
driver.parameter.port | : | auto
driver.parameter.product | : | Smart-UPS SRT FW:UPS 05.3 / ID=1010
driver.parameter.productid | : | 0003
driver.parameter.serial | : | AS1751291634
driver.parameter.synchronous | : | auto
driver.parameter.vendor | : | American Power Conversion
driver.parameter.vendorid | : | 051D
driver.version | : | 2.8.0.1
driver.version.data | : | APC HID 0.100
driver.version.internal | : | 0.49
driver.version.usb | : | libusb-1.0.23 (API: 0x1000107)
ups.beeper.status | : | enabled
ups.delay.shutdown | : | 20
ups.firmware | : | UPS 05.3 / ID=1010
ups.mfr | : | American Power Conversion
ups.mfr.date | : | 2017/12/19
ups.model | : | Smart-UPS SRT
ups.productid | : | 0003
ups.serial | : | AS1751291634
ups.status | : | OL
ups.timer.reboot | : | -1
ups.timer.shutdown | : | 65535
ups.vendorid | : | 051d
<!--EndFragment-->
</body>
</html>
In the apcupsd tool, the output is as follows:
TIMELEFT : 112.1 Minutes
nut output :
usbhid-dump
Code
The apcupsd tool seems to read it as "0x00850068".
nut also seems to bring this value:
But why is there no output?