roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
844 stars 112 forks source link

unable to set timezone #30

Closed lvdfrnt closed 4 years ago

lvdfrnt commented 4 years ago

anyone know how to set timezone with this hack? the command below works on hack v4 but unable to get it to "stick" on my 6FUS cameras. I telnet, run command, send reboot command and it does not reboot. Even if i reboot through WEBUI, timezone does not set.

sorokin-e commented 4 years ago

Confirm. This way to set TZ doesn't work - https://github.com/TheCrypt0/yi-hack-v4/wiki/Setting-the-Timezone

roleoroleo commented 4 years ago

The uclibc compiled by Yi doesn't support timezone. And I think it isn't a good idea to rebuild all uclibc only for timezones. But I could verify another way.

roleoroleo commented 4 years ago

But what's the purpose to set TZ? Which is the process you want to speak local time?

sorokin-e commented 4 years ago

It's should be useful but not for the processes. Correct TZ helps to fix directory naming in Motion events because currently, it's UTC only. I think TZ also affects using with alternative systems like HA, but I'm not sure ) Thanks in advance.

roleoroleo commented 4 years ago

Try 0.2.5.

sorokin-e commented 4 years ago

It works. Thanks a lot.