Commit Graph

15 Commits

Author SHA1 Message Date
Hans Erik van Elburg
95bab6a51a Merge branch 'master' into add_a_true_telegram_object 2019-11-25 20:30:35 +01:00
Hans Erik van Elburg
8ba400800b small fixes 2019-11-25 01:53:54 +01:00
Hans Erik van Elburg
f7ba363b93 small fixes 2019-11-25 01:37:48 +01:00
Thomas Neele
8388624721 Read more data from serial port at once
A telegram can contain dozens of lines. Reading them one by one is somewhat inefficient.
With this change, the client tries to read all data that is available.
This significantly reduced CPU load for me.
2019-07-22 21:33:15 +02:00
Hans Erik van Elburg
c36f68a884 working version of the Telegram object 2019-06-06 05:41:55 +02:00
Mark Leenaerts
85c67464a1 Fix DSMR v5.0 serial settings which were not used
While analysing some CRC check errors I encounter within the home-assistant plugin (which uses this component) I encountered this oversight in the code.
2019-01-19 16:11:12 +01:00
Thomas Neele
ad6ab304f5 Added serial settings for DSMR v5.0 2018-09-15 21:23:22 +02:00
Vincent van den Braken
e3203a5334 Optional NUL after checksum
My smart meter returns 00 0D 0A after the checksum, not just 0D 0A.
2017-09-15 13:48:10 +02:00
Nigel Dokter
c78ebe3e2d fixed import errors 2017-06-05 21:06:48 +02:00
Nigel Dokter
d6e28db116 log checksum errors as warning; dont force full telegram signatures; removed unused code for automatic telegram version detection; 2017-06-05 21:02:59 +02:00
Johan Bloemberg
efc09df71f Add DSMR5 option to protocol. 2017-05-12 20:30:53 +02:00
Nigel Dokter
07634abed1 Progress on removing TelegramParserV2_2 and TelegramParserV4 in favor of a generic TelegramParser 2017-01-20 23:02:19 +01:00
Nigel Dokter
f3d8311ac2 updated readme and changelog for upcoming breaking API changes; skip pylama check for unused imports in clients module; 2017-01-11 17:40:25 +01:00
Nigel Dokter
9b488e74f8 renamed serial.py to serial_.py 2017-01-10 20:57:50 +01:00
Nigel Dokter
fadf206715 moved serial clients to own package 2017-01-10 20:09:33 +01:00