UPS and Battery Plugin updated

Posted on
Mon Nov 06, 2023 1:08 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

UPS and Battery Plugin updated

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

Posted on
Mon Nov 06, 2023 1:12 pm
Korey offline
User avatar
Posts: 813
Joined: Jun 04, 2008
Location: Henderson, NV

Re: UPS and Battery Plugin updated

Thanks Joe!!!

--
Korey

Posted on
Mon Nov 06, 2023 3:58 pm
WagnerOne offline
Posts: 150
Joined: Jun 12, 2009
Location: Chicago, IL

Re: UPS and Battery Plugin updated

Excellent. Thanks!

Posted on
Wed Apr 03, 2024 10:34 am
slackman1 offline
Posts: 52
Joined: Jun 20, 2011

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.

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

Posted on
Wed Apr 03, 2024 10:53 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests