Summary

The WattSenseRestScheduleImportExt creates Events in a weekly schedule by reading a response from an API. It will create only the current or future events in the schedule.


Implementation

  • Add a WattSenseRestScheduleImportExt in a boolean schedule 
  • Configure its HttpConfig
  • Configure its tags selector (optionnal).



 Properties

  • HttpConfig : To configure the Http (Get) request to get data about the Events. See Http Config. The request should target the "/v1/devices/{deviceId}/properties" endpoint.
  • TagsSelector: To define which tags to create for each booking based on the returned JSON. It's useful when we want to display the attendees for example.


Actions

  • Execute: To execute the import of SpecialEvents.