Updated JSON API (markdown)
This commit is contained in:
parent
465c877beb
commit
f29fb4fa8f
|
@ -110,12 +110,12 @@ bri | 0 to 255 | Brightness of the light. If _on_ is `false`, contains last brig
|
|||
transition | 0 to 255 | Duration of the crossfade between different colors/brightness levels. One unit is 100ms, so a value of `4` results in a transition of 400ms.
|
||||
tt | 0 to 255 | Similar to transition, but applies to just the current API call. Not included in state response.
|
||||
ps | -1 to 65535 | ID of currently set preset.
|
||||
pss | 0 to 65535 | Bitwise indication of preset slots (0 - vacant, 1 - written). Always 0 in 0.11. Not changable. _Deprecated, removal in 0.12.0_
|
||||
pss | 0 to 65535 | Bitwise indication of preset slots (0 - vacant, 1 - written). Always 0 in 0.11. Not changable. _Removed in 0.11.1_
|
||||
psave | 1 to 16 (250 in 0.11) | Save current light config to specified preset slot. Not included in state response.
|
||||
pl | -1 to 0 | ID of currently set playlist. For now, this sets the preset cycle feature, `-1` is off and `0` is on.
|
||||
nl.on | bool | Nightlight currently active
|
||||
nl.dur | 1 to 255 | Duration of nightlight in minutes
|
||||
nl.fade | bool | If `true`, the light will gradually dim over the course of the nightlight duration. If `false`, it will instantly turn to the target brightness once the duration has elapsed. _Deprecated, removal in 0.12.0_ (use mode instead)
|
||||
nl.fade | bool | If `true`, the light will gradually dim over the course of the nightlight duration. If `false`, it will instantly turn to the target brightness once the duration has elapsed. _Deprecated, removal in 0.13.0_ (use mode instead)
|
||||
nl.mode | 0 to 3 | Nightlight mode (0: instant, 1: fade, 2: color fade, 3: sunrise) (available since 0.10.2)
|
||||
nl.tbri | 0 to 255 | Target brightness of nightlight feature
|
||||
udpn.send | bool | Send WLED broadcast (UDP sync) packet on state change
|
||||
|
|
Loading…
Reference in New Issue