# Time wrong in Smart Lighting?

**URL:** <https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198>\
**Category:** SmartApps & Automations\
**Created:** [April 12, 2018, 3:57pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198 "2018-04-12T15:57:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![seannymurrs](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/seannymurrs/32/12449_2.png) [@seannymurrs](https://community.smartthings.com/u/seannymurrs)\
**Post date:** [April 12, 2018, 3:57pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/1 "2018-04-12T15:57:21Z")

</div>

I currently have an automation setup in the Smart Lighting SmartApp to trigger at 5:00AM on weekdays. For the past week or so, it has gone off at 4:58AM instead. I’ve confirmed the time is set correctly in the automation itself, and it definitely still says 5:00AM. Anyone have any idea why this may be happening and how I can fix it?

---

<div class="post-metadata">

**Author:** ![bamarayne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bamarayne/32/18206_2.png) [@bamarayne](https://community.smartthings.com/u/bamarayne)\
**Post date:** [April 12, 2018, 8:55pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/2 "2018-04-12T20:55:37Z")

</div>

No idea, but I’ve been seeing the same thing.

---

<div class="post-metadata">

**Author:** ![tgauchat](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/tgauchat/32/49516_2.png) [@tgauchat](https://community.smartthings.com/u/tgauchat)\
**Post date:** [April 12, 2018, 9:04pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/3 "2018-04-12T21:04:07Z")

</div>

Unlike being an even number of hours (or even 30 minute chunks) off, which would tend to indicate a Timezone or Daylight Savings Time issue…

_ **Being just “2 minutes” off leads to various theories:** _

1. The cloud server(s) are not syncing their clocks frequently enough to a reliable Time server.

2. The schedule queue processor is busy (i.e., long queue), and thus SmartThings _purposefully_ allows the scheduler some leeway in order to average out the anticipated processing delay as it is known to take up to several minutes for it to work its way through all the jobs scheduled for exactly 5:00AM.

**Suggestion:** Test an “odd” (less predictable on-the-hour) time slot in order to be less likely to encounter a peak scheduling moment; e.g., 5:12AM. See if the execution is now exactly at 5:12AM or if it is 5:10AM or maybe 5:14AM…

---

<div class="post-metadata">

**Author:** ![Nezmo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/nezmo/32/63953_2.png) [@Nezmo](https://community.smartthings.com/u/Nezmo)\
**Post date:** [April 12, 2018, 9:10pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/4 "2018-04-12T21:10:14Z")

</div>

I often see webCoRE pistons firing a minute early. I just chalk it up to clock synchronization being off.

---

<div class="post-metadata">

**Author:** ![Ryan780](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ryan780/32/103505_2.png) [@Ryan780](https://community.smartthings.com/u/Ryan780)\
**Post date:** [April 12, 2018, 9:22pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/5 "2018-04-12T21:22:10Z")

</div>

When you say it’s running at 4:58, 4:58 according to what system? Your android phone or the live-logging in ST? Because there might be a difference between your carrier time and ST time.

---

<div class="post-metadata">

**Author:** ![bamarayne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bamarayne/32/18206_2.png) [@bamarayne](https://community.smartthings.com/u/bamarayne)\
**Post date:** [April 12, 2018, 9:34pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/6 "2018-04-12T21:34:33Z")

</div>

If you have two automations, smart lighting and WebCoRE. WebCoRE handles the mode change at 5pm and smart lighting turns on a switch at 5 pm.

Both are set to send notification of action. One triggers at 4:58 and one at 5pm.

---

<div class="post-metadata">

**Author:** ![seannymurrs](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/seannymurrs/32/12449_2.png) [@seannymurrs](https://community.smartthings.com/u/seannymurrs)\
**Post date:** [April 12, 2018, 11:51pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/7 "2018-04-12T23:51:10Z")

</div>

4:58 according to all systems. Both my iPhone and the activity log in the SmartThings app show it happening at 4:58 AM.

---

<div class="post-metadata">

**Author:** ![Ryan780](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ryan780/32/103505_2.png) [@Ryan780](https://community.smartthings.com/u/Ryan780)\
**Post date:** [April 13, 2018, 2:49am UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/8 "2018-04-13T02:49:08Z")

</div>

And is this the only time of the day that’s wrong or are all your automations early by 2 mins?

---

<div class="post-metadata">

**Author:** ![seannymurrs](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/seannymurrs/32/12449_2.png) [@seannymurrs](https://community.smartthings.com/u/seannymurrs)\
**Post date:** [April 13, 2018, 9:04am UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/9 "2018-04-13T09:04:46Z")

</div>

I don’t actually have any other time specific automations.

---

<div class="post-metadata">

**Author:** ![Ryan780](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ryan780/32/103505_2.png) [@Ryan780](https://community.smartthings.com/u/Ryan780)\
**Post date:** [April 13, 2018, 12:42pm UTC](https://community.smartthings.com/t/time-wrong-in-smart-lighting/124198/10 "2018-04-13T12:42:05Z")

</div>

The same thing is happening to WebCore Pistons. Anything scheduled for a specific time is happening twice. Once a minute before and once at the actual time. So, it sounds like smartthings has a larger clock issue.
