<div dir="ltr"><div>Hello! I'm a total noob in the NUT world, and have 0 experience dealing with Linux distributions. Since NUT is poorly ported to Windows it's driving me crazy, I hope you can help me.</div><div><br></div><div>I have, after 3 days of painful reading, testing and failing, successfully set up NUT to communicate with my cheap-ass line-interactive 1000VA Chinese UPS (just no brand at all, it is a locally rebranded UPS, i'm from Argentina). Its a basic setup of an UPS powering a desktop PC which needs to be shut down in case of a power failure, and I would like the UPS to power off as well the preserve battery life as much as possible (via shutdown.return).</div><div><br></div><div>My set up uses the blazer_usb driver and the Megatec protocol. I'm using latest NUT port for Windows; 2.6.5-3.</div><div><br></div><div>I've successfully configured UPSMON to monitor the UPS status, and do the shutdown procedure by calling the <span lang="EN">SHUTDOWNCMD on a simple bat file I've made. This bat file is as follows:</span></div><div><span lang="EN"><br></span></div><div><span lang="EN">cd C:\Program Files (x86)\NUT\bin</span></div><div><span lang="EN">blazer_usb -a HAMUPS -k</span></div><div><span lang="EN">pause</span></div><div><span lang="EN"><br></span></div><div><span lang="EN">So this should send the shutdown command to the UPS and start the shutdown timer (I've not added the Windows shutdown part to the bat file yet). The problem is that BLAZER_USB sends the command "shutdown_stop" three times to the router and then reports a SHUTDOWN FAILED:</span></div><div><span lang="EN"><br></span></div><div><span lang="EN">Initiating UPS shutdown<br>instcmd: command [shutdown.stop] failed<br>instcmd: command [shutdown.stop] failed<br>instcmd: command [shutdown.stop] failed<br>Shutdown failed!</span></div><div><span lang="EN"><br></span></div><div><span lang="EN">This problem has already been addressed and supposedly corrected in latest builds, as seen in here: <a href="http://t38832.monitoring-nut-development.monitoringtalk.info/problems-with-blazer-usb-driver-will-not-shut-down-myups-t38832.html">http://t38832.monitoring-nut-development.monitoringtalk.info/problems-with-blazer-usb-driver-will-not-shut-down-myups-t38832.html</a></span></div><div><span lang="EN"><br></span></div><div><span lang="EN">So, how can I solve this? Is there a way to tell BLAZER_USB to only send the command "SHUTDOWN.RETURN"? How can I get or build the latest version of BLAZER_USB for the windows port?</span></div><div><span lang="EN"><br></span></div><div><span lang="EN">Thank you so much!!</span></div><div><span lang="EN"><br></span></div></div>