Skip to content
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

Unrecognized VIF extension: 0x01 #77

Open
maherma-adg opened this issue Oct 13, 2014 · 2 comments
Open

Unrecognized VIF extension: 0x01 #77

maherma-adg opened this issue Oct 13, 2014 · 2 comments

Comments

@maherma-adg
Copy link

Using a Engelmann SensoStar 2C we get a Unrecognized VIF extension: 0x01 from measures corresponding to energy in MWh
Tracing VIFE decoding routine, I think there is an error in this function because don't cover al cases defined on 8.4.4 section of MBus spec.

Test frame of this device is:
68 A6 A6 68 08 00 72 56 03 88 32 C5 14 01 04 62
00 00 00 04 78 E4 B6 F5 01 04 6D 1A 16 D3 11 04
16 5C 16 01 00 04 FB 01 36 01 00 00 84 20 FB 01
00 00 00 00 84 30 FB 01 00 00 00 00 04 3E 52 00
00 00 04 2E 8A 01 00 00 02 5B 36 00 02 5F 32 00
04 61 A4 01 00 00 02 27 C3 00 01 FD 17 10 04 90
28 40 42 0F 00 42 6C BF 1C 44 16 DD AE 00 00 44
FB 01 CB 00 00 00 C4 20 FB 01 00 00 00 00 C4 30
FB 01 00 00 00 00 82 01 6C 00 00 84 01 16 00 00
00 00 84 01 FB 01 00 00 00 00 84 21 FB 01 00 00
00 00 84 31 FB 01 00 00 00 00 F7 16

@lategoodbye
Copy link
Collaborator

Hi maherma-adg,

thank you for notice. libmbus can handle the Engelmann SensoStar 2C with the M-Bus decoding from mbus-protocol-aux (normalized). Unfortunately the example binaries in the bin directory still using the old decoding function. I plan to fix this in future.

In the case you only need decoding of the hex file, please look in the test directory. The program mbus_parse_hex supports the improved M-Bus decoding:

mbus_parse_hex -n test-frames/sensostar2c.hex

@maherma-adg
Copy link
Author

Hi lategoodbye,
Units isn't problem because our application is monitoring values and didn't use units.
Thank you, Manuel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants