-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DZG - libsml: error: unrecognized sequence #94
Comments
can you provide a dump? how to make one is described here. perhaps you should make a bigger one to include enough corrupted telegrams, so we perhaps can see a pattern... https://github.com/devZer0/libsml-testing what "lesekopf" do you use, how is it connected? are you sure there is no optical or electric interference ? |
dump separately provided - four sample dumps - each containing corrupted telegrams. |
thanks. i will have a look. |
looks weird. in the second sml telegram of binary file DZG_DVS74-2.bin you sent to me, the entire stop escape sequence ( 1b 1b 1a 04 +fillbyte +checksum is missing (and so libsml is right telling unrecognized sequence). just before the next telegram i see lot's of "ff" and bytes with higher values, so i guess this is optical or electrical interference or problems with the serial communication. so i think this is no parser error but you get scrambled data from your smartmeter. not sure how to solve...
to get a clue what's going on
i think it's not related to the mentioned firmware bug at https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/dzg_dvs74 |
did you receive the answer? any progress with this issue? |
Ping @mucheinz |
Thank you for investigating, will continue researching on my side as well (have re-positioned the optical reader (replaced it with another), checked the cable etc... will come back if I have further details and close the issue for now. |
likely related to #103 |
Hello,
when feeding data from a DZG meter to libsml e.g. using sml_server /dev/lesekopf0 the process exits after a couple of seconds with libsml: error: unrecognized sequence.
Reading through past issues it seems this is related to experiences of others with DZG meters.
I checked and adjusted the lesekopf at the meter but the situation is unchanged - seems there are some packets that libsml does not interpret correctly.
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225125.8#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#100.77#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225125.9#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#115.64#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225125.9#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#126.63#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225125.9#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#123.01#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.0#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#102.05#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.0#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#100.95#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.0#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#110.74#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.1#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#99.18#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.1#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#93.55#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.1#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#99.48#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.1#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#98.01#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.2#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#88.97#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.2#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#105.81#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.2#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#95.58#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.3#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#97.13#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.3#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#95.55#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.3#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#102.10#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.3#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#96.08#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.4#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#95.37#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.4#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#91.80#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.4#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#90.10#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.4#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#93.41#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.5#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#93.53#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.5#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#91.85#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.5#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#100.64#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.5#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#90.72#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.6#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#35.46#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.6#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#35.91#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.6#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#26.28#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.6#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#22.02#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.6#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#25.68#W
1-0:96.50.11#DZG#
1-0:96.1.0255#0a 11 43 5a 57 01 02 81 4d 6f #
1-0:1.8.0255#13225126.7#Wh
1-0:2.8.0255#17498355.3#Wh
1-0:16.7.0255#91.11#W
libsml: error: unrecognized sequence
The text was updated successfully, but these errors were encountered: