Parser not compatible with Belgian situation
joverbee opened this issue · 4 comments
I believe the parser does not correctly deal with a smart meter installed in Belgium (Fluvius netbeheerder). I am using the parser through the Home Assistant sensor.
For gas the telegram should be 0-1:24.2.3, but maybe there are other differences. I can help to provide test telegrams but need instructions on how to do so (totally new to home assistant and just learning to set it up).
Ideally a config switch for NL/BE would be great.
Thanks for reaching out. Im afraid that this will stay unsupported until someone wants to put in time to resolve this. I'm personally not that active with the project at this time.
Maybe someone else wants to pick it up, or maybe im going to work on the project a little bit in the next 2 months, but im not promising anything :)
Ok, I understand.
For now I solved the situation by directly editing the obis_references.py changing 1 line to
GAS_METER_READING = r'\d-\d:24.2.3.+?\r\n'
inspired by @dennissiemensma
https://github.com/dennissiemensma/dsmr-reader/blob/master/dsmr_parser/obis_references.py
I have no clue at the moment on how to properly incorporate this into the dsmr_parser library and then to make it update in home assistant, let alone how to make an elegant configuration that depends on where you are.