1
0

petr's changes

This commit is contained in:
2026-02-16 16:55:57 +01:00
parent e790d12ea1
commit 7d898e04f2
31 changed files with 416 additions and 35 deletions

View File

@@ -9,3 +9,15 @@ post {
body: none
auth: inherit
}
docs {
# Device Errors
List active device error messages.
## Set Parameters
None.
## Response
- `err`: Array of active error messages
}

View File

@@ -9,3 +9,15 @@ post {
body: none
auth: inherit
}
docs {
# Device Software Versions
Get device software version numbers.
## Set Parameters
None.
## Response
- `vers`: Integer array of version numbers
}

View File

@@ -6,6 +6,26 @@ meta {
post {
url: {{base_url}}/ltemps
body: none
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
~index: 0
}
docs {
# Device LEDs Temperatures
Read LED engine temperature values and reset max values.
## Set Parameters
- `index` (optional): Index of value to reset (0-2)
## Response
If LED temperature readings are not supported: empty JSON array `[]`.
- `lt0-lt2`: Current temperatures (C/F based on unit, float)
- `ltm0-ltm2`: Max temperatures
- `ltmr0-ltmr2`: Max resettable temperatures
- `status`: 0 if success
}

View File

@@ -11,15 +11,18 @@ post {
}
docs {
# Device Status
# Remote Device Info
Get device information without auth.
## Response Fields
## Set Parameters
None.
## Response
- `dmxa`: DMX address + 1
- `dmxp`: DMX preset (Mode X)
- `dmxp`: DMX preset (Mode X, channels in parentheses)
- `dn`: Device name
- `stat`: Status / 1 if some error else 0
- `rdm`: RDM UID
- `rdmi`: 1 if device is identifiing over RDM else 0
- `rdmi`: 1 if device is identifying over RDM else 0
}

View File

@@ -0,0 +1,32 @@
meta {
name: Device State
type: http
seq: 8
}
post {
url: {{base_url}}/devsta
body: none
auth: inherit
}
docs {
# Device State
Returns device state and status summary.
## Set Parameters
None.
## Response
- `devs`: Device status (e.g., "active")
- `sm`: Standby/mode flag (integer)
- `rains`: Current RAINS status ("WET" or "DRY")
- `maxw`: MAX WET/resettable status ("WET" or "DRY")
- `maxwt`: Last reset timestamp for MAX WET (DD.MM.YYYY HH:MM:SS)
## Example
```json
{"devs":"active","sm":0,"rains":"WET","maxw":"WET","maxwt":"10.11.2025 11:48:08"}
```
}

View File

@@ -15,7 +15,10 @@ docs {
Get comprehensive device status information.
## Response Fields
## Set Parameters
None.
## Response
- `dmxa`: DMX address + 1
- `dmxp`: DMX preset (Mode X)
- `dmxf`: Preset footprint (X channels)

View File

@@ -11,7 +11,7 @@ post {
}
body:form-urlencoded {
index: 0
~index: 0
}
docs {
@@ -19,15 +19,15 @@ docs {
Use this command first on each device to get supported parameters, labels and configurations.
## Parameters
## Set Parameters
- `index` (optional): Index of supported command description (0-n)
## Response
If index is valid:
- `c`: API command name
- `p`: Array of supported parameters
- `p` (optional): Array of supported parameters
- `l`: Array of labels for temperatures/timers
- `ra`: Resetable value bitmask
- `ra`: Resettable value bitmask
If index is undefined or >= number of commands: empty JSON
If index is undefined or >= number of commands: empty JSON response
}

View File

@@ -0,0 +1,25 @@
meta {
name: Error/DMX Sniffer/RDM Identify Status
type: http
seq: 7
}
post {
url: {{base_url}}/serr
body: none
auth: inherit
}
docs {
# Error/DMX Sniffer/RDM Identify Status
Get error and diagnostic status flags.
## Set Parameters
None.
## Response
- `err`: 1 if some error else 0
- `dmxsnf` (optional): 1 if DMX sniffer is running else 0
- `idnt`: 1 if RDM identify is on else 0
}

View File

@@ -0,0 +1,27 @@
meta {
name: Pressure Test
type: http
seq: 10
}
post {
url: {{base_url}}/prst
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
~btn: 1
}
docs {
# Pressure Test
Read pressure test status or control the test.
## Set Parameters
- `btn` (optional): 1 = start test, 2 = cancel test
## Response
- Status payload used by the device UI (fields may vary)
}

View File

@@ -0,0 +1,24 @@
meta {
name: Standby Mode
type: http
seq: 9
}
post {
url: {{base_url}}/sbm
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
~s: 0
}
docs {
# Standby Mode
Enter standby mode.
## Set Parameters
- `s`: Standby flag (1 = enabled, 0 = disabled)
}