ndokter / dsmr_parser

Library to parse Dutch Smart Meter Requirements (DSMR) telegrams.
MIT License
112 stars 63 forks source link

Fix parsing with invalid timestamps #125

Closed dupondje closed 1 year ago

dupondje commented 1 year ago

Sometimes the timestamp in the DSMR message is invalid (when no data read read from the mbus meter?), and then parsing fails. Fixing this by handling the exception and returning None for invalid timestamps. Fixes: #120

ndokter commented 1 year ago

Thank you for your contribution!