The connector can update a recurring event by sending a UPDATE_RECURRING_EVENT command to any schedule in a device.
Prerequisite
You must target:
-
an existing Device with a DeviceExt through the deviceId.
-
an existing ControlSchedule (BooleanSchedule, EnumSchedule, NumericSchedule or StringSchedule) with a ScheduleExt through the scheduleId.
-
an existing recurrent event through the eventId.
Example
{
"type": "UPDATE_RECURRING_EVENT",
"deviceId": "Folder_I0Stk9eSboFsjerkRdyA6",
"scheduleId": "BooleanSchedule_l0StkHQXUQFVrZuej7UiA",
"eventId": "MyId"
"payload": {
"weekday": "monday",
"startTime": "09:03:48Z",
"endTime": "10:03:48Z",
"value": true
}
}
The way that the different values are extracted from the Json can be changed in the connector advanced config.