I’m having an issue with the sun integration. Midnight on sun integration is 24 min fast than midnight on http://time.nist.gov/. [ EST]. Any suggestion? I believe I’ve looked everywhere, but that’s probably incorrect!!!
I’m using core-2021.11.1 I got my “Home” gps coordinates from iPhone 12 using the device tracker info therefore several decimal places and Google Maps agree with all the above. My system clock use a time.nist.gov server which matches all of my Mac’s… , not sure if that will make any difference.
FWIW, I’m on the only links I could find from nist.time.gov that calculate these numbers, however they do not calculate midnight. I’m in EST and all values match the calculations aside from midnight (because it’s missing from the site). This is why I’m asking where you’re getting the numbers from.
You also have to realize that the server may only show information from it’s city. Which of course will be different, which is why I linked the calculator above that nist links to perform the lat/lon calculation. Home assistant matches my location from the calculator perfectly. So the only options in your case are:
Server is wrong (unlikely)
Server is correct but for whatever city it resides in (likely)
Your latitude and longitude are incorrect (unlikely as you stated above)
Home assistant’s calculations is wrong (Unlikely as this was already vetted and changed in the past to be exact, theres a whole thread about it)
I understand what you are saying. I need a little time to remember how to get the actual numbers from nist. Thanks for the help, I will post the numbers soon.
If you’re close to the EST / CST border, you’re time is going to be closer to 12:30. If you’re in the center of EST, its going to be 12: and if you’re in Maine, it’ll be closer to 11:30.
Yep, Im in Atlanta about 100 miles from the CST. I was coming to the conclusion you are describing when I started the thread.
So maybe my question is: How do I get an automation to trigger at midnight in the Eastern TZ. That what I was looking for. I’ll read soon more!! Thanks, but I may be back.
Hmmm, that is a good question. I’m not sure it can be done. Unless you can explain how to get the TZ from that server. The nist site doesn’t really say much about that. I’d be willing to bet theres a rest endpoint somewhere that does this calculation based on lat/lon and all you need to do is find it and use EST lat/lon