34 lines
655 B
Plaintext
34 lines
655 B
Plaintext
meta {
|
|
name: Device Supported Commands
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/sup_c
|
|
body: formUrlEncoded
|
|
auth: inherit
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
~index: 0
|
|
}
|
|
|
|
docs {
|
|
# Device Supported Commands
|
|
|
|
Use this command first on each device to get supported parameters, labels and configurations.
|
|
|
|
## Parameters
|
|
- `index` (optional): Index of supported command description (0-n)
|
|
|
|
## Response
|
|
If index is valid:
|
|
- `c`: API command name
|
|
- `p`: Array of supported parameters
|
|
- `l`: Array of labels for temperatures/timers
|
|
- `ra`: Resetable value bitmask
|
|
|
|
If index is undefined or >= number of commands: empty JSON
|
|
}
|