Control 'LIFX' Smart Light Bulbs

Allows you to read and change the state of 'LIFX' smart light bulbs via the 'LIFX' developer api < https://api.developer.lifx.com/>. Covers most 'LIFX' api endpoints, including changing light color and brightness, selecting lights by id, group or location as well as activating effects.


AppVeyor build status CRAN status

'LIFX' R package

The 'LIFX' R package is an interface to the 'LIFX' smart bulb api. It lets you view and change your lights' states, for example like this:

lx_color(hue = 200,saturation = 0.3,brightness = 0.5, )

install with github from devtools:

devtools::install_github("mabafaba/lifx", build_vignettes = TRUE)

Once on CRAN, you can install it with:

install.packages("lifx")

Show vignettes / user manual:

browseVignettes("lifx")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lifx")

0.2.0 by Martin Barner, 6 years ago


Browse source code at https://github.com/cran/lifx


Authors: Martin Barner <[email protected]>


Documentation:   PDF Manual  


GPL-3 license


Imports curl, httr, assertthat, jsonlite, crayon, utils

Suggests covr, knitr, rmarkdown, testthat


See at CRAN