spacemanspiff2007 / SmlLib

A library for the SML (Smart Message Language) protocol
GNU General Public License v3.0
27 stars 9 forks source link

is it possible to integrate serialnumber decoding? #13

Closed Mart-Muc closed 1 year ago

Mart-Muc commented 1 year ago

wäre es für dich möglich, ein decodierung der hex seriennummer in decimal einzufügen?

Zitat (https://tasmota.github.io/docs/Smart-Meter-Interface/): If you want you can also convert it to your Identifikationsnummer with some ASCII, DEC and HEX encoding. 0A-01-45-46-52-ST-UV-WX-YZ = 1EFR + string(S) + string(T) + hexToDec(UVWXYZ)

Danke, Mart

spacemanspiff2007 commented 1 year ago

I don't understand what your goal is and your link doesn't provide any insight. Does this only work with a specific energy meter?

ixs commented 1 year ago

@spacemanspiff2007 I suspect that issue can be closed. If I understand correctly, op is trying to get his Tasmota device to display data from his metering device.

He probably stumbled to your library as I use it in https://github.com/ixs/tasmota-sml-parser to help people build their Tasmota config files for their meters.

https://github.com/ixs/tasmota-sml-parser/issues/1 looked very related to your issue.

spacemanspiff2007 commented 1 year ago

Thank you for your feedback!