initial push
This commit is contained in:
11
01-device-info/Device errors.bru
Normal file
11
01-device-info/Device errors.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Device errors
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/errors
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
11
01-device-info/Device software versions.bru
Normal file
11
01-device-info/Device software versions.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Device software versions
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/sw_ver
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
11
01-device-info/LED Temps.bru
Normal file
11
01-device-info/LED Temps.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: LED Temps
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/ltemps
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
25
01-device-info/Remote device info.bru
Normal file
25
01-device-info/Remote device info.bru
Normal file
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: Remote device info
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/remote
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
docs {
|
||||
# Device Status
|
||||
|
||||
Get device information without auth.
|
||||
|
||||
## Response Fields
|
||||
- `dmxa`: DMX address + 1
|
||||
- `dmxp`: DMX preset (Mode X)
|
||||
- `dn`: Device name
|
||||
- `stat`: Status / 1 if some error else 0
|
||||
- `rdm`: RDM UID
|
||||
- `rdmi`: 1 if device is identifiing over RDM else 0
|
||||
}
|
||||
30
01-device-info/device-status.bru
Normal file
30
01-device-info/device-status.bru
Normal file
@@ -0,0 +1,30 @@
|
||||
meta {
|
||||
name: Device Status
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/status_i
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
docs {
|
||||
# Device Status
|
||||
|
||||
Get comprehensive device status information.
|
||||
|
||||
## Response Fields
|
||||
- `dmxa`: DMX address + 1
|
||||
- `dmxp`: DMX preset (Mode X)
|
||||
- `dmxf`: Preset footprint (X channels)
|
||||
- `dmxi`: DMX input label
|
||||
- `pt`: Device model name + RDM label
|
||||
- `ip`: IP address
|
||||
- `mac`: MAC address
|
||||
- `rdmu`: RDM UID
|
||||
- `rdmn`: RDM device label
|
||||
- `tu`: Temperature unit (F/C)
|
||||
- `lfn`: Device type ID
|
||||
}
|
||||
33
01-device-info/device-supported-commands.bru
Normal file
33
01-device-info/device-supported-commands.bru
Normal file
@@ -0,0 +1,33 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user