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
Nigel Dokter
759e0a0d92
removed absolute imports back to relative due to serial.py importing from serial
2017-01-09 21:31:08 +01:00
Nigel Dokter
21334e5a0a
changed relative imports to absolute; renamed TelegramBuffer.put to TelegramBuffer.append;
2017-01-09 20:15:55 +01:00
Nigel Dokter
11672d0512
pep8
2017-01-08 11:44:20 +01:00
Nigel Dokter
87a5a2d2fa
dev progress
2017-01-08 11:28:15 +01:00
Nigel Dokter
0e7819b535
dev progress
2017-01-07 22:29:02 +01:00
Nigel Dokter
60317a0dc5
dev progress
2017-01-07 21:26:21 +01:00
Nigel Dokter
d990a316ad
finishing implementation of TelegramBuffer
2017-01-07 11:25:43 +01:00
Nigel Dokter
f10032f701
refactored TelegramParser.parse to accept a str instead of list
2017-01-05 21:24:41 +01:00
Nigel Dokter
9d8cad8b46
Merge pull request #15 from AlexMekkering/telegram_pass
...
Pass lines to parser including line endings
2017-01-04 19:19:07 +01:00
Alex Mekkering
8b60d48edd
pycodestyle fixes
2017-01-04 15:01:20 +01:00
Alex Mekkering
03b761e15b
Pass lines to parser including line endings
2017-01-04 14:49:18 +01:00
Johan Bloemberg
3c9db523fa
Fix tpyo.
2017-01-03 22:27:39 +01:00
Johan Bloemberg
763237ef1d
Add TCP arguments to console. Implement reconnect logic in protocol.
2017-01-03 21:27:10 +01:00
Johan Bloemberg
cdc9e395aa
Add support for TCP connections.
2017-01-03 17:56:24 +01:00
Nigel Dokter
b3014823c1
bugfix; updated async client to CRC check
2016-12-29 19:20:50 +01:00
Nigel Dokter
1c69b4e9ee
added telegram CRC verification
2016-12-28 20:29:34 +01:00
Nigel Dokter
c058feca5f
make serial.EVEN the default parity for DSMR v2.2
2016-11-21 21:30:56 +01:00
Johan Bloemberg
5e88182301
Complete telegram handling logic.
2016-11-21 17:02:32 +01:00
Johan Bloemberg
e3569e0719
Add asyncio protocol implementation.
2016-11-21 15:48:29 +01:00
Johan Bloemberg
616db8b1cc
Add error handling to async serial.
2016-11-21 14:11:30 +01:00
Nigel Dokter
927a4bc8e7
added DSMR v4 parsing unit test; added alternative serial settings for DSMR v2 and v4;
2016-11-20 12:44:45 +01:00
Johan Bloemberg
e3c8c92198
Linting and tpyo
2016-11-12 01:36:36 +01:00
Johan Bloemberg
4afab70dc0
Add asyncio reader.
2016-11-12 01:25:56 +01:00
Johan Bloemberg
fe5caa9126
Test and fix parsing of gas unit.
2016-11-07 20:08:28 +01:00
Johan Bloemberg
cf771776cd
Fix console imports.
2016-11-07 20:04:59 +01:00
Johan Bloemberg
447f2a24fb
Add test and exceptions for V2_2 implementation.
2016-11-07 20:00:10 +01:00
Johan Bloemberg
4a82066144
Add test/style suite.
2016-11-07 19:59:39 +01:00
Johan Bloemberg
90eb6fb3fe
Add V2.2 telegram implementation and console read.
2016-11-06 20:40:39 +01:00