ndokter / dsmr_parser

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

Improve compatiblity with Belgian standard #105

Closed gigatexel closed 2 years ago

gigatexel commented 2 years ago

Gas meter

The code listed BELGIUM_HOURLY_GAS_METER_READING for the gas-meter. This is incorrect, since the gas-meter updates the meter reading every 5 minutes. Reference: https://www.fluvius.be/nl/thema/meters-en-meterstanden/digitale-meter/maak-je-meter-slim

De P1-poort stuurt per seconde de elektriciteitsdata en per 5 minuten de gasdata rechtstreeks uit. De digitale gasmeter stuurt de gasdata door via de digitale elektriciteitsmeter. Via de P1-poort zijn je verbruik (kWh), actief vermogen (kW) en enkele kwaliteitsgegevens beschikbaar.

Current/Power limitation

The Belgian digital meter has the ability to limit current/power, for instance when clients are dropped or their credit has run out. This has been added.

References:

ndokter commented 2 years ago

Thanks for the contribution! Ill make a new release soon

ndokter commented 2 years ago

Could you maybe fix these small code style issues?

dsmr_parser/telegram_specifications.py:158:7: W291 trailing whitespace [pycodestyle]
dsmr_parser/obis_name_mapping.py:55:39: E203 whitespace before ':' [pycodestyle]
gigatexel commented 2 years ago

Could you maybe fix these small code style issues?

dsmr_parser/telegram_specifications.py:158:7: W291 trailing whitespace [pycodestyle]
dsmr_parser/obis_name_mapping.py:55:39: E203 whitespace before ':' [pycodestyle]

Thank you for pointing that out. I corrected these issues.