Hue API: lights endpoints

search_for_new_lights()

get_new_lights()

rename_light(id, name)

get_lights()

get_light(id)

set_light_state(id, ...)

delete_light(id)

Arguments

id

ID of a specific light

name

name to assign to the light

...

named parameters describing light state (e.g. on = TRUE)

Value

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.