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 no processed #49

Open
Trpplayer79 opened this issue Mar 5, 2023 · 0 comments
Open

Timestamp no processed #49

Trpplayer79 opened this issue Mar 5, 2023 · 0 comments

Comments

@Trpplayer79
Copy link

Trpplayer79 commented Mar 5, 2023

Dear,
The timestamp is not parsed by the sketch, even with the latest library.
With the SerialPassthrough script did i grab attached example data from my Belgian smart meter.
DSMR example.txt

The code for reading date/time is:
// Format YYMMDDHHMMSS (example: 210314123511)
TIMESTAMP = data.timestamp;
// Put timestamp in readable format
TIME = TIMESTAMP.substring(6, 8) + ":" + TIMESTAMP.substring(8, 10) + ":" + TIMESTAMP.substring(10, 12)
+ " " +
TIMESTAMP.substring(4, 6) + "/" + TIMESTAMP.substring(2, 4);

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

No branches or pull requests

1 participant