roleoroleo / yi-hack-Allwinner

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
445 stars 66 forks source link

No TZ for America/Santiago (Chile) #438

Open setterlee opened 2 months ago

setterlee commented 2 months ago

Hi, I was looking the Timezone for Santiago of Chile and didn't find it...

Could you please tell me any walkarround for this or add the TZ? thanks.

roleoroleo commented 1 month ago

The list must be updated. Meanwhile, try CLST.

setterlee commented 1 month ago

Hi @roleoroleo, thanks for your answer.

the CLST set a time with plus 3 hours of the Chilean current time, I was using the Argentina's Timezone AST3 that at this moment is the same TZ here in Chile.

Also I'm using a local NTP server to sync all my cameras time because I block the cameras internet access on my router and I noticed that all my yihacked cameras didn't sync the time while they have the internet access limited even with my local ntp server setted..

roleoroleo commented 1 month ago

Other users noticed strange behaviors when internet access is blocked. But this is strange: the ntp client starts in the system.sh script and it's not related to the internet access. Are you sure that the cam can connect to the server?

setterlee commented 1 month ago

I think that cam can reach the server, at least have ping...

image
roleoroleo commented 1 month ago

Please, try this: login with a ssh session and restart the ntp server.

killall ntpd
ntpd -p 192.168.4.2
setterlee commented 1 month ago

work well via ssh.

roleoroleo commented 1 month ago

Ok, is cloud enabled (Disable cloud=no)?

setterlee commented 1 month ago

is disabled...

roleoroleo commented 1 month ago

Is there a code that matches your time, here? https://gist.github.com/tivaliy/a5ef9c7ccb4d57bdc248f0855c5eb1ff