Page 1 of 1

Device Timer rule

Posted: Wednesday 18 April 2018 11:26
by emme
..mmmh....
I have a lua script with the following rule:

Code: Select all

return {
	on = {
		timer = { 'every 3 minutes on -15/4,15/10-'	},
	    },
so I expect the script runs every 3 minutes From October 15th to April 15th
... so why do I have the script running today?! :roll: :roll: :roll:

Code: Select all

2018-04-18 11:24:00.608 dzVents: Info: [TEMP-KEEPER] ==> : ------ Start internal script: dzKeepTemp:, trigger: every 3 minutes on -15/4,15/10-
==== ERRATA CORRIGE ====
Whoops!
I wrote the time interval in a wrong way....
From Oct. 15th to April 15th :P :P

Re: Device Timer rule

Posted: Wednesday 18 April 2018 12:58
by waaren
Do I miss something ?
On my calendar april 18th is between those two dates.

[edit] I See now that I indeed missed something. I completely missed the point. Sorry

Re: Device Timer rule

Posted: Wednesday 18 April 2018 13:29
by dannybloe
No it isn't.. it is supposed to work like 1/1-15/4, 15/10-31/12. But I'll check..

Re: Device Timer rule

Posted: Wednesday 18 April 2018 15:50
by dannybloe
Yup.. it's a bug. I fixed it in 2.4.5. Will be merged somewhere today.

Re: Device Timer rule

Posted: Thursday 19 April 2018 8:24
by emme
thank you so much! :D

Re: Device Timer rule

Posted: Thursday 19 April 2018 8:47
by dannybloe
Did it work?

Re: Device Timer rule  [Solved]

Posted: Thursday 19 April 2018 9:45
by emme
looks like it is....
logs disappeared!
Thanks again!!!! :D :D

My heating control worked like a charm on this winter!!!
I really love dzvents!!! :D