Description Usage Arguments Value See Also
Hue API: scenes endpoints
1 2 3 4 5 6 7 8 9 10 11 12 | create_scene(name, lights, recycle = TRUE, transitiontime = 4,
return_id = FALSE)
get_scenes()
get_scene(id)
set_scene_attributes(id, ...)
set_scene_lightstate(scene_id, light_id, ...)
delete_scene(id)
|
name |
name to assign to the scene |
lights |
vector of light IDs included in the scene |
recycle |
logical indicating whether the scene can be automatically deleted by the bridge |
transitiontime |
duration (in milliseconds) of the scene transition |
return_id |
when creating a new resource, the default is to return
|
id, scene_id |
id of a specific scene |
... |
named parameters describing scene attributes or light state
(e.g. |
light_id |
id of a specific light in the scene |
Requests with side effects return TRUE
(invisibly) upon
success. GET requests return the response content, parsed into a list.
https://developers.meethue.com/documentation/scenes-api
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.