lifx 0.1.0 lifx: ^0.1.0 copied to clipboard
A simple library to interact with LIFX lights.
dart_lifx #
Another attempt at a LIFX library, this time written in Dart.
- Requires LIFX API key when creating a new object:
var lifx = new LIFX("api_key_here");
- Be sure to run
pub get
before attempting to use.
Methods #
All methods contain optional light
parameter, by default all lights are selected. Pass light ID, found with getLights()
to control individual lights.
Future<Map> getLights([String light = "all"])
Future<bool> togglePower([String light = "all"])