jbouwh / omnikdatalogger.origin

(REPOSITORY DEPRECATED) Folow link for active repository

Home Page:https://github.com/jbouwh/omnikdatalogger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timezone support when using docker

jbouwh opened this issue · comments

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.

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

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

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.