Page 1 of 1

Issue with time trigger and calendar

Posted: Thu Dec 14, 2023 12:18 pm
by roomdivision
Hi,

I have an issue with the time trigger function.
I have a bunch of trigger events over one year and I tried to work with the "if" function.
But if i open the calendar it seems that it does not work properly.
I tried to make an simple example to explain it.

I like a scene starts every day October and March at 17:00.
So I make a time trigger for every day at 17:00
1_TRIGGER EVENT.jpg
1_TRIGGER EVENT.jpg (53.69 KiB) Viewed 5715 times
2_DETTINGS.jpg
2_DETTINGS.jpg (321.28 KiB) Viewed 5715 times
But in the calendar the trigger is on every day.
5_CALENDAR.jpg
5_CALENDAR.jpg (11.64 KiB) Viewed 5715 times
What is the problem?

Thank you

Re: Issue with time trigger and calendar

Posted: Tue Dec 19, 2023 8:28 am
by TomHat
Hello,

Sorry for the late reply.
When it comes to triggers in ESA Pro 2, you need to consider this:

A trigger is:
- ONE unique triggering EVENT.
- However many CONDITIONS (all of them need to be TRUE at the instant the EVENT is happening).
- At least ONE trigger ACTION.

In the example you are showing, what you are telling the software is:
- Every day at 17:00,
- IF it is between March 1st and March 31st
- AND IF it is between October 1st and October 31st
- Start scene DECKE AN

Obviously the scene will never be triggered, because your interface will check if the current date is both in MARCH and OCTOBER (I don't believe this can ever happen :p ).

What you need to do is to create separate triggers : One for 17:00 in March, and a second one for 17:00 in October.
TRIGGER.png
TRIGGER.png (54.15 KiB) Viewed 5689 times
Hope this helps.

Regards,