added new protocol version
This commit is contained in:
parent
d072dc4d4b
commit
f2c785f2e1
@ -51,6 +51,9 @@ def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None,
|
|||||||
elif dsmr_version == 'ISKRA_IE':
|
elif dsmr_version == 'ISKRA_IE':
|
||||||
specification = telegram_specifications.ISKRA_IE
|
specification = telegram_specifications.ISKRA_IE
|
||||||
serial_settings = SERIAL_SETTINGS_V5
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
|
elif dsmr_version == '5EONHU':
|
||||||
|
specification = telegram_specifications.HUNGARY_EON
|
||||||
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError("No telegram parser found for version: %s",
|
raise NotImplementedError("No telegram parser found for version: %s",
|
||||||
dsmr_version)
|
dsmr_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user