There's a Python3 version of the plugin now available in the plugin store.
https://www.indigodomo.com/pluginstore/108/
UPS and Battery Plugin updated
- FlyingDiver
- Posts: 7313
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
UPS and Battery Plugin updated
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: UPS and Battery Plugin updated
Excellent. Thanks!
Re: UPS and Battery Plugin updated
Hi Joe,
Thank you for building this plugin, however, I have a 'false positive' problem with the plugin.
Once, twice a day the plugin thinks the UPS does not have a battery, thus triggering. UPS model is CyberPower VP1600ELCD, connected through usb.
Plugin is the 2023.0.0, is there some kind of debug setting or extra log option that I can turn on to find out more than the below?
Triggers and debug messages are mine of course.
Thank you for any suggestions or advice.
Kind regards, Gerrit Jan
Thank you for building this plugin, however, I have a 'false positive' problem with the plugin.
Once, twice a day the plugin thinks the UPS does not have a battery, thus triggering. UPS model is CyberPower VP1600ELCD, connected through usb.
Plugin is the 2023.0.0, is there some kind of debug setting or extra log option that I can turn on to find out more than the below?
Triggers and debug messages are mine of course.
Code: Select all
2024-04-03 17:55:22.612 UPS and Battery Monitor Power Status - AC Power - No Battery
2024-04-03 17:55:22.612 UPS and Battery Monitor UPS Model - No Battery or UPS
2024-04-03 17:55:22.612 UPS and Battery Monitor Charging Status - False
2024-04-03 17:55:22.612 UPS and Battery Monitor Battery Charge - 00
2024-04-03 17:55:22.612 UPS and Battery Monitor Refreshing in 1 Minutes
2024-04-03 17:55:22.616 Trigger Indigo UPS battery level < 30%
2024-04-03 17:55:22.616 Trigger UPS power status change!!!
2024-04-03 17:55:22.617 Trigger UPS on battery!!!
2024-04-03 17:55:22.617 Trigger Indigo UPS change!
2024-04-03 17:55:22.617 debug UPS change!!!
2024-04-03 17:55:22.617 debug UPS on battery
Kind regards, Gerrit Jan
- FlyingDiver
- Posts: 7313
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: UPS and Battery Plugin updated
That response is what the plugin reports when it gets an error polling the OS for the battery status (command line "pmset -g batt"). That's kinda a bogus way to do the error reporting, but I didn't originally write this and I never changed it.
Open an issue in the GitHub repo for this plugin and I'll see if I can figure out a better way to do the error reporting.
Open an issue in the GitHub repo for this plugin and I'll see if I can figure out a better way to do the error reporting.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: UPS and Battery Plugin updated
Thank you for all your plug in work!
I have about 10 batteries in my Indigo devices and wonder if your UPS/Battery plugin would be a solution to report periodically the batteries status and/or alarm when one of the battery is too weak
Thank you for letting me know
I have about 10 batteries in my Indigo devices and wonder if your UPS/Battery plugin would be a solution to report periodically the batteries status and/or alarm when one of the battery is too weak
Thank you for letting me know
- FlyingDiver
- Posts: 7313
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: UPS and Battery Plugin updated
No, that plugin only works with a UPS attached to the Indigo computer.Ericbo wrote: ↑Sat Sep 28, 2024 6:36 pm Thank you for all your plug in work!
I have about 10 batteries in my Indigo devices and wonder if you UPS/Battery plugin would be a solution to report periodically the battery status and/or alarm when one of the batterie is too week
Thank you for letting me know
Check this plugin: https://www.indigodomo.com/pluginstore/112/
In it, you can create a battery watch device which will report on low battery states.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: UPS and Battery Plugin updated
Thank you so much, will check and install it!!