2391f38c4a
Merge pull request #57 from avandermeer/master
...
fix for empty parentheses in ProfileGenericParser
2020-12-14 16:55:38 +01:00
Guy Foetz
b7c8626d0c
adding the # Alternate codes for foreign countries.
2020-12-13 12:15:51 +00:00
Rob Bierbooms
2a95d33c02
Add Luxembourg equipment identifier
2020-11-04 20:42:38 +01:00
Hans Erik van Elburg
700cf6a2b3
issue#60 resolved issue with x-x:24.3.0 where it contains non-integer characters, parse 2nd value as string instead of integer
2020-11-02 00:29:03 +01:00
albert
dc902a83e9
referring to parent method from _parse_values in ProfileGenericParser
2020-09-08 12:30:51 +02:00
albert
be4386bc59
tempfix for empty profileGenericParser
2020-09-07 18:15:49 +02:00
addf9b590e
Merge pull request #55 from aequitas/exception
...
Pass exception to log.exception as it is not called from within an ex…
2020-08-23 09:32:44 +02:00
51f821a7fc
Merge pull request #49 from dupondje/fix_pycrc
...
Improve CRC speed
2020-08-23 09:30:22 +02:00
Johan Bloemberg
5630520771
Pass exception to log.exception as it is not called from within an except: clause. Add Python 3.8 test support, drop Python 3.4 test support.
2020-07-21 10:31:40 +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
Jean-Louis Dupond
78419f6cc7
Improve CRC speed
2020-02-16 09:31:06 +01: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
Jean-Louis Dupond
d714528c5a
Include needed PyCRC code
2020-01-28 17:26:45 +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
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