control.outlet.switch3Switched (Switch channel 3 changed)
control.outlet.switch3Switched: Switch channel 3 changed
control.outlet.switch3Switched · device scope · message query permission Alarm
What it does
Reported when switch channel 3 changes. After subscribing to capabilityEvent. See Receive device messages, setMessageCallback, Event catalog, and Overview and common payload.
Reported fields
Fields inside outputData. Platform fields: Overview and common payload.
| Name | Description | Type | Required | Values |
|---|---|---|---|---|
switch | switch | int | no | 0;1 |
Example
{
"msgType": "control.outlet.switch3Switched",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"outputData": {
"switch": 0
},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx"
}
Minimum permission
The administrator does not need an extra permission on a device they bound. A shared device needs the alarm-message permission. A bound sub-user does not. A sub-account needs Alarm. List and search APIs filter out events you are not allowed to see.Outlet and switching。
