Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.36 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.36 KB

WLED.NET Continuous Integration Workflow install from nuget downloads

A .NET Wrapper around the WLED JSON API.

Getting Started

Installing Package

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

Usage

Getting data from the WLED device

var client = new WLedClient("http://office-computer-wled/");

var data = await client.Get();

Post data to the WLED device

Turn on the device on

var client = new WLedClient("http://office-computer-wled/");
await client.Post(new StateRequest { On = true });

Samples

The samples folder containers examples of how you could use the WLED.NET Library.

Contributing

  1. Issue
  2. Fork
  3. Hack!
  4. Pull Request