Issue with time trigger and calendar

Forum support for ESA Pro 2.0 (Legacy)

Moderators: simonB, nick, TomHat, florent, Ben

roomdivision
Posts: 1
Joined: Thu Dec 14, 2023 11:53 am

Issue with time trigger and calendar

Post 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 2713 times
2_DETTINGS.jpg
2_DETTINGS.jpg (321.28 KiB) Viewed 2713 times
But in the calendar the trigger is on every day.
5_CALENDAR.jpg
5_CALENDAR.jpg (11.64 KiB) Viewed 2713 times
What is the problem?

Thank you
TomHat
Experienced Forumor
Posts: 68
Joined: Wed Oct 18, 2017 7:11 am
Location: France
Contact:

Re: Issue with time trigger and calendar

Post 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 2687 times
Hope this helps.

Regards,
TomHat
--
ESA Pro 2 Support

Mail : [email protected]
Post Reply