UPS and Battery Plugin updated

User avatar
FlyingDiver
Posts: 7313
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

UPS and Battery Plugin updated

Post by FlyingDiver »

There's a Python3 version of the plugin now available in the plugin store.

https://www.indigodomo.com/pluginstore/108/
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
Korey
Posts: 822
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: UPS and Battery Plugin updated

Post by Korey »

Thanks Joe!!!
--
Korey
WagnerOne
Posts: 150
Joined: Fri Jun 12, 2009 1:58 pm
Location: Chicago, IL
Contact:

Re: UPS and Battery Plugin updated

Post by WagnerOne »

Excellent. Thanks!
slackman1
Posts: 52
Joined: Mon Jun 20, 2011 3:52 am

Re: UPS and Battery Plugin updated

Post by slackman1 »

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.

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
Thank you for any suggestions or advice.

Kind regards, Gerrit Jan
User avatar
FlyingDiver
Posts: 7313
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: UPS and Battery Plugin updated

Post by FlyingDiver »

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.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Ericbo
Posts: 145
Joined: Tue Sep 18, 2012 2:56 pm

Re: UPS and Battery Plugin updated

Post by Ericbo »

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 :)
User avatar
FlyingDiver
Posts: 7313
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: UPS and Battery Plugin updated

Post by FlyingDiver »

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 :)
No, that plugin only works with a UPS attached to the Indigo computer.

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
Ericbo
Posts: 145
Joined: Tue Sep 18, 2012 2:56 pm

Re: UPS and Battery Plugin updated

Post by Ericbo »

Thank you so much, will check and install it!!
Post Reply

Return to “Other Plugins”