Files
espurna/code
Max Prokhorov c3678abba0 Relay: use relative time comparisons, runtime settings for flood window and delays (#1962)
* relay: respect relay delay time when using NONE_OR_ONE sync

* fixup! relay: respect relay delay time when using NONE_OR_ONE sync

* calculate delay from flood window + existing delay

* configure flood max changes too

* oops, s -> ms

* count other way around

* interpret delay differently with sync_one/none_or_one

* instead of accumulation, ensure that max delay time is selected (if it is there at all)

* global interlock delay setting, allow to set change_delay before relayStatus(id, status) changes it

* fixup! global interlock delay setting, allow to set change_delay before relayStatus(id, status) changes it

* (finally) use lock attr to avoid user changing state while target != current state

* fix building with 2.3.0

* postpone wspost after all relays are processed, remove change_start refresh, snapshot relaySync value in configure

* fix warning

* add another timer for ONE
2019-11-09 03:39:03 +03:00
..
2019-11-06 14:32:58 +03:00
2019-07-11 00:34:17 +03:00
2019-11-06 14:32:58 +03:00
2019-07-11 00:34:17 +03:00
2019-07-11 00:34:17 +03:00
2019-07-11 00:34:17 +03:00
2019-07-15 00:42:12 +03:00
2018-12-09 21:11:12 +01:00
2018-12-09 00:03:55 +03:00
2019-07-11 00:34:17 +03:00