Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for APC SMC2200BI-BR by usbhid-ups #557

Closed
fernandolcx opened this issue May 23, 2018 · 1 comment
Closed

Support for APC SMC2200BI-BR by usbhid-ups #557

fernandolcx opened this issue May 23, 2018 · 1 comment

Comments

@fernandolcx
Copy link
Contributor

fernandolcx commented May 23, 2018

This is a new 2017 model targeted to brazilian market.
It does have a USB port and a RJ50 serial port.
Since I don't have a 940-0625A (RJ50 to DB9) cable, I'm passing through the USB port to a Ubuntu 18.04 VM on VMware Workstation, running NUT v2.7.4 and using the usbhid-ups driver.

But.. some important readings are missing:

fernando@ubuntu:~$ upsc worldbyte@localhost
Init SSL without certificate database
battery.charge: 56
battery.charge.low: 10
battery.charge.warning: 50
battery.runtime: 2100
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 25.9
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Smart-UPS 2200 BI
device.serial: 6369960019
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: APC HID 0.96
driver.version.internal: 0.41
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.firmware: UPS 11.0 / ID=1007
ups.mfr: American Power Conversion
ups.mfr.date: 2018/04/24
ups.model: Smart-UPS 2200 BI
ups.productid: 0003
ups.serial: 6369960019
ups.status: OL CHRG
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d

I was hoping to see somethig like input.voltage or ups.load .

Also:

fernando@ubuntu:~$ upscmd -l worldbyte@localhost
Instant commands supported on UPS [worldbyte]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.stop - Stop a shutdown in progress

Through PowerChute on a Windows VM, I'm able to:

  • Make all readings correctly
  • Test beeper
  • Run Battery Callibration
  • Run Self-test

Any thoughts?

EDIT:
Here is the result of
sudo /lib/nut/usbhid-ups -DD -a ups -x vendorid=051d* 2>&1
ups_debug.txt

@fernandolcx fernandolcx changed the title Support for APC SMC2200BI-BR Support for APC SMC2200BI-BR by usbhid-ups May 24, 2018
@clepple
Copy link
Member

clepple commented May 25, 2018

Missing values are likely due to NUT's lack of Modbus support: #139

jimklimov added a commit to jimklimov/nut that referenced this issue Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants