[Bug] Routines running outside their schedule!

Hi guys. I had several issues with routines running outside their schedule. I just had an issue today so I made sure to document it

(You can see the condition is for Saturday+ location Home, But Its Thursday…)


@nayelyz, @JDRoberts

Can you please comment?

By Any chance are you running the Shabbat and holiday modes custom endpoint smart app?

EP SmartApp replacement for Shabbat-and-Holiday-Modes!

Or are you traveling outside your normal time zone (in some cases, routines have taken their schedules from the time zone where the phone was, not where the home was)

1 Like

Answering instead of @Yarin_Chen

  1. No shabbat and holidays smartapp in use. This is simple automation that should be triggered in Saturday only
  2. No traveling abroad. Today was Thursday, while the automation should trigger on Saturday only…
1 Like

Hi, @Yarin_Chen, @dotan_shai

So, the condition is “if it’s Saturday 8 am and the location mode changes to home, then…”?

When it triggers outside schedule, did the location mode change by any chance?

The routine is just opening the windows blinds
Also I see that ST decided the monitor mode should be Armed ( away ) not sure why.
But it doesn’t supposed to run the routine

ok, that doesn’t exactly answer my question.
We’ve seen that when a routine has a time condition like “this day at x time”, it doesn’t act as the trigger but as a precondition because the service cannot be checking each second if the current time matches the one in the routine.
So, I need to know if the condition of the location mode made an “OR” condition somehow, so, the routine would trigger if only the mode changed as well.

Please, provide access to your account so I can see the configuration of the routine in JSON format directly:

  1. Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM
  2. Enable support access to your account:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (⋮) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.
1 Like

Thanks for your help
Ive opened the access

1 Like

Hi, @Yarin_Chen
When the routine “executed” did it send the open commands to the physical devices of “Left Window” and/or “Right Window”?
I couldn’t find the logs of the execution of the routine or that the devices got events around 12:00 PM yesterday (2023-08-17) on your time.

Yes it did. The reason thag I checked the history its because we noticed the strange behavior.

Also another routine for closing the blinds (for Saturday) was activated during that day. (See below screenshot)

Hi, @Yarin_Chen
Are you still experiencing this behavior? The engineering team mentioned they saw the Cloud logs about the execution but they require more information to know more about why it is executed out of the schedule.
For that, it is required that once you notice the routine is executed out of schedule, you send your Hub’s logs by following these instructions:

  1. In the Advanced Users app, enter the “Hubs” section
  2. Enter the corresponding Hub and click on “Dump Hub logs”
  3. Confirm the process by clicking on “Dump Hub logs” again in the pop-up.
  4. You’ll get a green box at the top confirming the Hub logs were requested.

I dont see it anymore
Are the logs still there?

We didn’t previously ask you to submit those logs, and as they are saved locally and replaced with the new events as they come depending on how chatty your other devices are, they can last 12 hours or less.
When you submit them as I asked above, the logs of the events registered until that moment are sent to a server and the engineering team can consult them for a longer time.
So, basically, today you won’t have the events of more than 12 hours before approximately, if it’s not happening anymore, we’ll close the investigation.

Thanks. Ill let you know if it happens again