I must still be missing something..
pasted in this code under the LUUP tab on the scene, but still sends alert at 17:30, just tested
local pStart = "07:30" -- Start of time period
local pEnd = "21:00" -- End of time period
local allow = false -- true runs scene during period, false blocks it
local hS, mS = string.match(pStart,"(%d+)%:(%d+)")
local mStart = (hS * 60) + mS
local hE, mE = string.match(pEnd,"(%d+)%:(%d+)")
local mEnd = (hE * 60) + mE
local tNow = os.date("*t")
local mNow = (tNow.hour * 60) + tNow.min
if mEnd >= mStart then
return (((mNow >= mStart) and (mNow <= mEnd)) == allow)
else
return (((mNow >= mStart) or (mNow <= mEnd)) == allow)
end
Is there a place I can get some docs on lua coding and how it works, admin/user guide? It looks like it's pretty powerful but I need some kick starting

Thanks agian