Learn R Programming

PhilipsHue (version 1.0.0)

lights: Hue API: lights endpoints

Description

Hue API: lights endpoints

Usage

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.

See Also

https://developers.meethue.com/develop/hue-api/lights-api/