Delay on/off
Once the switching event is recognized and a Delay period is set to be greater than 0
,
the output will wait for this period before it assumes the required state as a reaction to the event.
Delay periods applied when switching the process and the underlying output ON
and OFF
are independent,
thus they are listed twice: as Delay on and Delay off, respectively.
The Delay periods, as all other time period variables, are provided in two parts: Quantity and Unit:
Quantity
The first parameter listed is the Quantity which defines how many time units will have to elapse before the process output reacts to the input event.
Its [VALUE]
can be anywhere between 0
and 255
.
Unit
The second parameter listed is the Unit which defines the time measurement unit of the provided Quantity.
Available [VALUE]
options are summarized in the following table:
[VALUE] | Unit |
---|---|
0 | One tenth (0.1) of a second |
1 | One second |
2 | Ten seconds |
3 | One minute |
4 | Ten minutes |
5 | One hour |
Thus, effectively, the provided time period can range between 0.1 second and 255 hours.
HTTP
The device will accept HTTP requests at the following URLs related to:
- Delay on Quantity:
(POST) http://[IPv4]
/var_set?param=ondel_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=ondel_[PROCESS ID]
- Delay off Quantity:
(POST) http://[IPv4]
/var_set?param=offdel_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=offdel_[PROCESS ID]
- Delay on Unit:
(POST) http://[IPv4]
/var_set?param=ondelu_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=ondelu_[PROCESS ID]
- Delay off Unit:
(POST) http://[IPv4]
/var_set?param=offdelu_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=offdelu_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=ondel_3&val=15
POST: http://192.168.1.255/var_set?param=ondelu_3&val=1
will set the Delay on for Process #3 to 15 seconds.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.
Example
The following example process is a typical bathroom vent. The vent is turned ON
immediately with the Rising edge on a switch,
but runs for additional 5 minutes following the Falling edge before it is turned OFF
: