Package: lifx 0.2.0
lifx: 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.
Authors:
lifx_0.2.0.tar.gz
lifx_0.2.0.zip(r-4.7-any)lifx_0.2.0.zip(r-4.6-any)lifx_0.2.0.zip(r-4.5-any)
lifx_0.2.0.tgz(r-4.6-any)lifx_0.2.0.tgz(r-4.5-any)
lifx_0.2.0.tar.gz(r-4.7-any)lifx_0.2.0.tar.gz(r-4.6-any)
lifx_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lifx/json (API)
| # Install 'lifx' in R: |
| install.packages('lifx', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues
Last updated from:e10ee49851 (on package/lifx). Checks:7 NOTE, 2 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 154 | ||
| source / vignettes | OK | 170 | ||
| linux-release | NOTE | 103 | ||
| macos-release | NOTE | 101 | ||
| macos-oldrel | NOTE | 77 | ||
| windows-devel | NOTE | 86 | ||
| windows-release | NOTE | 87 | ||
| windows-oldrel | NOTE | 76 | ||
| wasm-release | OK | 100 |
Exports:lx_check_colorlx_colorlx_color_namelx_effect_breathelx_effect_flamelx_effect_morphlx_effect_movelx_effect_offlx_effect_pulselx_get_tokenlx_has_tokenlx_list_lightslx_rate_limitlx_save_tokenlx_selectorlx_toggle
Dependencies:askpassassertthatcrayoncurlhttrjsonlitemimeopensslR6sys
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| react to 'LIFX' api response error codes | check_lifx_response |
| LIFX': A package for controlling 'LIFX' smart bulbs | lifx |
| check if 'LIFX' color name is valid | lx_check_color |
| change the state of 'LIFX' lamps | lx_color |
| picking a color by name or hsbk | lx_color_name |
| Change light state relative to current state (wrapper for POST state delta | lx_delta |
| "Breathe" effect | lx_effect_breathe |
| "Flame" effect | lx_effect_flame |
| "Morph" effect | lx_effect_morph |
| "Move" effect | lx_effect_move |
| Turn effects off | lx_effect_off |
| "Pulse" effect | lx_effect_pulse |
| GET request | lx_GET |
| retrieve lifx_token from R environment | lx_get_token |
| check whether a lifx api token is stored in the R environment file. | lx_has_token |
| list available lights | lx_list_lights |
| POST request | lx_POST |
| PUT request | lx_PUT |
| get 'LIFX' API rate limit | lx_rate_limit |
| save a lifx API token in your r environment file | lx_save_token |
| select lights | lx_selector |
| set light state (lifx API endpoint PUT set state) | lx_state |
| Toggle light | lx_toggle |