jbouwh / omnikdatalogger.origin

(REPOSITORY DEPRECATED) Folow link for active repository
https://github.com/jbouwh/omnikdatalogger/
GNU General Public License v3.0
5 stars 1 forks source link

Timezone support when using docker #4

Closed jbouwh closed 4 years ago

jbouwh commented 4 years ago

omnikdatalogger and omnikdataloggerproxy now can run using docker containers. Timestamps in mqtt and pvoutput will be in gmt and not local time. This needs to be fixed. Alternative is using hacs or a native install using pip.

jbouwh commented 4 years ago

This page seems to have a solution. I will start testing.

jbouwh commented 4 years ago

Dockerfile was updated for jbouwh/omnikdatalogger:latest image. Testing now. omnikdatalogger proxy will follow later.

jbouwh commented 4 years ago

Use environment flag -e to set the timezone when running a container based on the omnikdatalogger image. E,g. -e TZ=Europe/Amsterdam I wil, update the documentation and wiki. As already said, omnikdatalogger proxy will follow later.

Europe/Amsterdam is the default timezone.