From 016cb11efcf27dbd9d288d2c57b262b233a14b1f Mon Sep 17 00:00:00 2001 From: Aircoookie Date: Fri, 7 May 2021 11:53:15 +0200 Subject: [PATCH] Updated HTTP request API (markdown) --- HTTP-request-API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HTTP-request-API.md b/HTTP-request-API.md index 2011b99..17f9d4c 100644 --- a/HTTP-request-API.md +++ b/HTTP-request-API.md @@ -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!_ +**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). Parameters can be added to control some of the variables. - Example (AP): `192.168.4.1/win&A=255` sets the brightness to maximum