Skip to content

Commit e2f4bb2

Browse files
author
committed
Deployed 7afc5e1 with MkDocs version: 1.6.1
1 parent 882956b commit e2f4bb2

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

interfaces/json-api/index.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,7 +3228,7 @@ <h4 id="state-object">State object</h4>
32283228
<td>On/Off state of the light. You can also use <code>"t"</code> instead of <code>true</code> or <code>false</code> to toggle.</td>
32293229
</tr>
32303230
<tr>
3231-
<td>bri</td>
3231+
<td><a id="bri"></a> bri</td>
32323232
<td>0 to 255</td>
32333233
<td>Brightness of the light. If <em>on</em> is <code>false</code>, contains last brightness when light was on (aka brightness when <em>on</em> is set to true). Setting <em>bri</em> to 0 is supported but it is recommended to use the range 1-255 and use <code>on: false</code> to turn off. The state response will never have the value <code>0</code> for <em>bri</em>.</td>
32343234
</tr>
@@ -3258,6 +3258,21 @@ <h4 id="state-object">State object</h4>
32583258
<td>Save current light config (state) to specified preset slot. Not included in state response.</td>
32593259
</tr>
32603260
<tr>
3261+
<td>sb</td>
3262+
<td>bool</td>
3263+
<td>Used with <code>psave</code>. Save segment bounds (<code>start</code> &amp; <code>stop</code>).</td>
3264+
</tr>
3265+
<tr>
3266+
<td>ib</td>
3267+
<td>bool</td>
3268+
<td>Used with <code>psave</code>. Save <a href="#bri">brightness</a>.</td>
3269+
</tr>
3270+
<tr>
3271+
<td>sc</td>
3272+
<td>bool</td>
3273+
<td>Used with <code>psave</code>. Save <a href="#seg-sel">selected segments</a>.</td>
3274+
</tr>
3275+
<tr>
32613276
<td>pl</td>
32623277
<td>-1 to 250</td>
32633278
<td>ID of currently set playlist. <em>(read-olny)</em></td>
@@ -3498,7 +3513,7 @@ <h4 id="contents-of-the-segment-object">Contents of the segment object</h4>
34983513
<td>ID of the color palette or ~ to increment, ~- to decrement, or r for random.</td>
34993514
</tr>
35003515
<tr>
3501-
<td>sel</td>
3516+
<td><a id="seg-sel"></a>sel</td>
35023517
<td>bool</td>
35033518
<td><code>true</code> if the segment is selected. Selected segments will have their state (color/FX) updated by APIs that don't support segments (e.g. UDP sync, HTTP API). If no segment is selected, the first segment (<em>id</em>:<code>0</code>) will behave as if selected. WLED will report the state of the first (lowest <em>id</em>) segment that is selected to APIs (HTTP, MQTT, Blynk...), or <code>mainseg</code> in case no segment is selected and for the UDP API. Live data is always applied to all LEDs regardless of segment configuration.</td>
35043519
</tr>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)