Commands¶
Request¶
Here only the command request object will be described. More information about sending commands can be found under api.
{
"header": {
"pri": "1",
"ts": 1635497684,
"tzm": 480,
"ver": "0.0.50"
},
"body": {
"data": "[args]"
}
}
Description¶
header
: header object, values are constant exceptts
ts
: current timestamptz
: time zonever
: version
body
: Missing, when command has no argsdata
: object with the command arguments.
Response¶
Here only the command response object will be described. More information about sending commands can be found under api.
{
"header": {
"pri": 1,
"tzm": 480,
"ts": "1297811721698",
"ver": "0.0.1",
"fwVer": "1.8.2",
"hwVer": "0.1.1"
},
"body": {
"data": "[data]"
}
}
Description¶
header
ts
: timestampver
: protocol versionfwVer
: firmware versionhwVer
: hardware version
body
data
: Holding the actual data. See specific description