|  Developer
Updated on April 25, 2023


  • Triggering periodically corresponding sunset/sunrise event. It’s possible to set the special days of the week or days of the month. The time offset after/before sunset or sunrise could be used. Also the ranges till/from midnight could be used.
Field Type Required Description
blockOptions.method.args.sunstate string + The name of argument defines sun state. The possible names of argument: , . The value of field defines time offset direction. The possible values: , or . The means event is triggered in sunset/sunrise time. The or means time offset is added before or after sunset/sunrise time. The time offset is defined in parameter.
blockOptions.method.args.time hms_interval The time offset in hms_interval
blockOptions.method.args.weekdays int_array Argument declaration of weekdays array. The possible values are 1..7 range.
blockOptions.method.args.days int_array Argument declaration of days array. The possible values are 1..31 range. If day is set to 31 then event works in each month where 31st day is present.
blockOptions.method.args.range string Possible values: – all time after defined moment till midnight of current day; – all time after midnight till defined moment; – just once at defined moment of time (not range). Default value: . This feature is available since version.
					"when" : [{
          "name": "days",
          "type": "int_array",
          "value": [ 1, 5, 12 ]


Timezone offsets with fractions of an hour (+0545, -0930) are supported since .