|
EXAMPLE |
||
|
This rule ensures the automatic periodic updating of the on-board clock with updates for daylight saving time and the sunrise and sunset times at the location where the device is installed. The parameters used must obviously contain the correct values. |
||
|
|
|
SCH0305 SCHEDULED AT 03:05 |
|
|
$D16=1 WEEKDAY = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
at#http=GET,https://contriveiot.eu/ts?imei=$N14&webid=$D13&tz=$G06&lat=$G01&lon=$G02 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TRIGGER EVENT occurs every day at 03:05 (0305). The first condition to check is that parameter D16 which represents the current day is Monday (1). The first action contains the command that makes the HTTP request to the cloud service to update internal clock, sunset time and sunrise time at the device's location. |
||
