Updated HTTP request API (markdown)

master
Aircoookie 2021-05-07 11:53:15 +02:00
rodzic 16e1866eb9
commit 016cb11efc
1 zmienionych plików z 2 dodań i 0 usunięć

@ -2,6 +2,8 @@ WLED's HTTP API allows you to set many properties of your lights, even more than
_Unsure how all this API stuff works? Check out [this amazing guide](https://tynick.com/blog/01-28-2020/controlling-wled-with-raspberry-pi-using-the-wled-api/) by tynick!_ _Unsure how all this API stuff works? Check out [this amazing guide](https://tynick.com/blog/01-28-2020/controlling-wled-with-raspberry-pi-using-the-wled-api/) by tynick!_
**Notice: While this API is not deprecated, it is highly recommended to use the [JSON API](https://github.com/Aircoookie/WLED/wiki/JSON-API) instead of the HTTP API for new integrations, as it is structured in a better way and allows efficient use of newer features like segments, presets, and playlists.**
The basic URL scheme is: `[ipadress]/win`. This will return an XML file with some current values (see bottom of page). The basic URL scheme is: `[ipadress]/win`. This will return an XML file with some current values (see bottom of page).
Parameters can be added to control some of the variables. Parameters can be added to control some of the variables.
- Example (AP): `192.168.4.1/win&A=255` sets the brightness to maximum - Example (AP): `192.168.4.1/win&A=255` sets the brightness to maximum