Hello,
Timezone is defined in Cerbo interface but when I want to schedule charging on grid, only UTC time is considered. How to modify clock to be on my timezone (Pacific Noumea)
Thank you for your help
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hello,
Timezone is defined in Cerbo interface but when I want to schedule charging on grid, only UTC time is considered. How to modify clock to be on my timezone (Pacific Noumea)
Thank you for your help
You can do the following to get the date without modifying the rootfs, so it will continue to work after a firmware update.
root@ccgx:~# TZ=Pacific/Noumea date Sat Jul 31 18:53:47 +11 2021 root@ccgx:~# date Sat Jul 31 07:53:48 UTC 2021
Or you can use:
export TZ=Pacific/Noumea
, which will make it the default for this ssh login. You can add that to .profile in the home directory, so it will be set by default for every ssh login. (and that will survive a firmware update)
Dealing with log timestamps in UTC has been a frustration for me and it wasn't clear if changing the root user's timezone would upset other parts of the system.
This should be added to the root access instructions.Adding a note in the root access would assure everyone it's OK to change the unix time zone.
In addition, I can't say I knew how to make the unix timezone change.
54 People are following this question.