olliiiver / sml_parser

Low memory C++ library to parse Smart Message Language (SML) data from smart meters.
GNU Lesser General Public License v2.1
34 stars 15 forks source link

Parsing of the device id (96.1.0) #32

Open CRSLEE opened 7 months ago

CRSLEE commented 7 months ago

Hey, unfortunately there is no parser function to parse the device id of an smart meter.

0x01, 0x00, 0x00, 0x00, 0x09, 0xff 96.1.0

Other parsers just print out the raw hex data. e.g. Raw SML: 77 07 01 00 60 01 00 FF 01 01 01 01 0B 0A 01 42 51 40 01 05 DC 49 EA 01 Parsed: 0a 01 42 51 40 01 05 dc 49 ea

It would be great because i've two smart meters, one for solar and one for my house. Having the ID's would help to differentiate them.

Greetings

olliiiver commented 7 months ago

Hi @CRSLEE. Could you provide a full example please?