Skip to content

dector/wled-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WLED API for Dart

Pub Version

🚧 ATTENTION! Current version is totally usable but API might change multiple times before the 1.0 release. 🚧

Changelog

See CHANGELOG.md.

Usage

// Will be resolved to `http://localhost`.
final wled = Wled('localhost');
// or
final wled = Wled('127.0.0.1')

await wled.toggle();

final status = await wled.status();
print('${wled.host} => isOn: ${status.isOn}');

Operations

Implemented:

  • Turn On.
  • Turn Off.
  • Toggle.
  • Brightness.
  • Change color.

Not implemented:

  • Effects.
  • Palette.
  • Nightlight.
  • Advances: primary/secondary/third color.
  • Advances: hue/saturation.
  • Notifications.
  • Presets.
  • Macros.
  • Segments.
  • Reboot.
  • Current/countdown time.
  • Color slider mode.
  • Debug IO.
  • Internal mode.
  • Lock.
  • Experimental.
  • Cronixie.
  • Realtime UDP.
  • Live data.
  • Response parsing.