Outlet and switching
Outlet and switching
Scope
Use property to configure switch state; invoke rows (countdown, timer, task list) use device.service.invoke. Event rows at the end of the table require Receive device messages with capabilityEvent via setMessageCallback and permission Alarm (not Config). Subscribe to switched and related events for switch changes. Permission Config, device scope. See Control.
Reader notes
Start with Using capabilities. Call device.capability.list before you use IDs on this page. See Permission codes and Capability errors.
Index in this folder
| Operation | ID |
|---|---|
| Get switch / relay state property | control.outlet.enabled |
| Set switch / relay state property | control.outlet.enabled |
| Get master switch property | control.outlet.masterEnabled |
| Set master switch property | control.outlet.masterEnabled |
| Get channel 2 switch property | control.outlet.switch2Enabled |
| Set channel 2 switch property | control.outlet.switch2Enabled |
| Get channel 3 switch property | control.outlet.switch3Enabled |
| Set channel 3 switch property | control.outlet.switch3Enabled |
| Get channel 4 switch property | control.outlet.switch4Enabled |
| Set channel 4 switch property | control.outlet.switch4Enabled |
| Get channel 5 switch property | control.outlet.switch5Enabled |
| Set channel 5 switch property | control.outlet.switch5Enabled |
| Get channel 6 switch property | control.outlet.switch6Enabled |
| Set channel 6 switch property | control.outlet.switch6Enabled |
| Get child lock property | control.outlet.childLock |
| Set child lock property | control.outlet.childLock |
| Get overcharge protection property | control.outlet.overchargeProtection |
| Set overcharge protection property | control.outlet.overchargeProtection |
| Get auto power-saving property | control.outlet.powerSaving |
| Set auto power-saving property | control.outlet.powerSaving |
| Get switch count property | control.outlet.switchCount |
| Set switch count property | control.outlet.switchCount |
| Get multi-channel restart state property | control.outlet.restartState |
| Set multi-channel restart state property | control.outlet.restartState |
| Get external switch type property | control.outlet.externalSwitchType |
| Set external switch type property | control.outlet.externalSwitchType |
| Get switch operation mode property | control.outlet.operationMode |
| Set switch operation mode property | control.outlet.operationMode |
| Get pulse duration property | control.outlet.pulseDuration |
| Set pulse duration property | control.outlet.pulseDuration |
| Get multi-channel switch property | control.outlet.multiControl |
| Set multi-channel switch property | control.outlet.multiControl |
| Set countdown | control.outlet.countdownSet |
| Get countdown | control.outlet.countdownGet |
| Set timer | control.outlet.timerSet |
| Get timer | control.outlet.timerGet |
| Timer delay list | control.outlet.timerList |
| Task list | control.outlet.taskList |
| Switch changed event | control.outlet.switched |
| Channel 2 switch event | control.outlet.switch2Switched |
| Channel 3 switch event | control.outlet.switch3Switched |
| Power overload event | control.outlet.overload |
| Countdown failed event | control.outlet.countdownFailed |
| Countdown finished event | control.outlet.countdownFinished |
| Timer task failed event | control.outlet.timerFailed |
| Timer task finished event | control.outlet.timerFinished |
