Device Timer rule  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Device Timer rule

Post 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
Last edited by emme on Wednesday 18 April 2018 14:39, edited 1 time in total.
The most dangerous phrase in any language is:
"We always done this way"
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Device Timer rule

Post 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
Last edited by waaren on Thursday 19 April 2018 9:38, edited 2 times in total.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe »

No it isn't.. it is supposed to work like 1/1-15/4, 15/10-31/12. But I'll check..
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe »

Yup.. it's a bug. I fixed it in 2.4.5. Will be merged somewhere today.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Device Timer rule

Post by emme »

thank you so much! :D
The most dangerous phrase in any language is:
"We always done this way"
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe »

Did it work?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Device Timer rule  [Solved]

Post 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
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest