View Full Version : Sunrise Sunset and ambient light...

December 29th, 2012, 06:11 PM
Two questions:

1) I have enabled the SunriseSunset component, but can't get sunrise or sunset values to return in Lua.

local a = SunriseSunset.GetLocalSunrise() returns an error...

Do I have to enable another component,wait for the events to pass, or do I have the syntax wrong?

2) I would like to monitor ambient light outdoors, does anyone have any recommendations on devices?