Description Usage Arguments Value See Also
Hue API: rules endpoints
1 2 3 4 5 6 7 8 9 10 | create_rule(name, conditions, actions, return_id = FALSE)
get_rules()
get_rule(id)
set_rule_attributes(id, name = NULL, conditions = NULL,
actions = NULL)
delete_rule(id)
|
name |
name to assign to the rule |
conditions |
a list of conditions (e.g. the result of a call to
|
actions |
a list of actions (e.g. the result of a call to
|
return_id |
when creating a new resource, the default is to return
|
id |
id of a specific rule |
Requests with side effects return TRUE
(invisibly) upon
success. GET requests return the response content, parsed into a list.
https://developers.meethue.com/documentation/rules-api
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.