<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Jan 2018, at 2:27 pm, Charles Lepple <<a href="mailto:clepple@gmail.com" class="">clepple@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Jan 16, 2018, at 6:07 PM, James Whitwell <<a href="mailto:jams@momento.com.au" class="">jams@momento.com.au</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">This might be a simple thing to fix, but I can’t figure it out.  We replaced the battery for the first time in our Eaton 5PX a couple of weeks ago, but we haven’t been able to clear the “ups.alarm: replace battery!” status.<br class=""><br class="">Details of our installation are:<br class="">OS: Debian 6<br class="">NUT version: 2.7.4<br class="">Installation method: from source tarball<br class="">UPS device: Eaton 5PX2000IRT, 240V, 1800W, 2000VA, bought in October 2013<br class=""><br class=""></blockquote>We don't have a complete dump for the 5PX, but I would assume that it has at least one or two battery test commands, and I would recommend trying the quick one first. (If you can also send the output of "upscmd -l" and "upsrw", we can add it to our database.)<br class=""><br class=""><a href="http://networkupstools.org/docs/man/upscmd.html" class="">http://networkupstools.org/docs/man/upscmd.html</a><br class=""></div></div></blockquote><div><br class=""></div><div>Thanks Charles.  I forgot to put in my original email that I had done “test.battery.start.quick” as well.  How long does the deep test usually take?  We’ll be moving the UPS to another location in a couple of days, so just want to be sure it won’t take that long.</div><div><br class=""></div><div>“upscmd -l” gives me this:</div><div><br class=""></div><div><div>Instant commands supported on UPS [eaton-5px-1]:</div><div><br class=""></div><div>beeper.disable - Disable the UPS beeper</div><div>beeper.enable - Enable the UPS beeper</div><div>beeper.mute - Temporarily mute the UPS beeper</div><div>beeper.off - Obsolete (use beeper.disable or beeper.mute)</div><div>beeper.on - Obsolete (use beeper.enable)</div><div>load.off - Turn off the load immediately</div><div>load.off.delay - Turn off the load with a delay (seconds)</div><div>load.on - Turn on the load immediately</div><div>load.on.delay - Turn on the load with a delay (seconds)</div><div>outlet.1.load.off - Turn off the load on outlet 1 immediately</div><div>outlet.1.load.on - Turn on the load on outlet 1 immediately</div><div>outlet.2.load.off - Turn off the load on outlet 2 immediately</div><div>outlet.2.load.on - Turn on the load on outlet 2 immediately</div><div>shutdown.return - Turn off the load and return when power is back</div><div>shutdown.stayoff - Turn off the load and remain off</div><div>shutdown.stop - Stop a shutdown in progress</div><div>test.battery.start.deep - Start a deep battery test</div><div>test.battery.start.quick - Start a quick battery test</div><div>test.battery.stop - Stop the battery test</div><div><br class=""></div><div>And “upsrw” gives me this:</div><div><br class=""></div><div><div>[battery.charge.low]</div><div>Remaining battery level when UPS switches to LB (percent)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 20</div><div><br class=""></div><div>[battery.charge.restart]</div><div>Minimum battery level for restart after power off (percent)</div><div>Type: STRING</div><div>Maximum length: 3</div><div>Value: 0</div><div><br class=""></div><div>[battery.energysave]</div><div>Switch off when running on battery and no/low load</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: no</div><div><br class=""></div><div>[battery.protection]</div><div>Prevent deep discharge of battery</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: yes</div><div><br class=""></div><div>[input.frequency.extended]</div><div>Extended input frequency range</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: no</div><div><br class=""></div><div>[input.sensitivity]</div><div>Input power sensitivity</div><div>Type: STRING</div><div>Maximum length: 10</div><div>Value: normal</div><div><br class=""></div><div>[input.transfer.boost.low]</div><div>Low voltage boosting transfer point (V)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 184</div><div><br class=""></div><div>[input.transfer.high]</div><div>High voltage transfer point (V)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 294</div><div><br class=""></div><div>[input.transfer.low]</div><div>Low voltage transfer point (V)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 160</div><div><br class=""></div><div>[input.transfer.trim.high]</div><div>High voltage trimming transfer point (V)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 265</div><div><br class=""></div><div>[input.voltage.extended]</div><div>Extended input voltage range</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: no</div><div><br class=""></div><div>[outlet.1.autoswitch.charge.low]</div><div>Remaining battery level to power off this outlet (percent)</div><div>Type: STRING</div><div>Maximum length: 3</div><div>Value: 0</div><div><br class=""></div><div>[outlet.1.delay.shutdown]</div><div>Interval to wait before shutting down this outlet (seconds)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 65535</div><div><br class=""></div><div>[outlet.1.delay.start]</div><div>Interval to wait before restarting this outlet (seconds)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 3</div><div><br class=""></div><div>[outlet.1.desc]</div><div>Outlet description</div><div>Type: STRING</div><div>Maximum length: 20</div><div>Value: PowerShare Outlet 1</div><div><br class=""></div><div>[outlet.2.autoswitch.charge.low]</div><div>Remaining battery level to power off this outlet (percent)</div><div>Type: STRING</div><div>Maximum length: 3</div><div>Value: 0</div><div><br class=""></div><div>[outlet.2.delay.shutdown]</div><div>Interval to wait before shutting down this outlet (seconds)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 65535</div><div><br class=""></div><div>[outlet.2.delay.start]</div><div>Interval to wait before restarting this outlet (seconds)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 6</div><div><br class=""></div><div>[outlet.2.desc]</div><div>Outlet description</div><div>Type: STRING</div><div>Maximum length: 20</div><div>Value: PowerShare Outlet 2</div><div><br class=""></div><div>[outlet.desc]</div><div>Outlet description</div><div>Type: STRING</div><div>Maximum length: 20</div><div>Value: Main Outlet</div><div><br class=""></div><div>[output.voltage.nominal]</div><div>Nominal output voltage (V)</div><div>Type: ENUM</div><div>Option: "200"</div><div>Option: "208"</div><div>Option: "220"</div><div>Option: "230" SELECTED</div><div>Option: "240"</div><div><br class=""></div><div>[ups.delay.shutdown]</div><div>Interval to wait after shutdown with delay command (seconds)</div><div>Type: STRING</div><div>Maximum length: 10</div><div>Value: 20</div><div><br class=""></div><div>[ups.delay.start]</div><div>Interval to wait before (re)starting the load (seconds)</div><div>Type: STRING</div><div>Maximum length: 10</div><div>Value: 30</div><div><br class=""></div><div>[ups.load.high]</div><div>Load when UPS switches to overload condition (percent)</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: 105</div><div><br class=""></div><div>[ups.shutdown]</div><div>Description unavailable</div><div>Type: ENUM</div><div>Option: "disabled"</div><div>Option: "enabled" SELECTED</div><div><br class=""></div><div>[ups.start.auto]</div><div>UPS starts when mains is (re)applied</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: yes</div><div><br class=""></div><div>[ups.start.battery]</div><div>Allow to start UPS from battery</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: yes</div><div><br class=""></div><div>[ups.start.reboot]</div><div>UPS reboots when power returns during shutdown delay</div><div>Type: STRING</div><div>Maximum length: 5</div><div>Value: yes</div><div><br class=""></div><div>[ups.test.interval]</div><div>Interval between self tests (seconds)</div><div>Type: STRING</div><div>Maximum length: 8</div><div>Value: 604800</div></div></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><br class="">And here’s the output from /usr/local/nut/bin/usbhid-ups -DD -a <ups-name><br class=""><br class="">I had to ^C it after a bit as it was just retrying.  Looks like a communications problem with the UPS over the USB cable?  We’ve unplugged it and replugged it half a dozen times before this.<br class=""></blockquote><br class="">The debug output looks normal - it loops like that during normal operation, but you won't see it without the "-D" flags.</div></div></blockquote></div><br class=""><div class="">OK, that’s good to know.</div></body></html>