The connector can update a special event by sending a UPDATE_SPECIAL_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 time slot in a special event through the eventId.
Example
Example
{ "type": "UPDATE_SPECIAL_EVENT", "deviceId": "Folder_I0Stk9eSboFsjerkRdyA6", "scheduleId": "BooleanSchedule_l0StkHQXUQFVrZuej7UiA", "eventId": "MyId" "payload": { "startTime": "09:03:48Z", "endTime": "10:03:48Z", "value": true } }
The command only handle the update of a time slot inside a special event
The way that the different values are extracted from the Json can be changed in the connector advanced config.