Rework status object (#11)
Co-authored-by: Copilot <copilot@github.com> Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user