<div dir="ltr"><div><div><div>The serial number looks completely different, but the firmware seems to be the same. Pasting upsc output:<br><br>battery.charge: 80<br>battery.charge.low: 10<br>battery.charge.warning: 50<br>battery.date: 2013/12/04<br>battery.mfr.date: 2013/12/04<br>battery.runtime: 1781<br>battery.runtime.low: 120<br>battery.temperature: 29.2<br>battery.type: PbAc<br>battery.voltage: 13.5<br>battery.voltage.nominal: 12.0<br>device.mfr: American Power Conversion<br>device.model: Back-UPS CS 650<br>device.serial: 4B1349P18417<br>device.type: ups<br><a href="http://driver.name" target="_blank">driver.name</a>: usbhid-ups<br>driver.parameter.pollfreq: 30<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.version: 2.6.4<br>driver.version.data: APC HID 0.95<br>driver.version.internal: 0.37<br>input.sensitivity: medium<br>input.transfer.high: 266<br>input.transfer.low: 180<br>input.voltage: 228.0<br>input.voltage.nominal: 230<br>output.frequency: 50.0<br>output.voltage: 230.0<br>output.voltage.nominal: 230.0<br>ups.beeper.status: enabled<br>ups.delay.shutdown: 20<br>ups.delay.start: 30<br>ups.firmware: 817.v9.I<br>ups.firmware.aux: v9<br>ups.load: 5.0<br>ups.mfr: American Power Conversion<br>ups.mfr.date: 2013/12/04<br>ups.model: Back-UPS CS 650<br>ups.productid: 0002<br>ups.realpower.nominal: 400<br>ups.serial: 4B1349P18417<br>ups.status: OL CHRG<br>ups.test.result: No test initiated<br>ups.timer.reboot: 0<br>ups.timer.shutdown: -1<br>ups.timer.start: 0<br>ups.vendorid: 051d<br><br><br></div>I have an update regarding my previous post however, I was wrong about the poweroff flag not being called, it was in fact called, because if I manually deleted the flag, the UPS would not shut down.<br></div><br>Another interesting behaviour I found was when using the upsc command, if I set the ondelay and offdelay options in the ups.conf file, about a quarter of the info in the upsc output is missing (including firmware and serial number).<br><br></div>Also, the timer variables in the upcs output do not change, no matter if a poweroff is initiated, or a shutdown, or delayed load turning off, the timer variables are always as listed in the output above.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 5:25 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">On Jan 7, 2015, at 6:11 PM, DatGingerCat <<a href="mailto:dat.ginger.cat@gmail.com" target="_blank">dat.ginger.cat@gmail.com</a>> wrote:<br></span><div><span class=""><br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I have decided to upgrade my home server by turning it into an ESXi host and have also added an APC CS650 UPS.<br></div>My plan was to have NUT version 2.6.4 running in a Debian 7.7.0 virtual machine, NUT installed using apt.<br></div>I configured NUT to run as a netserver, installed the ESXi nut .vib, configured the shutdowncmd in the VM to do nothing, so that the ESXi host would close that virtual machine last and only before it would shut down, it would call the poweroff command. I set the offdelay option of the ups to 300s and ondelay option to 600s</div></div></div></blockquote><div><br></div></span><div>René Garcia, the author of the ESXi .vib, is subscribed to this list - perhaps he has some suggestions for other settings there?</div><div><br></div><div>We also don't have a lot of information on the APC CS650 specifically. There is a DDL entry for the Back-UPS CS 650IE, which may be similar; however, we don't have much information on whether the various options work as expected:</div><div><br></div><div><a href="http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/APC/Back-UPS_CS_650IE.html" target="_blank">http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/APC/Back-UPS_CS_650IE.html</a></div><div><br></div><div>Does your serial number or firmware version look similar, or completely different?</div><div><br></div><div>Also, after you set offdelay, is there a corresponding timer variable in the 'upsc' output? It is possible that the CS650 is using a different HID path for that timer (there are at least three in drivers/apc-hid.c).</div><span class=""><br><blockquote type="cite"><div dir="ltr"><div><div> and here comes in my problem, whenever the battery.low condition or the upssched script calls the FSD action, everything will beging to shut down normally, except that the UPS will turn off the load in about 100 seconds (while the ESXi host still needs over a minute to shutdown and the VM has not yet called the poweroff flag).<br>I am at a bit of a loss what I could even try here, the only method that seems to signal the ESXi host running the NUT slave service seems to be calling the fsd action, the offdelay settings do nothing, I tried running a shutdown.stop command which didn't do anything either. Any ideas, or is this impossible with this UPS?<br><br></div>Thank you in advance<br></div>DGC</div></blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br>

</div>
<br></font></span></div></blockquote></div><br></div>