# API * Motion sensor Topic: `motion` Data example: ```json { "deviceId": 0, "value": true } ``` * Light sensor Topic: `light` Data example: ```json { "deviceId": 0, "value": 1024 } ``` * Temperature sensor Topic: `temperature` Data example: ```json { "deviceId": 0, "value": 20.4 } ``` * Sound sensor Topic: `sound` Data example: ```json { "deviceId": 0, "value": 3072 } ``` * Door lock/unlock Topic: `door/lock` Data example: ```json { "deviceId": 0, "lock": true } ``` * Door state changed Topic: `door/status` Data example: ```json { "deviceId": 0, "open": true } ``` * Alarm state Topic: `alarm/state` Statuses: - `Armed` - `Disarmed` - `Triggered` - `Arming` - `Disarming` Data example: ```json { "status": "Disarmed" } ``` * Disarm Topic: `display/disarm` Data example: ```json { "deviceId": 0 } ``` * Arm Topic: `display/arm` Data example: ```json { "deviceId": 0 } ```