I am not using gurux, but tasmota to read out my ISKRAEMECO AM550.
You seem to know how to communicate with the smart meter. Because I did not find any manuals or resources on this online can you help me out?
I am getting something like this as a response:
09:32:20.360 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 30 c4 74 eb 7a a7 3c 74 22 81 57 81 74
09:32:20.402 : b7 44 32 17 b1 5b 70 ec bb 7a 6f dc 78 de 2e 64 9f f4 e0 c1 d7 ac 19 1d 56 44 8e 96 d2 0c f7 19 cf f8 f0 a9 5a 59 7b e7
09:32:20.445 : 7f 6c 59 6b c7 b6 72 43 38 9b 61 da ad 01 09 06 60 73 3d 7c 40 f3 2d 39 8b 7e
09:32:23.429 : 12 fb 80 bf f6 65 65 b7 b4 cd 66 bb 0a 53 fc b5 96 18 a3 48 59 4e 8d 61 3e e7 c6 90 0c e3 ea 38 77 76 ad e9 89 79 a0 cf
09:32:23.471 : cc 33 4a 7e
09:32:24.349 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f
09:32:24.392 : 20 00 1e 30 c8 6a 2e 27 45 2d 31 8c 86 5d e3 a9 41 d7 b0 63 2f fd e5 a5 f9 1b d9 88 32 c9 cc a7 85 ef 1e 6d b0 e7 17 4f 70
09:32:24.434 : 13 5b 07 5c bb f3 f1 86 b2 4e 60 ac 27 49 59 f8 05 a0 ab c0 a8 ea 26 53 49 42 e2 03 ed b5 15 c3 b4 d4 09 0e 2d 54 b2 ce 7e
09:32:25.332 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00
09:32:25.375 : db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 30 c9 73 db b0 dd 59 03 64 87 46 d9 09 21 26 0c 46 42 73 0e 87 a0 30 9e b9 1d fb
09:32:25.417 : e6 7c 56 3a a7 f1 bc 34 f0 d3 9a 8b 72 34 78 94 89 fc be c9 a0 09 e4 72 fb 66 72 6f e4 8a 95 f1 41 b1 30 7d 13 ec 03 fa
09:32:25.461 : 02 31 c5 5d 4e 9e bf ff ee 61 f3 7e
09:32:27.436 : a1 5a ad 6c f7 58 2a 8a cd b9 cc 9e 46 18 80 a5 ec 2e 52 d8 2e 90 9b a3 b3 8e 62 b1 5c 16 5b e9 a0 63 77 6a db 84 7e
It should be AES encrypted, since i got a 32 bit key from my grid operator. But how do I apply it?
My settings are pretty basic:
>D
>B
->sensor53 r
>M 1
+1,3,r,0,9600,STROM
1,77070100010800ff@1000,Total consumption,KWh,Total_in,4
#
This means: First meter, Pin 3, Raw, 0 averaging, 9600 baud, Called it STROM
I also tried 300 baud, but there i got nothing back
ISKRAEMECO AM550 is sending push messages for the serial port. You can use Gurux listener as a base project to listen to those messages and then parse them.
Thanks for your reply.
I have no clue how to get gurux running on my ESP, that I am using to capture the IR signals. I also think this is way to much overhead.
Could you instead help me to understand, how I can process it directly on the ESP?
In this script (https://gist.github.com/pocki80/941fa090a8d6269a9b3b68c195f8750f) it uses "from Crypto.Cipher import AES" so I was assuming AES.
Can you point out where in the gurux code the decryption takes place, so I can compare it?
Can you receive data as described above using IR signals? If you share the schema we can build an example for ESP32-DEVKITC-S1ESPRESSIF.
DLMS is quite a complicated protocol, but because you are interested in only push messages and in Iskraemeco AM550 PDU is coming in one frame you can use that script to get the data.
Hi,
Hi,
ISKRAEMECO AM550 is sending push messages for the serial port. You can use Gurux listener as a base project to listen to those messages and then parse them.
https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.Push…
PDU is encrypted with GMAC, not AES.
BR,
Mikko
Thanks for your reply.
Thanks for your reply.
I have no clue how to get gurux running on my ESP, that I am using to capture the IR signals. I also think this is way to much overhead.
Could you instead help me to understand, how I can process it directly on the ESP?
In this script (https://gist.github.com/pocki80/941fa090a8d6269a9b3b68c195f8750f) it uses "from Crypto.Cipher import AES" so I was assuming AES.
Can you point out where in the gurux code the decryption takes place, so I can compare it?
Hi,
Hi,
Can you receive data as described above using IR signals? If you share the schema we can build an example for ESP32-DEVKITC-S1ESPRESSIF.
DLMS is quite a complicated protocol, but because you are interested in only push messages and in Iskraemeco AM550 PDU is coming in one frame you can use that script to get the data.
BR,
Mikko