A .NET Wrapper around the WLED JSON API.
WLED.NET can be installed directly via the package manager console by executing the following commandlet:
Install-Package WLED
alternative you can use the dotnet CLI.
dotnet add package WLED
var client = new WLedClient("http://office-computer-wled/");
var data = await client.Get();
Turn on the device on
var client = new WLedClient("http://office-computer-wled/");
await client.Post(new StateRequest { On = true });
The samples folder containers examples of how you could use the WLED.NET Library.
- Issue
- Fork
- Hack!
- Pull Request