Just in case, regarding the spin-off topic of Python scripting: note there is a sort of binding in NUT sources, as used in GUI app etc.
I am not sure what practical state it is in, e.g. if it may need more attention for NUT data points and concepts added in recent years, but I suppose fixing it in upstream (if needed) is better than everyone reinventing their wheel ;) In master branch, it was recently fixed to pass self-test with both Python 2.x and 3.x (several sub-versions). Jim On Wed, Dec 1, 2021, 19:06 Greg Troxel <[email protected]> wrote: > > Rob Crittenden <[email protected]> writes: > > > On 12/1/21 09:52, Edgar Fuß via Nut-upsdev wrote: > >>> I wrote python code, not yet published, that compares to "OL". > >> That will already break in the "OL RB" (online, replace battery) case. > > > > Or in my case currently: > > > > ups.status: ALARM OL RB > > Thanks to both of you and I get it I need to fix my code.... > > But for now, it's OL only and things are ok, or things are other than ok > and I need to pay attention, so not terrible. > _______________________________________________ > Nut-upsdev mailing list > [email protected] > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev >
_______________________________________________ Nut-upsdev mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
