Application for IoT devices
API description
Paths description
| Action | Path | Method |
|---|---|---|
| Send a command to a device | /command | POST |
Request and response examples
| Path | Method | Request | Response |
|---|---|---|---|
| /command | POST | { boardId: 0, deviceId: 0, command: 5, params: { 4: 255, 5: 125 } } |
usual command {} or sensor response { 0: 25, 1: 76 } |