Updated HTTP request API (markdown)

This commit is contained in:
Christian Schwinne 2021-07-08 23:30:13 +02:00
parent ceba88968e
commit a7b925a9e7
1 changed files with 4 additions and 7 deletions

View File

@ -79,19 +79,16 @@ Parameter | Value Range | Description | Since Version
Parameter | Value Range | Description | Since Version
| --- | --- | --- | --- |
&PS= | 1 to 16 | Saves current setup to preset | 0.4
&PL= | 0 to 16 | Applies entire preset | 0.4
&CY= | 0, 1, or 2 | Preset cycle (2 to toggle) | 0.6.3
&PA= | 0 or 1 | Presets apply brightness | 0.7.0
&P1= | 1 to 16 | First cycle preset | 0.6.3
&P2= | 1 to 16 | Last cycle preset | 0.6.3
&PT= | 50 to 65000 | Cycle time in each preset (ms) | 0.6.3
&PL= | 1 to 250 | Applies entire preset | 0.4
&P1= | 1 to 249 | First cycle preset | 0.6.3
&P2= | 2 to 250 | Last cycle preset | 0.6.3
&TT= | 0 to 65000 | Set transition time (ms) | 0.6.3
## Macros
Parameter | Value Range | Description | Since Version
| --- | --- | --- | --- |
&M= | 0 to 16 | Apply macro (deprecated, added for compatibility with pre-0.11 automations) | 0.5.0
&M= | 1 to 16 | Apply macro (deprecated, added for compatibility with pre-0.11 automations) | 0.5.0
## Segments
It is highly recommended to use the [JSON API](https://github.com/Aircoookie/WLED/wiki/JSON-API) when dealing with Segments.