Description Usage Arguments Value See Also
Supported sensors for the Hue Bridge include a virtual daylight sensor that
calculates sunrise and sunset times based on your location. This function
helps configure the built-in daylight sensor (id = 1
).
1 2 | configure_daylight_sensor(lat, lon, sunriseoffset = 30,
sunsetoffset = -30, id = 1)
|
lat |
latitude (in decimal degrees). Positive north; negative south. |
lon |
longitude (in decimal degrees). Positive east; negative west. |
sunriseoffset |
"daylight" begins |
sunsetoffset |
"daylight" ends |
id |
ID of the daylight sensor |
Returns TRUE
(invisibly) upon success.
https://www.developers.meethue.com/documentation/supported-sensors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.