Device Timer rule  [Solved]

Easy to use, 100% Lua-based event scripting framework.
Post Reply
User avatar
emme
Posts: 835
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Device Timer rule

Post by emme » Wednesday 18 April 2018 11:26

..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.
That's one small step for a programmer, one giant leap for me!
- - - - -
rPI 3b+ zWave + rfxComm + nodeMcu + mySensors

User avatar
waaren
Posts: 810
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Device Timer rule

Post by waaren » Wednesday 18 April 2018 12:58

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.
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

dannybloe
Posts: 1461
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe » Wednesday 18 April 2018 13:29

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: 1461
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe » Wednesday 18 April 2018 15:50

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: 835
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Device Timer rule

Post by emme » Thursday 19 April 2018 8:24

thank you so much! :D
That's one small step for a programmer, one giant leap for me!
- - - - -
rPI 3b+ zWave + rfxComm + nodeMcu + mySensors

dannybloe
Posts: 1461
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: Device Timer rule

Post by dannybloe » Thursday 19 April 2018 8:47

Did it work?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.

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

Re: Device Timer rule  [Solved]

Post by emme » Thursday 19 April 2018 9:45

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
That's one small step for a programmer, one giant leap for me!
- - - - -
rPI 3b+ zWave + rfxComm + nodeMcu + mySensors

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests