Shen Chuan
2014-Jun-04 22:38 UTC
[Nut-upsdev] Question about voltage threshold setting in NUT
Hello Charles, Thank you so much for your reply. Yes. 40v was too low. In windows, those range started from 76v, 85v, and 96v. Just tried upsrw command to modify input.transfer.low and input.transfer.boost.low. There were some error messages returned. Tried another one battery.charge.low and it returns ok. $ sudo upsrw -s input.transfer.low=70 -u * -p * ups Unexpected response from upsd: ERR READONLY $ sudo upsrw -s input.transfer.boost.low=70 -u * -p * ups Unexpected response from upsd: ERR VAR-NOT-SUPPORTED $ sudo upsrw -s battery.charge.low=70 -u * -p * ups OK On Wed, Jun 4, 2014 at 3:48 PM, Charles Lepple <clepple at gmail.com> wrote:> On Jun 3, 2014, at 5:16 PM, Shen Chuan wrote: > > > We have an Eaton 3S 550 UPS using NUT tool to send power loss event. By > default the power voltage threshold is set to 85 volts. If the voltage is > less than 85 volts, it will trigger ONBATT event from NUT. Is there a way > in NUT we can change the threshold from 85 volts to a lower voltage like 40 > volts? > > It might be possible with upsrw - try modifying "input.transfer.low" and > "input.transfer.boost.low". > > However, 40V to 110-120V is a long way to boost. Is this UPS rated for > such a wide voltage range? > > You could also check for sensitivity settings. I don't know about the 3S > in particular, but theoretically, usbhid-ups supports those sorts of > settings. > > -- > Charles Lepple > clepple at gmail > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20140604/d5007af6/attachment.html>
Charles Lepple
2014-Jun-05 03:24 UTC
[Nut-upsdev] Question about voltage threshold setting in NUT
On Jun 4, 2014, at 6:38 PM, Shen Chuan wrote:> $ sudo upsrw -s battery.charge.low=70 -u * -p * ups > OKNot sure this does what you originally asked, though. Does upsc show any settings related to sensitivity? -- Charles Lepple clepple at gmail
Shen Chuan
2014-Jun-05 14:54 UTC
[Nut-upsdev] Question about voltage threshold setting in NUT
Hello Charles, Thank you so much for your help. Just run upsc and it is possible that input.transfer.low is the one because we used power regulator to bring down the power around 84v and then the ups sent the power loss message to PC. Do you think some others may take effect for the low voltage? Just have the upsc result attached. Then I retried input.transfer.low, default.input.transfer.low, overwrite.input.transfer.low. Looks like it still can not write to those params. $ sudo upsrw -s input.transfer.low=70 -u * -p * ups Unexpected response from upsd: ERR READONLY $ sudo upsrw -s default.input.transfer.low=70 -u * -p * ups Unexpected response from upsd: ERR VAR-NOT-SUPPORTED $ sudo upsrw -s overwrite.input.transfer.low=70 -u * -p * ups Unexpected response from upsd: ERR VAR-NOT-SUPPORTED battery.charge: 100 battery.charge.low: 20 battery.runtime: 1087 battery.type: PbAc device.mfr: EATON device.model: Eaton 3S 550 device.serial: 000000000 device.type: ups driver.name: usbhid-ups driver.parameter.offdelay: 90 driver.parameter.ondelay: 120 driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.vendorid: 0463 driver.version: 2.6.5 driver.version.data: MGE HID 1.31 driver.version.internal: 0.37 input.transfer.high: 142 *input.transfer.low: 84* outlet.1.desc: PowerShare Outlet 1 outlet.1.id: 2 outlet.1.status: on outlet.1.switchable: yes outlet.2.desc: PowerShare Outlet 2 outlet.2.id: 3 outlet.2.status: off outlet.2.switchable: yes outlet.desc: Main Outlet outlet.id: 1 outlet.switchable: no output.frequency.nominal: 60 output.voltage: 115.0 output.voltage.nominal: 115 ups.beeper.status: enabled ups.delay.shutdown: 90 ups.delay.start: 120 ups.firmware: 02 ups.load: 23 ups.mfr: EATON ups.model: Eaton 3S 550 ups.power.nominal: 550 ups.productid: ffff ups.serial: 000000000 ups.status: OL CHRG ups.timer.shutdown: 0 ups.timer.start: 0 ups.vendorid: 0463 Thank you again for your help. Kind of running out of ideas. Regards, Shen On Wed, Jun 4, 2014 at 9:24 PM, Charles Lepple <clepple at gmail.com> wrote:> On Jun 4, 2014, at 6:38 PM, Shen Chuan wrote: > > > $ sudo upsrw -s battery.charge.low=70 -u * -p * ups > > OK > > Not sure this does what you originally asked, though. > > Does upsc show any settings related to sensitivity? > > -- > Charles Lepple > clepple at gmail > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20140605/0a39c65c/attachment.html>