I was wondering how I could use the sunset and sunrise time in LUA? I've found the timeofday variable daytime, nighttime and sunsetinminutes. But I'm looking to use the time. Just like the option in blocky or the time returned in the json call /json.htm?type=command¶m=getSunRiseSet
Code: Select all
{
"ServerTime" : "Sep 30 2013 17:15:21",
"Sunrise" : "07:38:00",
"Sunset" : "19:16:00",
"status" : "OK",
"title" : "getSunRiseSet"
}