<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Looking at the 2012 protocol, it seems like there is both a "shutdown" and a "reboot" command. It sounds like the behavior is consistent with a reboot.</p>
<p><br>
</p>
<p>I suppose we could look at exactly what command is being sent via software and work backwards from there.
<br>
</p>
<p><br>
</p>
<p>I'm still working remotely so testing this myself probably won't happen in the near term.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p></p>
<p class="x_MsoNormal" style="line-height:120%; text-autospace:none"><span style="color:black; letter-spacing:-0.05pt; font-family:"Calibri",sans-serif,serif,"EmojiFont"">Thank you,</span></p>
<p class="x_MsoNormal" style="line-height:120%; text-autospace:none"><span style="color:black; letter-spacing:-0.05pt; font-family:"Calibri",sans-serif,serif,"EmojiFont"">David Zomaya</span><b><span style="color:black; letter-spacing:-0.05pt; font-family:"Calibri",sans-serif,serif,"EmojiFont""></span></b><span style="color:black; letter-spacing:-0.05pt; font-family:"Calibri",sans-serif,serif,"EmojiFont""></span></p>
Tripp Lite<a href="http://www.tripplite.com/" target="_blank" rel="noopener noreferrer" id="LPNoLP"><span style="font-size:8pt; line-height:120%; color:black; letter-spacing:-0.05pt; text-decoration:none; font-family:"Calibri",sans-serif,serif,"EmojiFont""></span></a><span style="font-size:12pt; line-height:120%; font-family:"Minion Pro",serif,"EmojiFont"; color:black"></span>
<p class="x_MsoNormal"> <br>
</p>
<p></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com@alioth-lists.debian.net> on behalf of Tom Velozo <tomvelozo3@gmail.com><br>
<b>Sent:</b> Tuesday, April 28, 2020 10:24:28 AM<br>
<b>To:</b> nut-upsuser@alioth-lists.debian.net<br>
<b>Subject:</b> [EXTERNAL] [Nut-upsuser] Tripp-Lite SMART1500LCD: powers off with /etc/killpower...then powers back on...</font>
<div> </div>
</div>
<div><font color="#C11B17" face="verdana,arial,sans-serif" size="2"><span>This is an
<b>EXTERNAL</b> email. Please take a moment and think before clicking any links or opening any attachments from this email. If suspicious, please forward to ishelpdesk@tripplite.com for review.</span></font>
<hr>
<div dir="ltr">
<div dir="ltr">Hi Everyone,
<div><br>
</div>
<div>I recently bought a Tripp-Lite SMART1500LCD for my Linux Mint 19.3 machine, connected via a USB cable. I installed Nut 2.7.4 from the Mint package repository via sudo apt update && sudo apt install nut. Everything works great: NUT issues low battery warning
 when it reaches the set low battery point and then issues shutdown commands...computer shuts down..then the UPS shuts down a few seconds after that (i hear a 'clunk' noise from the outlets)...BUT...after the UPS has shut down, I hear another clunk noise and
 the computer starts to power back on. Since the UPS battery is about dead at this point, the computer starts to boot up only till the UPS completely dies since its batteries are depleted.  This is what is happening:</div>
<div><br>
</div>
<div>- Low Battery setpoint reached --> issue computer shutdown</div>
<div>- Shutdown commands sent --> computer starts shutting down</div>
<div>- At some point, /etc/killpower is sent before computer fully shuts down</div>
<div>- Computer shuts down</div>
<div>- A few seconds later, I hear a clunk in the UPS (UPS powers off... I used a multimeter to verify no AC voltage on the UPS output outlets)</div>
<div>- Another few seconds later, I hear another clunk in the UPS --> computer starts to power on --> AC voltage is present on the UPS output outlets</div>
<div>- A few seconds later the battery in the UPS depletes --> computer dies while booting up</div>
<div><br>
</div>
<div>The computer BIOS is obviously set to turn back on when AC is restored. What could be causing the UPS to turn back on after a few seconds of being off ?? As testing, I grabbed my Linux laptop (a separate machine) and installed Nut 2.7.4 via sudo apt install
 nut. I then manually issued the command "sudo upsdrvctl shutdown". There is a big clunk noise and the UPS immediately turns off its outlets...and after a few seconds there is a clunk and the ups outlets are back on. I don't understand why the UPS is not staying
 off when issuing the command /etc/killpower or via sudo upsdrvctl shutdown. </div>
<div><br>
</div>
<div>ups.conf:</div>
<div><br>
</div>
<div>[Tripp_Lite]<br>
</div>
<div>driver = usbhid-ups<br>
port = auto</div>
<div>pollinterval = 10<br>
desc = "Tripp-Lite SMART1500LCD"<br>
vendorid = 09ae<br>
ignorelb<br>
override.battery.charge.low = 10<br>
</div>
<div>----------------------------------------------------------------------------</div>
<div><br>
</div>
<div>nut.conf</div>
<div><br>
</div>
<div>MODE=standalone<br>
</div>
<div> ----------------------------------------------------------------------------  <br>
</div>
<div><br>
</div>
<div>upsd.users</div>
<div><br>
</div>
<div>[upsmon] <br>
password = xxxxx<br>
actions = SET <br>
instcmds = ALL <br>
upsmon master<br>
</div>
<div></div>
<div> ----------------------------------------------------------------------------   </div>
<div>upsmon.conf<br>
</div>
<div><br>
</div>
<div>RUN_AS_USER root<br>
MONITOR Tripp_Lite@localhost 1 upsmon xxxxxx master<br>
MINSUPPLIES 1<br>
SHUTDOWNCMD "/sbin/shutdown -h +0"<br>
POLLFREQ 5<br>
POLLFREQALERT 5<br>
HOSTSYNC 5<br>
DEADTIME 15<br>
POWERDOWNFLAG /etc/killpower<br>
#<br>
NOTIFYMSG ONLINE "UPS %s on line power"<br>
NOTIFYMSG ONBATT "UPS %s on battery"<br>
NOTIFYMSG LOWBATT "UPS %s battery is low"<br>
NOTIFYMSG FSD "UPS %s: forced shutdown in progress"<br>
NOTIFYMSG COMMOK "Communications with UPS %s established"<br>
NOTIFYMSG COMMBAD "Communications with UPS %s lost"<br>
NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"<br>
NOTIFYMSG REPLBATT "UPS %s battery needs to be replaced"<br>
NOTIFYMSG NOCOMM "UPS %s is unavailable"<br>
NOTIFYMSG NOPARENT "upsmon parent process died - shutdown impossible"<br>
#<br>
NOTIFYFLAG ONBATT SYSLOG+WALL<br>
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC<br>
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC<br>
NOTIFYFLAG COMMBAD SYSLOG+EXEC<br>
NOTIFYFLAG COMMOK SYSLOG+EXEC<br>
NOTIFYFLAG REPLBATT SYSLOG+WALL<br>
NOTIFYFLAG FSD SYSLOG+WALL+EXEC<br>
NOTIFYFLAG NOCOMM   SYSLOG+WALL<br>
NOTIFYFLAG NOPARENT SYSLOG+WALL<br>
#<br>
RBWARNTIME 43200<br>
NOCOMMWARNTIME 300<br>
FINALDELAY 5<br>
#<br>
</div>
<div>------------------------------------------------------------------------</div>
<div><br>
</div>
<div>Here is the output from "upsc Tripp_Lite"</div>
<div><br>
</div>
<div>Init SSL without certificate database<br>
battery.charge: 100<br>
battery.charge.low: 10<br>
battery.runtime: 1692<br>
battery.type: PbAC<br>
battery.voltage: 26.3<br>
battery.voltage.nominal: 24.0<br>
device.mfr: Tripp Lite <br>
device.model: Tripp Lite UPS <br>
device.type: ups<br>
driver.flag.ignorelb: enabled<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__driver.name&d=DwMFaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=-kILb5kcT8nDzE7jAgfNboB74UcVpE_QXoLwDFhLmqk&s=_GJmbN8Asvt5P3b39WZo3m8MXrPmnLGAd9UyK8-yFY4&e=">driver.name</a>:
 usbhid-ups<br>
driver.parameter.pollfreq: 30<br>
driver.parameter.pollinterval: 10<br>
driver.parameter.port: auto<br>
driver.parameter.synchronous: no<br>
driver.parameter.vendorid: 09ae<br>
driver.version: 2.7.4<br>
driver.version.data: TrippLite HID 0.82<br>
driver.version.internal: 0.41<br>
input.frequency: 59.9<br>
input.voltage: 119.0<br>
input.voltage.nominal: 120<br>
output.frequency.nominal: 60<br>
output.voltage: 119.0<br>
output.voltage.nominal: 120<br>
ups.beeper.status: disabled<br>
ups.delay.shutdown: 20<br>
ups.load: 25<br>
ups.mfr: Tripp Lite <br>
ups.model: Tripp Lite UPS <br>
ups.power: 0.0<br>
ups.power.nominal: 1500<br>
ups.productid: 2012<br>
ups.status: OL<br>
ups.timer.reboot: 65535<br>
ups.timer.shutdown: 65535<br>
ups.vendorid: 09ae<br>
ups.watchdog.status: 0<br>
<br>
</div>
<div>-----------------------------------------------------</div>
<div>Thank you kindly,</div>
<div>Tom</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<hr>
<font color="grey" face="calibri">This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes
 no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information.
</font>
</body>
</html>