17: Command
Issue a direct command to the device.
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 1 | Arm Mode | 0 = disarm, 1 = arm. Only available on devices that can be armed. Possible values:
| uint8 | |
| 2 | Deep Sleep | 1 = trigger deep sleep / shipping mode. | uint8 |
Code
For convenience, the following constants can be used to reference this message type.