Request which informs a device of a daylight transiton: it has become dark (sunset) or light (sunrise). The device will switch the relays, which have schedule entries for transition messages. The optional 'time' value can be used to indicate a switch time. If the optional 'time' value is omitted the device should switch immediately. See light schedule-entry for more information regarding switch schedules.
Response communicates status.
Message definitions
messageSetTransitionRequest{requiredTransitionTypetransitionType=1;// Night-Day or Day-Night transitionoptionalstringtime=2;// [(nanopb).max_size = 7]; // - format hhmmss UTC}messageSetTransitionResponse{requiredStatusstatus=1;}
Data types
enumTransitionType{NIGHT_DAY=0;DAY_NIGHT=1;}enumStatus{OK=0;FAILURE=1; // general failureREJECTED=2; // request received in wrong state}
Example
Soap requests and responses sent to and from platform: