I may be able to make this work for me by:
I have it working:
- continuing without the notifications, they send a status change without any other information
- sending the status information every 10 minutes, that contains all the UPS info including status and batteryRunTime remaining until UPS shutdown. That's all I need to do a graceful shutdown.
Also the windows machine must be changed not to sleep
Update: Can't figure out how to get the Windows scheduler to execute the PHP job rather than just list it. This is really fugly. This means issuing a "refresh" every N minutes from the HE UPS device (or an RM)
Update2: have it working every 10 minutes from windows scheduler with the following command structure.
C:\Path\to php.exe file\php.exe -f C:\Path\to php file\file.php
Task set to wake machine, so sleep "should" be is OK.
Update 3:
- Added second scheduled task to start wamp.exe, my local PHP server
- Both tasks changed to start at "System Startup" without a user being logged in. wamp start delayed 2 minutes, php run delayed 3 minutes
- rebooted system--it worked
I'm ferklempt