LIFX HTTP API

style: lint

NOTE: This library is a WIP unstable and should not be used for any production environments.

A dart implementation of the LIFX HTTP API.

Repl

This library also ships with a command line REPL to use the library. To use it:

  • Copy the .env example: cp .env.example .env
  • Add your LIFX Developer API key to the .env file
  • Run dart run bin/cli.dart
  • Run help in the REPL to get a list of available commands.

LIFX HTTP API Implementation Checklist

  • x (GET) List Lights
  • x (PUT) Set State
  • (PUT) Set States
  • (POST) Set Delta
  • (POST) Toggle Power
  • (POST) Breathe Effect
  • (POST) Move Effect
  • (POST) Morph Effect
  • (POST) Flame Effect
  • (POST) Pulse Effect
  • (POST) Effects Off
  • (POST) Cycle
  • (GET) List Scenes
  • (PUT) Activate Scene
  • (GET) Validate Color
  • (POST) Clean

LIFX Device Support

  • x Bulb
  • Multizone
  • Tile

Libraries

lifx_http_api