The Royal Netherlands Meteorological Institute (KNMI) is emptying their “cups” at 08:00 UTC in order to comply I created the following rules in order to the daily logging at 08:00 UTC.
{
"id": "utc-2",
"name": "utc winter",
"rule": "when its Sunday and its after \"October 24 03:00\" then $Timediff = 1",
"active": true,
"logging": true
},
{
"id": "utc-1",
"name": "utc zomer",
"rule": "when its Sunday and its after \"March 24 02:00\" then $Timediff = 2",
"active": true,
"logging": true
},
{
"id": "rainlogging",
"name": "RainLogging zomer",
"rule": "when \"$Timediff\" = \"2\" and its 10:00 then $Rainday = $remote-sensor-8.rain - $Rainold and after 2 seconds $Rainold = $remote-sensor-8.rain",
"active": true,
"logging": true
},
{
"id": "rainlogging-2",
"name": "RainLogging winter",
"rule": "when \"$Timediff\" = \"1\" and its 09:00 then $Rainday = $remote-sensor-8.rain - $Rainold and after 2 seconds $Rainold = $remote-sensor-8.rain",
"active": true,
"logging": true
}
Or is there a more simpler way in order to activate a rule at UTC?