README.md

Travis-CI Build Status

LIFX

Quickstart

Install the package:

devtools::install_github("cboettig/lifxr")

Get your Personal Authentication Token from the LIFX cloud: https://cloud.lifx.com/settings. Add this token into R using options() in your .Rprofile or current session:

options(LIFX_PAT = "<TOKEN>")

You can now load the library and control your lights:

library("lifxr")
lights()
on()
off()

Function overview

All endpoints in v1beta1 of api.lifx.com are implemented, along with a few helper functions.

See package documentation for details.



cboettig/lifxr documentation built on May 13, 2019, 2:08 p.m.