From e30c951c7fc0c7b1477b8521f1e751d93dd2ea6b Mon Sep 17 00:00:00 2001 From: Lennart99 Date: Thu, 10 Jun 2021 12:23:20 +0200 Subject: [PATCH] add special option for Landis+Gyr E360 (DMSR 5 with serial version 4) --- dsmr_parser/clients/protocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dsmr_parser/clients/protocol.py b/dsmr_parser/clients/protocol.py index 34a405e..06ff997 100644 --- a/dsmr_parser/clients/protocol.py +++ b/dsmr_parser/clients/protocol.py @@ -23,6 +23,9 @@ def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None, **kwargs): elif dsmr_version == '4': specification = telegram_specifications.V4 serial_settings = SERIAL_SETTINGS_V4 + elif dsmr_version == '4+': + specification = telegram_specifications.V5 + serial_settings = SERIAL_SETTINGS_V4 elif dsmr_version == '5': specification = telegram_specifications.V5 serial_settings = SERIAL_SETTINGS_V5