aviborg / esp-smart-meter

A reliable ESP8266 application to read out data from (swedish) COSEM/DLMS based smart meters using OBIS code/structure.
Apache License 2.0
46 stars 6 forks source link

Support for encryption keys? #11

Closed AdmiralStipe closed 11 months ago

AdmiralStipe commented 2 years ago

The code seems to be generally working on my meter (Iskraemeco AM550 in Slovenia, RJ12 port) with minor adaptations (baudrate 38400), but I have problems reading the data as my meter's P1 port it's encrypted. I have all decryption keys for my meter available (unicast, broadcast and auth), but nowhere to put them in the code. Is the use of encrypted data and decryption even supported?

aviborg commented 2 years ago

Sorry, but support for encryption is not implemented. I would be happy to accept a pull request, or if i get the time I could do it. Do you have any specs on the encryption scheme?

AdmiralStipe commented 2 years ago

Sorry, I'm total noob in this regard. Maybe this or this can help you? I tried the second one, but it's also not working for me, presumably because of incorrect baudrate (115200).

AdmiralStipe commented 2 years ago

Good news, Erich implemented it in here, if it's of any help to you.