Description Usage Arguments Value See Also
TODO
1 2 3 4 5 6 7 8 9 10 11 | auth_remote(app_id = Sys.getenv("PHILIPS_HUE_APP_ID"),
client_id = Sys.getenv("PHILIPS_HUE_CLIENT_ID"),
client_secret = Sys.getenv("PHILIPS_HUE_CLIENT_SECRET"),
bridge_id = Sys.getenv("PHILIPS_HUE_BRIDGE_ID"),
bridge_name = Sys.getenv("PHILIPS_HUE_BRIDGE_NAME"),
username = Sys.getenv("PHILIPS_HUE_BRIDGE_REMOTE_USERNAME"),
access_token = Sys.getenv("PHILIPS_HUE_ACCESS_TOKEN"),
access_token_exp = Sys.getenv("PHILIPS_HUE_ACCESS_TOKEN_EXP"),
refresh_token = Sys.getenv("PHILIPS_HUE_REFRESH_TOKEN"),
refresh_token_exp = Sys.getenv("PHILIPS_HUE_REFRESH_TOKEN_EXP"),
initial_setup = interactive())
|
app_id |
your app's ID (the name you registered your app under) |
client_id |
your app's client ID (assigned when you registered your app with Hue) |
client_secret |
your app's client secret (assigned when you registered your app with Hue) |
bridge_id |
ID of hue bridge you'd like remote access to |
bridge_name |
name of hue bridge you'd like remote access to |
username |
TODO |
access_token |
access token returned from |
access_token_exp |
access token expiration time returned from
|
refresh_token |
refresh token returned from |
refresh_token_exp |
refresh token expiration time returned from
|
initial_setup |
if |
Returns TRUE
(invisibly) if options were successfully set
https://developers.meethue.com/develop/hue-api/remote-api-quick-start-guide/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.