Package: lifx 0.2.0
lifx: Control "LIFX" Smart Light Bulbs
Allows you to read and change the state of "LIFX" smart light bulbs 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.5)lifx_0.2.0.zip(r-4.4)lifx_0.2.0.zip(r-4.3)
lifx_0.2.0.tgz(r-4.4-any)lifx_0.2.0.tgz(r-4.3-any)
lifx_0.2.0.tar.gz(r-4.5-noble)lifx_0.2.0.tar.gz(r-4.4-noble)
lifx_0.2.0.tgz(r-4.4-emscripten)lifx_0.2.0.tgz(r-4.3-emscripten)
lifx.pdf |lifx.html✨
lifx/json (API)
NEWS
# Install 'lifx' in R: |
install.packages('lifx', repos = c('https://mabafaba.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mabafaba/lifx/issues
Last updated 4 years agofrom:1e6a7431e9. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 24 2024 |
R-4.5-win | NOTE | Oct 24 2024 |
R-4.5-linux | NOTE | Oct 24 2024 |
R-4.4-win | NOTE | Oct 24 2024 |
R-4.4-mac | NOTE | Oct 24 2024 |
R-4.3-win | NOTE | Oct 24 2024 |
R-4.3-mac | NOTE | Oct 24 2024 |
Exports:lx_check_colorlx_colorlx_color_namelx_effect_breathelx_effect_flamelx_effect_morphlx_effect_movelx_effect_offlx_effect_pulselx_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 |
"Morph" 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 |