I have captured an object from my Kamstrup Omnipower meter, using a Raspberry Pico. The data is encrypted using DLSM/COSEM.
I can successfully decrypt it using Gurux DLMS Translator by adding my encryption key and then see the data presented in the OBIS format.
I want to decrypt the data using your Python Library and I have tried to figure it out. I just want to use the translation function as I have serial capture working perfectly.
Hi,
Hi,
If you want to convert received data to XML you can use this code:
t = GXDLMSTranslator()
t.blockCipherKey = UPDATE_CORRECT_KEY
t.authenticationKey= UPDATE_CORRECT_KEY
xml = t.messageToXml(frame)
BR,
Mikko