Event Not Triggered

Moderator: leecollings

Post Reply
MightyMike
Posts: 8
Joined: Friday 30 October 2015 9:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3530
Location: Almere, Flevoland, The Netherlands
Contact:

Event Not Triggered

Post by MightyMike »

Can someone clarify why this event stoped working since the last update?
The lamp is not turned on automaticly, but if i turn it on my self after sunset, i can not get the lamp to go off (as expected because its later than sunset and before 00:00)
Same goes for turning it on before sunset, it wont go on because the event turns it off immediately (as expected)

Image
User avatar
bewo
Posts: 74
Joined: Monday 13 July 2015 12:27
Target OS: Linux
Domoticz version: 2021.1
Location: Bavaria - Germany
Contact:

Re: Event Not Triggered

Post by bewo »

Is there something in the log?

I think the script is triggering itself in a loop, caused a time problem.

I would delete the section 00:00.
Only "< as Sunset and Lamp On then Lamp Off".
Individual projects:
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
MightyMike
Posts: 8
Joined: Friday 30 October 2015 9:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3530
Location: Almere, Flevoland, The Netherlands
Contact:

Re: Event Not Triggered

Post by MightyMike »

No there is nothing in the log file.
I also tried small if statements like

if time < sunset write to log "Before sunset"

even that event isnt triggered.

Ill try to remove the 00:00 part and see whats going to happen
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Event Not Triggered

Post by Derik »

try first a simple block
And the go to step to..

Time is > sunset until??
And from day 1 to day 2 you have to use always or in stead of and
Start simple
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Event Not Triggered

Post by jvdz »

@Derik, you do realize you are replying to a spammer that posted in an 2+ years old thread? ;)

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest