[Nut-upsuser] driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start

chribonn at duck.com chribonn at duck.com
Sat Mar 16 18:01:29 GMT 2024


Thanks

On Sat, 16 Mar 2024 at 18:57, Charles Lepple
<clepple_at_gmail.com_chribonn at duck.com> wrote:
>
> On Mar 14, 2024, at 11:41 AM, Alan via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
>
> > Hi,
> >
> > My Cyber Power reports these two values. Each pair has the same value.
> >
> > Would they normally be the same thing?
>
> Without any intervening `upsrw` changes, yes. `driver.parameter.*` corresponds to the initial value from ups.conf or `-x` command-line flags.
>
> For usbhid-ups (and a few other drivers), the offdelay parameter sets ups.delay.shutdown when the driver starts:
>
> https://github.com/networkupstools/nut/blob/v2.8.1/drivers/usbhid-ups.c#L1300-L1306
>
> and likewise for ondelay and ups.delay.start.
>
> --
> Charles Lepple
> clepple at gmail
>
> > Nut-upsuser mailing list
> > Nut-upsuser at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>




More information about the Nut-upsuser mailing list