2019-10-03 21:33:11 +02:00
|
|
|
from dsmr_parser import telegram_specifications
|
|
|
|
from dsmr_parser.parsers import TelegramParser
|
2023-02-09 11:07:21 +01:00
|
|
|
from test.example_telegrams import TELEGRAM_V4_2
|
2019-10-03 21:33:11 +02:00
|
|
|
parser = TelegramParser(telegram_specifications.V4)
|
2023-02-19 12:24:44 +01:00
|
|
|
telegram = parser.parse(TELEGRAM_V4_2)
|
2019-10-03 21:33:11 +02:00
|
|
|
|
2020-02-02 22:12:25 +01:00
|
|
|
print(telegram)
|