Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Companion Trigger based on the "Time of Day" event not working #2791

Open
2 tasks done
LSCkonamedia opened this issue Mar 10, 2024 · 7 comments
Open
2 tasks done
Labels
area/backend Something in the core of companion BUG Something isn't working

Comments

@LSCkonamedia
Copy link

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Hello there, I am trying to create a simple trigger based on the time of day. No matter what value I enter (following the hh:mm:ss), nothing happens. I even tried to change the trigger to accomodate for all Time zones (litterally went through all of them ) with no success...

Steps To Reproduce

No response

Expected Behavior

No response

Environment (please complete the following information)

- OS:14.3.1 (23D60)
- Browser:Safari
- Companion Version: 3.2.2

Additional context

No response

@LSCkonamedia LSCkonamedia added the BUG Something isn't working label Mar 10, 2024
@LSCkonamedia
Copy link
Author

I have the same problem on at least three different machines running windows, Mac intel, MacM1. Is it because I am based in Hawaii?

@Julusian
Copy link
Member

I feel like I read something a while back saying that system timezone wasnt respected, but I'm not 100% sure.
Perhaps you could try setting adjusted times?

If that is the case, then this can be flipped to an enhancement, and I can look at how to make the timezone handling be correct without breaking existing configs

@Julusian Julusian added the area/backend Something in the core of companion label Mar 11, 2024
@LSCkonamedia
Copy link
Author

LSCkonamedia commented Mar 12, 2024

What do you mean by "Setting adjusted times"? I could not find any settings to change on the companion app... And like I said earlier i tried all 24 hours for the trigger and it did not work. I systematically tried my time zone, then added 1, then 2, all the way to +12 and - 12.

I also tried to use this:

"One condition becoming true" >
"internal: Variable: Check boolean expression" >
($(internal:time_hms) == '14:06:10') && ($(internal:date_weekday) == 'Monday')
I just want to trigger a simple action on a specific day and time :)

But this did not work either... It works when i test actions, but it does not trigger.

@Julusian
Copy link
Member

Sorry, ignore that. I didn't read what you wrote well enough 🤦

I'll need to give this a try myself to figure out what is going on and how best to fix it

@Julusian
Copy link
Member

I've just had a chance to give this a try myself. If I set my system clock to Honolulu (GMT-10), then I have to put in times in GMT still, but then triggers do fire.

So I don't know what is wrong with your machine to not work. I am testing this on linux, but I don't expect that would impact the results here

@Doogiechap
Copy link

I posted this in the Facebook Group but just found this thread.
I'm running 3.3.0 on a Pi. My trigger times don't follow AWST (+8) my local time on my Pi. They also don't follow UTC. They run 7 hours after what I enter for my trigger time.
The times on my companion log reflect AWST (+8)...
Any thoughts why this might be?
Screenshot 2024-04-30 at 3 50 45 PM

@nqeldridge
Copy link

I'm seeing a similar issue. I've setup several time based triggers and the log will show that it has fired at the correct time, but nothing actually happens. However, if I press the Test actions button, the expected actions happen without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Something in the core of companion BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants