Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp from DSMR5 meter is misinterpreted #1342

Closed
ghost opened this issue Mar 29, 2021 · 3 comments
Closed

Timestamp from DSMR5 meter is misinterpreted #1342

ghost opened this issue Mar 29, 2021 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 29, 2021

/Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(210329232030S)
...
ID:
1
Timestamp:
30 maart 2021 01:20
Moment waarop de meting is gedaan

The above is a copy-paste from the meter statistics admin page. There's a 2 hour discrepancy between the timestamp from the telegram and how it is interpreted. Runs in Docker with the - DJANGO_TIME_ZONE=Europe/Amsterdam flag. What can clarify this?

@ghost ghost added the bug label Mar 29, 2021
@dennissiemensma
Copy link
Member

dennissiemensma commented Mar 29, 2021

Bedankt voor je melding. Grote kans dat je van het volgende last hebt: #1282

Probeer deze mount/volume te verwijderen:

/etc/localtime:/etc/localtime:ro

@dennissiemensma dennissiemensma assigned ghost Mar 29, 2021
@dennissiemensma dennissiemensma added this to the Other milestone Mar 29, 2021
@ghost
Copy link
Author

ghost commented Mar 30, 2021

Dat was inderdaad de fix, dank. Geen idee hoe die er is gekomen, in de laatste versie van het docker compose voorbeeld staat-ie er ook niet.

@ghost ghost closed this as completed Mar 30, 2021
@dennissiemensma
Copy link
Member

Fijn! En klopt, dat is ook pas vrij recent gewijzigd: xirixiz/dsmr-reader-docker@d23758b . Verder zijn er meerdere manieren om dit issue te fixen, maar dit is de makkelijkste.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant