Closed pafade89 closed 4 months ago
Please, explain me better.
My current settings for time and timezone are as follows:
On the event page, the timestamps are now correct with GMT, so thank you for that. However, I was wondering why the timezone setting in the general settings is not used to calculate the correct time for the timestamps on the event page. I mean to say that the new setting option seems redundant in this context.
Furthermore, unfortunately, the link is still not adjusted to the now correct timestamp on the event page.
As you can see, the link is still in local time, as far as I can tell.
Thank you in advanced
Which model and which Yi fw do you have?
The default configuration should be correct. Leave your timezone as above and set "Select the time used..." to autodetect. Reboot the cam.
Now, fire an event and check:
Are they GMT? Or local time? Are they different?
The used model and firmware is:
Leave your timezone as above and set "Select the time used..." to autodetect.
Reboot the cam.
Now, fire an event and check:
I have performed the steps as described by you above, and here is the result:
On the event page the time is one hour too early compared to my correct time in Germany (should be 14:54):
Url in browser also shows the time shifted one hour (correct time 14:54):
FTP files path show also shifted time (correct time 14:54):
To summarize, with local time setting all timestamps are same. Set GMT the timesteps are correct (not all because the links are not correct), but its not local time.
The file/folder structure in /tmp/sd/record is handled by Yi processes and I can't change this behavior.
So, the link /?page=eventsfile&dirname=2024Y02M06D31H
can't be changed to local time.
But you should see the local time in the Events page. Is it true?
Here are the correct timestamps from the app:
And here are the timestamps from the event page of the Yi hack. Again, the timestamps do not match. It seems like local time is not being calculated correctly.
Auto-detection is still selected as before.
This is not ok. If you use the app I think cloud is enabled. Correct? Could you try to check the time when the cloud is disabled?
After turning off the cloud connection and triggering a new event, the timestamps remain unchanged, still one hour too early. Please note that we are currently in winter time, not summer time, so the offset would be even greater by an additional hour.
Ok. After these tests, let me rewind and restart from scratch. I think that, with your model, you should use the GMT option in the select "Select time used by your cam...". If I understood correctly, when you set GMT the cam works properly:
The only problem is the name of the folder where the cam stores the videos. Is it correct? If it's correct this is the configuration for you, I can't fix the problem related to the file/folder names. If not, please explain me what is wrong.
Another question: are you using time osd?
When I use GMT option in the select "Select time used by your cam..." the following facts accurate:
I can't adjust the OSD, as it always appears in the upper left corner and is therefore inevitably used. What is your question regarding OSD? Can I help you in any way regarding that?
I have also another question :P
What does E, M, and S stand for?
Ok. As I said above, I can't change the "Directory name" and "File name". I'm not able to change how the Yi process saves the files. But all other feature are ok.
I can't adjust the OSD, as it always appears in the upper left corner and is therefore inevitably used. What is your question regarding OSD? Can I help you in any way regarding that?
In the cams where time osd is not enabled, I created a switch that can enable it. But this switch causes a problem with the timezone offset. This is why I asked you.
What does E, M, and S stand for?
I don't know the meaning of E but it's related to the alarm type that triggered the video. M stands for minutes (in your case 34 minutes) and S for seconds (01 seconds). The last number is the duration of the video. In this case, second 01 + duration 59 = the end of the minute.
That you are not able to change how the Yi process saves the files I understood. I only listed it again for a final summary. So, thank you for your time, and I appreciate you taking another detailed look. Unfortunately, I can't assist with the OSD Switch since all four of my cameras always have the OSD enabled. Or can I Support you? Otherwise, I would say, can the issue be closed?
Don't worry about osd. I can test it wih my cam. But, thanks to your help I was able to test a cam with permanent osd. And maybe, this feature is related to the offset of the file/folder structure.
You can close the issue. Thanks.
Hi, in the last release @roleoroleo you change the cam to work in local time and give us the solution to chose on event page between the correct time format (#622). Unfortunately, the link still doesn't match. Wouldn't it be possible to fetch the correct time from the time zone settings on the General Settings page?
I think it makes sense for the timezone and timestamps to remain consistent throughout the entire webpage.
Thank you very much for your efforts and the quick implementation last time. ;)