chribonn at duck.com
2024-Mar-14 15:41 UTC
[Nut-upsuser] driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start
Hi, My Cyber Power reports these two values. Each pair has the same value. Would they normally be the same thing? Thanks Alan
Charles Lepple
2024-Mar-16 17:57 UTC
[Nut-upsuser] driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start
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
- Setting offdelay and ondelay in Smart-UPS 1500 RM units
- Delayed UPS start up after shutdown?
- Delayed UPS start up after shutdown?
- nut UPS kill inverter: offdelay ignored