Hi all,
How can a LUA script know if "now" or "today" is an exception day? Is this possible?
Regards, uidas
Hi,
With actual code it's not, or at least not easily. You can define a rule with a timer at 00:01 until 23:59 every exception day and put actions that set an object value ON/OFF, then use that value in the lua script.
I just written a patch that does it: https://sourceforge.net/tracker/?func=detail&aid=2801976&group_id=207555&atid=1002148
Regards,
Jean-François
Thanks a lot !!
Log in to post a comment.
Hi all,
How can a LUA script know if "now" or "today" is an exception day?
Is this possible?
Regards,
uidas
Hi,
With actual code it's not, or at least not easily. You can define a rule with a timer at 00:01 until 23:59 every exception day and put actions that set an object value ON/OFF, then use that value in the lua script.
I just written a patch that does it:
https://sourceforge.net/tracker/?func=detail&aid=2801976&group_id=207555&atid=1002148
Regards,
Jean-François
Thanks a lot !!