You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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);
The text was updated successfully, but these errors were encountered: