Problem DZVENTS RunBefore or after Sunset etc..  [Solved]

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

Moderator: leecollings

Post Reply
djalexnl
Posts: 18
Joined: Sunday 12 August 2018 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Problem DZVENTS RunBefore or after Sunset etc..

Post by djalexnl »

After upgrading to 13080 this weekend all DZVENT scripts that have a trigger with ...after or before sunset or sunrise stopped working...

For example..

Code: Select all

return {
    active = true,
    logging = {
		level = domoticz.LOG_DEBUG, -- Select one of LOG_DEBUG, LOG_INFO, LOG_ERROR, LOG_FORCE to override system log level
		marker = "TEST"
	},
    on = {
        timer = {'10 minutes after sunset'},
	     },
	    
    execute = function(domoticz, item)
    local ErkerLampLinks = domoticz.devices(2692)
    ErkerLampLinks.switchOn().checkFirst()
end
}
I noticed that the last 2 days my lights did not turn on after sunset... so i started testing with some test scripts...


Can someone confirm this ...

Thanx Alex
ben92
Posts: 57
Joined: Thursday 14 August 2014 17:41
Target OS: Linux
Domoticz version: beta
Location: France
Contact:

Re: Problem DZVENTS RunBefore or after Sunset etc..

Post by ben92 »

you can read viewtopic.php?f=71&t=35810

i've got same problem
djalexnl
Posts: 18
Joined: Sunday 12 August 2018 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Problem DZVENTS RunBefore or after Sunset etc..

Post by djalexnl »

Thanks for the reply, I hope this soon gets fixed!..
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Problem DZVENTS RunBefore or after Sunset etc..

Post by waaren »

djalexnl wrote: Monday 15 March 2021 21:56 Thanks for the reply, I hope this soon gets fixed!..
Thx for reporting. Found the problem and it will be fixed in the next build.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
djalexnl
Posts: 18
Joined: Sunday 12 August 2018 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Problem DZVENTS RunBefore or after Sunset etc..  [Solved]

Post by djalexnl »

Problem has been solved! Case can be closed ;-)

Thanks again for the fast fix! 8-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest