From f9e9e70771598f4316e6b64b6d6016925f50c3e4 Mon Sep 17 00:00:00 2001 From: Hans Erik van Elburg Date: Thu, 3 Oct 2019 21:33:11 +0200 Subject: [PATCH] experimentation file --- test/experiment_telegram.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/experiment_telegram.py diff --git a/test/experiment_telegram.py b/test/experiment_telegram.py new file mode 100644 index 0000000..3450a05 --- /dev/null +++ b/test/experiment_telegram.py @@ -0,0 +1,14 @@ +from decimal import Decimal +import datetime +import unittest +import pytz +from dsmr_parser import obis_references as obis +from dsmr_parser import telegram_specifications +from dsmr_parser.exceptions import InvalidChecksumError, ParseError +from dsmr_parser.objects import CosemObject, MBusObject, Telegram +from dsmr_parser.parsers import TelegramParser +from test.example_telegrams import TELEGRAM_V4_2 +parser = TelegramParser(telegram_specifications.V4) +telegram = Telegram(TELEGRAM_V4_2, parser, telegram_specifications.V4) + +print(telegram) \ No newline at end of file