Interesting. Something similar came up in late May. Look for "[Nut-upsuser] 
Synthesize low batt (LB) fron SNMP UPS which does not support this?” Is there 
an archive of this list? I an’t find it. I’d been trying to figure out how to 
do that itself, but then found some code in drivers/dstate.c that looked like 
it would work, but someone else replied that they’d tried it and it didn’t work.

But that was about getting the NUT server to synthesize LB to its clients 
before the actual UPS did.

If you’re running NUT as a client on your server, then yes, as others have 
noted, upssched on your server is probably the way to go.


> On Jul 16, 2023, at 9:00 AM, Dan Langille via Nut-upsuser 
> <[email protected]> wrote:
> 
> Hello,
> 
> I had an idea last week: why shut everything off (in my basement) when the 
> power goes off (and run time goes below X minutes)?
> 
> My idea: shutdown the big stuff first (two servers) leaving the little stuff 
> (switches, wireless, gateway) running for a while longer. I might get another 
> 30 minutes of internet that way. Let me watch a bit more streaming….
> 
> I’m convinced that idea is achievable with a little programming. 
> 
> Mind you, most of my power outages exceed 1 hour. 
> 
> Do you already do something similar? Do you have something you’d like to 
> share please?
> 
> Thank you
> 
> -- 
>  Dan Langille
>  [email protected]
> 
> _______________________________________________
> Nut-upsuser mailing list
> [email protected]
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to