Closed sliverc closed 9 years ago
Hi,
Thanks for the report!
as a heads-up, starting with NUT 2.7.2, we have a new driver, nutdrv_qx, which handles hardware formerly covered by blazer_usb.
Unexpected response from upsd: ERR ACCESS-DENIED
Here is some information about setting up NUT users and permissions: http://www.networkupstools.org/docs/user-manual.chunked/ar01s06.html#NUT_user_creation
Note that the username and password that you pass on the upscmd
or upsrw
command line are completely separate from system usernames in /etc/passwd - they are defined in upsd.users
.
OK tested it again now with upsd.users set up correctly.
When running upscmd Mecer-NI beeper.toggle 1 it says now OK as status but nothing changes on the UPS - I guess this option is not supported by this the UPS with this driver then.
I am also not quite sure what the difference is between upsrw and upscmd as upsrw doesn't not list any option which can be changed.
I run this UPS now on a production system so a bit more difficutl to do some more tests with nutdrv_qx. When I get around I will try to test it with this new driver and nut version than as well.
hi @sliverc : thanks for your report. the beeper issue is not unusual on such low end units. as for the difference between upsrw and upscmd: upsrw allows to changes settings, generally in the UPS (EEPROM), while upscmd executes commands such as cutting the power off, testing batteries, ...
Thanks for the clarification. The beeper issue is not a big deal although would be nice to change with nut as well I guess... but it is possible to install http://www.power-software-download.com/viewpower.html which is supported by this UPS then disable the beeper sound and uninstall the software again. The beep sound remains off.
@sliverc, as your UPS came with ViewPower, the new nutdrv_qx driver (http://www.networkupstools.org/docs/man/nutdrv_qx.html - first version in 2.7.1) should support your device, including disable/enable the beeper.
@aquette I removed this from the 2.7.3 milestone since no additional testing is required for the release. We can update the HCL and DDL when @sliverc has a chance to try this with nutdrv_qx
Finally got around to test this using version 2.7.1 which was packaged for my distribution.
Test was successful. Also turning off of beeper worked with upscmd.
upsc: battery.charge: 100 battery.energysave: no battery.packs: 1 battery.runtime: 15480 battery.voltage: 41.00 battery.voltage.nominal: 36.0 device.model: W1K device.type: ups driver.name: nutdrv_qx driver.parameter.alarm_control: disable driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.7.1 driver.version.data: Voltronic 0.01 driver.version.internal: 0.01 input.current.nominal: 4.0 input.frequency: 50.0 input.frequency.nominal: 50.0 input.phases: 1 input.transfer.high: 242 input.transfer.high.max: 254 input.transfer.high.min: 237 input.transfer.low: 218 input.transfer.low.max: 223 input.transfer.low.min: 206 input.voltage: 211.9 input.voltage.nominal: 230.0 output.current: 0.4 output.current.nominal: 4 output.frequency: 50.0 output.frequency.nominal: 50.0 output.phases: 1 output.power.maximum.percent: 11 output.power.minimum.percent: 5 output.powerfactor: 0.8 output.voltage: 229.7 output.voltage.nominal: 230.0 ups.beeper.status: enabled ups.delay.shutdown: 30 ups.delay.start: 180 ups.firmware: 00443.09 ups.firmware.aux: P01 ups.load: 9 ups.power.nominal: 1000 ups.productid: 5161 ups.start.auto: yes ups.start.battery: yes ups.status: OL ups.temperature: 29.5 ups.type: online ups.vendorid: 0665
upscmd: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.toggle - Toggle the UPS beeper bypass.start - Put the UPS in bypass mode bypass.stop - Take the UPS out of bypass mode 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
Thanks! - committed to DDL and HCL.
I have successfully tested the Mecer ME-1000-WTU - nut recognized when the UPS is on battery and also when the battery is low whereas a shutdown signal is sent.
Specification (last page): http://www.comx-computers.co.za/download/mecer/ME-1000-WTU.pdf
upsc:
upscmd:
I have not been able to change any settings though due to missing credentials:
/lib/nut/blazer_usb -a Mecer-NI -DDDD: