-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightning timestamp incorrect in Homey #40
Comments
Hmm, I'm not sure why. The time of my last strike reads the same in Homey and WS View. I can't say for sure if that was the correct time as it was 4 days ago and I didn't look then. |
Do you know for sure which one is correct for your time zone? |
I have a feeling that both the bridge and Homey are adjusting the time. |
That would be nice! |
Should be in the test version in the store. |
Thanks. I still have to wait for a thunderstorm to check. |
The datetime stamp in GW1100C is correct. With new option set to no the difference is -2 hours. With option set to yes the difference is -1 hour. |
Could you set the time format in the advanced settings to Time Stamp and the Adjust Time to No, then let me know what time is shown in the Homey device and what time is shown in WS View. For me the time reported by the API (Time Stamp and the Adjust Time to No) is GMT 2024-08-21T00:05:29.000Z, while WS View is showing BST, 2024-08-21T01:05:29.000Z. If I set the Adjust time to Yes then both show BST. What is your local time offset from GMT? |
So just to make sure I understand, your current time is GMT + 2? In which case it seems the API is returning GMT as expect but the app is not adjusting for your timezone. I am going to add a new log message to show what is being returned by Homey for the timezone value the app uses and I will let you know when that is ready. |
Yes, you're right. Timezone at this moment is GMT+2. Plus 1 in winter, plus 2 in summer. Are insights working correct after you've implemented your changes? |
I have published a test version that logs the timezone and language reported by Homey. That's the data I use in the time conversion, so would be interested to see what you have set. Which insights? |
Hi,
Very nice app! In Homey the timestamp of lightnings is one hour early. The time and date in the hub are correct. Is there a possibility to set an offset? Or another solution?
Thanks in advance.
The text was updated successfully, but these errors were encountered: