Event triggering

Moderator: leecollings

Post Reply
jwilmes
Posts: 5
Joined: Thursday 15 November 2018 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Event triggering

Post by jwilmes »

I have a blockly using 2 conditions:
- a switch condition
- a time condition.
- trigger on switch (not all to avoid too many checks)

If switch is on and time > 22:00 the action should start

This event does not trigger. Can't figure out why
Attachments
event.jpg
event.jpg (43.52 KiB) Viewed 530 times
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Re: Event triggering

Post by AllesVanZelf »

Are you sure that deur bijkeuken is open is the right trigger? Should it not be On of Off?
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Event triggering

Post by wouterlet »

It's good to check the right state indeed. Next to that you're time locks should be with an and I guess. Because now one of them is always true.
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Re: Event triggering

Post by AllesVanZelf »

@Wouterlet, Time can never be > then Sunset And < then Sunrise. That will never happen. Because > sunset is from sunset till 0:00 and before sunset is from 0;00 till sunrise. If I'm not mistaken. So OR is okay here.
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Event triggering

Post by wouterlet »

I'm sorry you're right. I switched them around. That part must be fine
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest