What is the correct LUA code to run on specific month(s) of year and also for whether DST is true or false? (e.g, only run during July -September)
Thanks,
m
What is the correct LUA code to run on specific month(s) of year and also for whether DST is true or false? (e.g, only run during July -September)
Thanks,
m
You can see all of the fields of the time response in this example:
http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Access_the_current_time
the code itself isn’t using all the components, but it names them early in the intro, including [tt]t.isdst[/tt] (for DST awareness)
Thank you. Now if only I code stick some lua on a schedule (or even a single device within a scene)…
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules