scenes | R Documentation |
scenes
endpointsHue API: scenes
endpoints
create_scene(name, lights, recycle = TRUE, transitiontime = 4) create_group_scene(name, group_id, recycle = TRUE, transitiontime = 4) 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 |
group_id |
ID of group that scene belongs to |
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 that create resources return the ID of the newly created
item, requests with side effects return TRUE
upon success, and GET
requests return the response content, parsed into a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.