Setting time for the homey pro

If I’m not mistaken it’s not possible to set the time for the homey pro, it’s based on the location you set in the settings.
But I don’t understand how I get this strange behaviour after I rebooted the homey a week ago.
I have flows that automatically switch on lights 15 minutes before sunset and switch them of at a set time (22:50).
They’re are switched on at the expected time, but they’re only switched of a 03:50. It worked good before restarting the device.
I alreadye moved the pin of my location to another place to move it back to my actual address but that didn’t solve it.
But I would suppose both sunset/sunrise times and the actual time are based on your location so I don’t get that one is working good while the other isnt…

Maybe you could share a screenshot of your flow.

Not sure if it will help, here are the 2 flows. One that is triggered 10 minutes before sunset to switch on the lights, the other that is triggered at 22:50 to switch them back off. The logic variable is there because I also have switches that will switch off the ligths if they’re on, or switch them on if they are off.

Make sure to temporary move it into another timezone to have the clock reset itself.

Seems fine indeed.

What if you remove the ‘The time is 22:50’ trigger and recreate it?

Also, if you want to check Homey’s current time, there is a Time (Tijd) and Date (Datum) tag that you can check. E.g. create a simple flow that sends those tags to the timeline.

I thought that’s what I did but maybe not correctly. Did it again now, along with SunBeech tip where I created a test flow. Looked at the time after I moved the pin to England, and that looked fine. Moved the pin back home and then it showed the correct time. So I think we are good now.
Thanks!

Thanks for the tip, did not think about this before!

Since yesterday I’m back in timezone CEST -5 while my location is still showing correctly in the app. I did not do a reboot this time. (and I start wondering if the reboot was what caused this the previous time) What could cause the homey app to change it’s timezone?
I do use a VPN sometimes on my PC but this shouldn’t impact the homey, the software is installed locally on the PC.
Where is Homey getting this information from?

You might want to contact Athom support

From the location that you set in More->Settings->Location in the Homey app.

Yes, OK, I understand the location is used to determine the time, but is homey using some external provider to set the time based on the location?
I will create a support ticket as well.

A very nice option to have would be to be able to have an advanced setting, where you could specify an NTP server of your choice for time synchronisation.

I have a couple of NTP servers on my home network using GPS for NTP accurate to within about 100-200 nanoseconds. And everything that connects to my home network use them (for most that is just a setting, or DHCP option… for a few awkward cases I setup CNAME aliases on my DNS servers for FQDNs like time.windows.com and time.aws.com and time.nist.gov etc… but so far I haven’t found any DNS lookups in my DNS logs for Homey, suggesting it uses a time server. I’m guessing it must be within their cloud).

I would like to have the option to sync it to my own time servers, so that it is in sync with all the other devices in my home that it controls. The option to choose would be nice. :+1:t3:

In my DNS logs, I see 0.debian.pool.ntp.org for my Homey Pro 2019, so it probably uses the default from Debian.

I have spent some time searching the logs of my DNS servers, and haven’t found any requests going to them from my Homey Pro (2026) as yet. But I do already have a CNAME alias setup for 0-3 .debian.pool.ntp.org anyway, if it is using that. But it should still show up in the logs, unless it’s ignoring my DHCP reservations DNS server IPs and using some hardcoded nonsense or something…