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 to assign to the scene
vector of light IDs included in the scene
logical indicating whether the scene can be automatically deleted by the bridge
duration (in milliseconds) of the scene transition
ID of group that scene belongs to
ID of a specific scene
named parameters describing scene attributes or light state
(e.g. name = "foo"
; on = TRUE
)
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.