Rework status object

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-24 17:41:57 +02:00
parent 60d179cf4a
commit 8cf7a74a60
2 changed files with 91 additions and 11 deletions
+28 -2
View File
@@ -138,11 +138,37 @@ Or directly from **[busyLight-streamdeck-pluing](https://code.igox.org/iGoX/busy
```json
{
"status": "<STATUS>"
"status": "<STATUS>",
"color": {
"r": 255,
"g": 0,
"b": 110
},
"brightness": 0.1
"isBlinkning": false,
"blinkParameters": {
"frequency": 2,
"duration": 5.0,
"remains": 3.2
}
}
```
`<STATUS>` : `on` | `off` | `available` | `away` | `busy` | `colored` | `blinking`
`<STATUS>` : `on` | `off` | `available` | `away` | `busy` | `colored`
`color`:
- `r`: RED color | integer | [0 .. 255]
- `g`: GREEN color | integer | [0 .. 255]
- `b`: BLUE color | integer | [0 .. 255]
`brightness`: LED brightness (optional) | float | [0.0 .. 1.0]
`isblinking`: whether the BusyLight is currently blinking | boolean
`blinkParameters`
- `frequency`: blink frequency | integer | Hz
- `duration`: total blink duration | float | seconds | 0 = endless
- `remains`: remaining blink time | float | seconds | 0 if endless
# MuteDeck integration