# Time offset problem in Homey

**URL:** <https://community.homey.app/t/time-offset-problem-in-homey/32171>\
**Category:** Questions & Help\
**Created:** [July 8, 2020, 3:22pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171 "2020-07-08T15:22:13Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 8, 2020, 3:22pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/1 "2020-07-08T15:22:13Z")

</div>

I’ve several flows based on time, I already noticed for some days there was something strange going on. So first I checked if the system time of Homey was ok. No strange things there. Later I made a flow sending a Telegram message: Time is now “time”, then I noticed the “time” was two hours earlier than it actually was. Maybe it’s based on region, but I couldn’t find a setting for it.  
Does anybody have any idea what’s going wrong?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c8581c5f469d1caea5a3b55f3fd4eef72b2a1a1.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d9d0edc7a20e927913cc1a4112e5ab4dc1e45a21.jpeg)

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [July 8, 2020, 3:33pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/2 "2020-07-08T15:33:05Z")

</div>

Is your location set correctly?

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 8, 2020, 3:57pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/3 "2020-07-08T15:57:06Z")

</div>

Yes it is, did move the pin on the map a bit to make sure it grabs the location again. Unfortunately this wasn’t the solution.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 9, 2020, 7:48am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/4 "2020-07-09T07:48:53Z")

</div>

Is your time zone 2 hours different to UTC / GMT?  
Does the problem just show in Telegram?

JSON time is normally UTC so it is possible that the Homey app is sending that but the Telegram panel is not converting to local time.

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 8:06am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/5 "2020-07-09T08:06:32Z")

</div>

I’m living in The Netherlands, so indeed UTC time is now two hours earlier (Google told me). It’s not only with Telegram, it’s also with turning my lights on/off, that’s how I noticed it. Do you have an idea how to use the local Dutch time in the flows? It was working flawless before.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2020, 8:15am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/6 "2020-07-09T08:15:10Z")

</div>

Is the wrong time shown in the flow editor as well?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87c704de5a2d7dbb09c171240687890ca4011e7d.png)

I assume you’re using a token to insert the current time.

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 8:32am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/7 "2020-07-09T08:32:16Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/1965d77a59f7c7087037524f408f0daeaec53d48.jpeg) Yes, here as well

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2020, 8:37am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/8 "2020-07-09T08:37:27Z")

</div>

What about [https://developer.athom.com/tools/system](https://developer.athom.com/tools/system)?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2aeb5974222f87bfc778d283635ad629f9c249b4.png)

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 8:51am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/9 "2020-07-09T08:51:25Z")

</div>

![Untitled](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f8f2fcacc46c00130ca1aeabc5e65bed462402ab.png)  
Wrong time, right timezone…

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 9, 2020, 8:58am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/10 "2020-07-09T08:58:45Z")

</div>

date is OK as it has the Z on the end so that it UTC. However date-Human is wrong as that should be local time.  
Strange that your dateDst is false but Roberts is true.  
Might be one for Athom to check.

Also, have you tried cycling the power for Homey?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2020, 10:04am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/11 "2020-07-09T10:04:00Z")

</div>

Check if the time on your router is correct.

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 10:10am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/12 "2020-07-09T10:10:52Z")

</div>

Time of the router is correct, also router has the correct time as NTP server.

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 10:13am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/13 "2020-07-09T10:13:01Z")

</div>

> [@Adrian\_Rockall](#):
>
> Also, have you tried cycling the power for Homey?

Can’t reboot Homey otherwise I can’t control my 433MHz devices for more than 24 hours because of [this](https://community.homey.app/t/433mhz-not-responding-after-reboot/31873)…

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2020, 10:13am UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/14 "2020-07-09T10:13:33Z")

</div>

I agree that it’s strange that `dateDst` is false.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 9, 2020, 1:03pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/15 "2020-07-09T13:03:33Z")

</div>

Nowhere read that a real PTP (power off for 15 minutes power on, wait 30 minutes) is done, only see “reboot” for ever what that means?

dateDst should be TRUE, no idea where to set this.

---

<div class="post-metadata">

**Author:** ![Maurice](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurice/32/26294_2.png) [@Maurice](https://community.homey.app/u/Maurice)\
**Post date:** [July 9, 2020, 3:07pm UTC](https://community.homey.app/t/time-offset-problem-in-homey/32171/16 "2020-07-09T15:07:50Z")

</div>

PTP like suggested did the trick, time is correct again and dateDst is true again. Only issue is that I can’t control my 433MHz devices now for at least 24 hours, but this issue is solved. 😄
