Commit Graph

79 Commits

Author SHA1 Message Date
Ard Kuijpers
89ecd051ee Add 'dsmr_parser/' from commit 'f9e188812fbaee90974a3cddf201bbb40278fd9a'
git-subtree-dir: dsmr_parser
git-subtree-mainline: 2f6e219e50
git-subtree-split: f9e188812f
2020-06-03 13:16:25 +02:00
Hans Erik van Elburg
837ba3b6f7 add json serialization 2020-05-25 01:38:14 +02:00
Hans Erik van Elburg
94447c3571 GenericProfileObject value: make embedded buffer items also appear as dicts 2020-05-17 16:58:28 +02:00
Hans Erik van Elburg
c2dea29c83 add a value property to GenericProfileObject, return a dict 2020-05-17 16:49:29 +02:00
Hans Erik van Elburg
789871899c ProfileGeneric parser working, ProfileGenericObject implemented and Test for V4 telegram completed. 2020-05-17 01:25:02 +02:00
Hans Erik van Elburg
b6278a8991 ProfileGeneric parser working, TODO complete ProfileGenericObject + Test 2020-05-16 16:31:26 +02:00
Hans Erik van Elburg
a0ce89054a make all objects able to print their own values 2020-05-12 23:45:16 +02:00
Hans Erik van Elburg
88c9ccd83d Add following missing signatures to the V4 telegram specification SHORT_POWER_FAILURE_COUNT, INSTANTANEOUS_CURRENT_L1, INSTANTANEOUS_CURRENT_L2, INSTANTANEOUS_CURRENT_L3. 2020-05-01 20:36:35 +02:00
Hans Erik van Elburg
b6537678a7 cleaned up based on pylama complaints / pinpointed to coverage version 4.5.4 as next version is incompatible 2020-02-02 22:12:25 +01:00
Hans Erik van Elburg
fee3f696c4 merged upstream 0.18 version and resolved conflict 2020-02-02 17:26:47 +01:00
Hans Erik van Elburg
e6625df4a7 add documentation to FileTailReader 2019-12-27 15:18:35 +01:00
Hans Erik van Elburg
8c2485d70f added file tail reader 2019-12-24 00:57:44 +01:00
Nigel Dokter
74fe1f2d1e Merge branch 'master' into add_a_true_telegram_object 2019-12-21 17:34:58 +01:00
Jean-Louis Dupond
3bfb555d0e Add support for Belgian and Smarty meters 2019-12-21 14:53:26 +01:00
Hans Erik van Elburg
2d4b0d8e72 fix documentation FileInputReader 2019-12-16 15:41:24 +01:00
Hans Erik van Elburg
43500e6bc2 fix failing import 2019-12-16 15:36:13 +01:00
Hans Erik van Elburg
50cef2646b add fileinputreader 2019-12-16 15:30:55 +01:00
Rick van Hattem
7c9c59308e create_tcp_dsmr_reader accepts loop=None but always expects a loop. Fixes #36 2019-12-12 22:20:16 +01:00
Hans Erik van Elburg
c1d7ba151d add some documentation for the file reader 2019-12-09 23:48:48 +01:00
Hans Erik van Elburg
a65949823d fix filereader 2019-12-09 23:27:57 +01:00
Hans Erik van Elburg
3c78b0b6c4 add file reader 2019-12-09 22:36:46 +01:00
Hans Erik van Elburg
a137ef0e02 add some documentation for the use of the telegram as an object 2019-12-01 17:47:22 +01:00
Hans Erik van Elburg
d712d468ac remove useless space 2019-11-25 20:44:25 +01:00
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
Nigel Dokter
9b09969763 Merge pull request #31 from tneele/master
Add serial settings for DSMR v5.0
2018-09-23 12:50:01 +02:00
bossjl
887dd3a2aa Lux-creos-obis-1.8.0 2018-09-21 18:37:32 +02:00
Thomas Neele
ad6ab304f5 Added serial settings for DSMR v5.0 2018-09-15 21:23:22 +02:00
jk-5
472c54968e Corrected meter types 2018-09-06 15:40:02 +02:00
jk-5
d534b1d8b0 Added missing values for 3-phase sagemcom TD210-D meter 2018-09-06 14:53:30 +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
Alex Mekkering
dcb59fddb1 Support optional telegram signatures 2017-06-05 09:07:47 +02:00
Johan Bloemberg
efc09df71f Add DSMR5 option to protocol. 2017-05-12 20:30:53 +02:00
Nigel Dokter
9d20bb8ad5 experimenting with version detection 2017-01-28 17:01:33 +01:00
Nigel Dokter
a88dfe1a41 added DSMR v3 specification; updated changelog; 2017-01-26 18:50:30 +01:00
Nigel Dokter
adcfdfe2ae fixed v2 specification typo; fixed wrongly edited obis reference; 2017-01-22 16:42:02 +01:00
Nigel Dokter
45ee8dbb32 added basic config for DSMR v5 specification; added DSMR v5 example telegram for testing; 2017-01-22 16:39:16 +01:00
Nigel Dokter
7a4c204850 added code comments 2017-01-21 10:42:17 +01:00
Nigel Dokter
45f5fe2c36 define checksum support in telegram specification; moved telegram v2 exception temporarily from parser to MBUSObject; 2017-01-21 10:33:17 +01: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
Nigel Dokter
e97ab7c7ea import issues 2017-01-09 21:47:51 +01:00