chribonn at duck.com
2024-Mar-16 18:01 UTC
[Nut-upsuser] driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start
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 >
Apparently Analagous Threads
- driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start
- Cyber Power System CP1500 AVR UPS: changing battery.charge.low value [ups.delay.start sidebar]
- Cyber Power System CP1500 AVR UPS: changing battery.charge.low value [ups.delay.start sidebar]
- Setting offdelay and ondelay in Smart-UPS 1500 RM units
- Windows: offdelay/ondelay