Commit Graph

395 Commits

Author SHA1 Message Date
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
Ville Skyttä
7a687a99a6 Do not install tests 2020-10-18 10:49:09 +03:00
dunajski
86d665df39 Change README.md according to change in ec1d37e
In ec1d37ea08 changed example telegrams,
so example telegram from README.md should be corrected too.
2020-09-28 11:35:47 +02:00
dunajski
ec1d37ea08 Corrects example telegrams.
In example telegrams there a few mistakes in header strings. Using '\'
in strings have special feature to add to string some non-printable
characters, for example to add new line we can add \n for tab \t etc. So
whenever we want to just print backslash as normal character we have to
add another '\' before. In short string "On\\Off" prints "On\Off" ascii
string.

In enquired telegrams there are few strings with \2 sign in header,
'/ISk5\2MT382-1000\r\n' and when we calculate CRC for whole given
telegram part of "..\2.." is interpreted as one character (value 0x02)
instead of two characters ('\', '2').

I think in a header in the example enlosed in P1 DSMR Companion Standard
/ISk5\2.. stand for printable '\' and '2' character instead of
"converted" to special '\2' character.
2020-09-28 10:22:16 +02: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
0427ace079 Updated changelog 2020-08-23 09:36:31 +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
f9e188812f
Merge pull request #54 from lowdef/fix_json_serialization
Fix json serialization
2020-05-29 17:22:53 +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
bb486fc76f
Merge pull request #53 from lowdef/profile_generic_parser
Profile generic parser
2020-05-17 09:12:56 +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
9610fbc3c1 Merge branch 'add_missing_elements_DSRM_Specification_4' 2020-05-11 22:22:00 +02:00
Hans Erik van Elburg
d1ad4fa585 igonre venv/ 2020-05-11 21:08:20 +02:00
Hans Erik van Elburg
a44afb1a59 ignore .venv 2020-05-10 20:47:11 +02:00
Hans Erik van Elburg
d98c93a57f modified changelog 2020-05-03 11:37:53 +02:00
Hans Erik van Elburg
fc4a96ebab bump version 2020-05-03 11:18:08 +02:00
Hans Erik van Elburg
c4331f6cd6 add tests for the missing elements and correct some test bugs 2020-05-02 15:50:00 +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
d423070853
Merge pull request #45 from lowdef/extend_filereader
Extend filereader
2020-02-03 17:31:15 +01:00
987d35332a
Merge branch 'master' into extend_filereader 2020-02-03 17:29:39 +01:00
lowdef
fe710e9272
redo essential change 2020-02-02 22:54:21 +01:00
lowdef
a7b0b03391
remove conflicting entries 2020-02-02 22:52:06 +01:00
Hans Erik van Elburg
5d88284d8d remove requires property again 2020-02-02 22:34:17 +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
dc6c35a0b6 Updated changelog 2020-01-28 19:40:27 +01:00
47c20e763f Merge branch 'master' of github.com:ndokter/dsmr_parser 2020-01-28 19:36:23 +01:00
e7164d9af7
Merge pull request #48 from dupondje/fix_pycrc
Include needed PyCRC code
2020-01-28 19:35:42 +01:00
Jean-Louis Dupond
d714528c5a Include needed PyCRC code 2020-01-28 17:26:45 +01:00
Hans Erik van Elburg
0675a6e2e7 add tailer dependency 2019-12-27 16:22:10 +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
eac9681e07 updated changelog 2019-12-21 17:37:50 +01:00
659560222a
Merge pull request #40 from lowdef/add_a_true_telegram_object
Add a true telegram object
2019-12-21 17:36:28 +01:00
74fe1f2d1e
Merge branch 'master' into add_a_true_telegram_object 2019-12-21 17:34:58 +01:00
a01e673646 updated changelog for new release 2019-12-21 15:02:13 +01:00
09614860a6
Merge pull request #44 from dupondje/master
Add support for Belgian and Smarty meters
2019-12-21 14:57:02 +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
3a8b4d2458 Corrected changelog 2019-12-12 22:33:14 +01:00