Updated JSON API (markdown)

master
Aircoookie 2019-11-19 21:40:32 +01:00
rodzic e8ff527a68
commit 4e5a1a25d4
1 zmienionych plików z 2 dodań i 0 usunięć

@ -119,6 +119,8 @@ nl.tbri | 0 to 255 | Target brightness of nightlight feature
udpn.send | bool | Send WLED broadcast (UDP sync) packet on state change
udpn.recv | bool | Receive broadcast packets
udpn.nn | bool | Don't send a broadcast packet (applies to just the current API call). Not included in state response.
v | bool | If set to _true_ in a JSON POST command, the response will contain the full JSON state object. Not included in state response.
time | uint32 | Set module time to unix timestamp. Not included in state response.
seg | Array of segment objects | Segments are individual parts of the LED strip. In 0.9.0 this will enable running different effects on different parts of the strip.
#### Contents of the segment object