arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.03k stars 4.78k forks source link

Add support for IEC 62056 / EN 62056-21 utility meters #8790

Closed ilgrank closed 4 years ago

ilgrank commented 4 years ago

Have you looked for this feature in other issues and in the docs?
yes Is your feature request related to a problem? Please describe.
not related to a problem

Describe the solution you'd like
I would like to be able to read smart Gas/Energy meters using a phototransistor. HopenHAB seems to have a basic implementation already ( https://www.openhab.org/addons/bindings/smartmeter/ ) , but it would be nice to be able to read values directly from Tasmota:

Describe alternatives you've considered
I've tried the code here on Arduino: http://tunn.us/arduino/landisgyr.php

Additional context
A very good protocol analysis/explanation: here A sample of utility meter using the port: http://www.metersit.com/images/pdf/TECHNICAL_DATA_MM.pdf

(Please, remember to close the issue when the problem has been addressed)

kugelkopf123 commented 4 years ago

Look in the wiki. Perhaps that helps you: https://tasmota.github.io/docs/Smart-Meter-Interface/

Sent with GitHawk

ilgrank commented 4 years ago

Thanks @kugelkopf123 , I had already checked it, and currently support includes: ASCII OBIS / SML OBIS / Binary EBUS / Binary MODBUS / Binary RAW but does not include IEC62056, unless I'm missing something of course

kugelkopf123 commented 4 years ago

Oh sorry. Didn’t saw it. Perhaps you could ask for this feature on gemus fork https://github.com/gemu2015/Sonoff-Tasmota He did the sml driver.

Sent with GitHawk

ilgrank commented 4 years ago

@kugelkopf123 no problem :) Didn't know of Gemu's fork either.. but I don't see any change in his readme.md.. what is his fork about?

meingraham commented 4 years ago

@gemu2015 is the developer of Tasmota scripting and the smart meter interface for Tasmota.

gemu2015 commented 4 years ago

@ilgrank while it is simply a copy and paste to install an existing SML driver descriptor, it is not easy for a beginner to design one for a new meter. You must invest some time and effort to explore your meters responses. from the above links i am optimistic that it is possible with my driver to read your meter.

how to start:

first compile a tasmota version with scripting and sml enabled. then type the following basic script. >D >B =>sensor53 r >M 1 ; OBIS uses serial 7E1 here an GPIO pin 3 for receive with 300 baud +1,3,o,300,OBIS 1,1-0:1.8.0*255(@1,Test,KWh,Total,4

then in tasmota console type: sensor53 d1 if your meter emits data from itself you should now see the incoming data

if your meter needs a telegram to start you have to change the descriptor line e.g. here with GPIO 1 for the transmit line the driver sends this message every 3 seconds to the meter +1,3,o,300,OBIS,1,30,0x2F,0x3F,0x21,0x0D,0x0A

at least now you should get an answer in console every 3 seconds.

if you get responses, post them here and we can proceed.

meingraham commented 4 years ago

@ilgrank

Once you are able to successfully capture the meter responses using the procedure @gemu2015 provided, it would be helpful to future users if you would add this procedure and any other "novice" explanation details you learn to the Tasmota docs - https://tasmota.github.io/docs/Smart-Meter-Interface/

ilgrank commented 4 years ago

@gemu2015 , @meingraham Thanks for your replies. I'm waiting for the phototransistor to arrive, then I'll be able to test the above. While we are at it, I've failed to compile with the web tools Gemu's repo. Is there a binary to flash perhaps?

kugelkopf123 commented 4 years ago

At the moment, the Dev Branch from tasmota is in sync with Gemus Fork. So you can try to compile the tasmota one.

meingraham commented 4 years ago

You can also try to compile @gemu2015 fork using Gitpod. Replace the Tasmota repository URL with Gerhard's repository.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

ldoench commented 1 year ago

@gemu2015 I just found this tread and hope it is ok to revive it. I have a Iskra AM550 with only P0/IR and there is very little information about it online. Only that it should work according to IEC 62056-21 (SML) standard as well as DLMS (IEC 62056-46).

The response I get at 9600 baud is not quite SML:

21:31:38.231 : 77 9b 12 42 6c 69 52 e0 0c fd 89 ca a4 8e b6 dc e8 5a 38 c9 ae 7f 58 7e 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 
21:31:48.247 : 77 53 db 2f a1 52 bf 6a ad 71 0e 23 90 40 ed 11 4e 41 da ce 0f b0 44 e8 82 9d f2 81 00 32 2b 50 4c f8 85 e4 ff 05 43 a8 
21:31:49.273 : 77 68 27 8d 79 5b 5d bd 74 5a 91 46 91 86 ac c7 8c 35 ec 91 3d 63 de 18 90 e8 3d 1f 7b 67 2c c5 45 9e 93 5a a7 69 95 89 
21:31:53.246 : 77 de b7 46 ae 70 e1 50 4c 92 70 12 4a 65 1a 79 b3 e0 99 92 d6 b3 cc 3e 96 e2 7e 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 
21:31:55.243 : 77 86 ce 64 43 99 15 a4 04 42 b1 7e ee 40 11 e4 40 89 8d b5 e6 4c a4 f1 e4 0a 0f cc 6d 2a ba ad 56 89 fe 96 c1 60 df c0 
21:31:56.277 : 77 89 3b 8b 30 0f 83 27 9f 10 de 2a 51 d3 ee 46 8d b2 8e 30 72 88 8d c3 35 76 b2 8f 7f a5 6b 96 d7 00 c4 ed 98 7a ce 52 
21:31:57.264 : 77 5d 88 6f 21 b0 89 7b de 49 71 c0 19 fd f7 50 ba 20 78 ea e8 83 ad 14 7e 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 
21:31:58.239 : 77 b9 78 f4 1f 4c 24 04 64 d1 fd 1b 76 d0 04 dd fa 15 db 24 94 e3 67 1f 96 87 e8 e3 7c de 93 5f af 75 85 7e 7e a0 67 cf 
21:32:04.260 : 77 a3 33 24 4f 93 ff 3a b7 12 e6 2c aa 13 d9 4e df 7c 38 f3 cd f8 08 cd e7 a4 45 6d 1a 27 be 4d 03 39 01 e9 49 8e b4 84 
21:32:05.292 : 77 7f ff a5 34 c5 42 4d 20 57 17 9d f5 89 03 c2 62 21 fb d0 78 95 5b b4 cc d0 d4 d5 0c cc 4d 9b 3b d1 92 ff e1 8d c8 86 
21:32:07.221 : 77 35 ea 4d ae dd ee f8 c8 7e 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 14 4d 76 28 ef 
21:32:09.246 : 77 0d 0b a4 e6 d4 af 33 b4 e4 2f 69 2a f1 f1 a9 da cb cf 37 9f b5 fc 56 ea 6d ba f6 f1 41 ae 4d 2f 11 cc f6 69 f8 ae 8f 
21:32:14.274 : 77 d6 9e 6e 88 eb d2 75 97 e9 93 05 5a 0b 2e 8e 33 c9 bd 26 41 db d6 cc 84 86 63 f0 b0 85 23 93 dc c2 1b db 48 e7 c3 1a 
21:32:15.256 : 77 17 95 2f 52 99 83 2f 01 f5 ff 72 0e 78 73 93 ab 91 49 70 44 c9 6b 74 b0 9d 7e 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 
21:32:19.264 : 77 e8 21 5c c0 ed 8f 92 02 1a f0 19 a4 2e e4 3b 86 f4 cc ad 76 51 99 34 a7 7e 58 51 7f a9 32 96 53 ab 6f eb 6d 9c 25 f8 
21:32:20.251 : 77 1a 6d be c1 dd 8b 6a eb 47 bb cc ee 59 96 e9 2f e5 17 27 e5 fb 6e 85 7a eb 1d 1e 76 7e 7e a0 67 cf 02 23 13 fb f1 e6 
21:32:28.272 : 77 1e a8 57 21 c5 fe 45 4a 4e 4d 91 16 7d 93 4f 81 3b fc 2b 86 bc 91 52 63 cf 51 35 ea 31 52 8b b3 c7 02 41 49 e5 b0 73 
21:32:38.284 : 77 dd 62 81 0b ad 4f 1d a2 11 c0 5c 5d 57 0a 2f 30 4d 80 2c cc 1f e1 fe 08 04 71 bc 02 7e 7e a0 67 cf 02 23 13 fb f1 e6 
21:32:42.228 : 77 55 da d8 bc 41 15 7b e1 3c 42 3d 65 31 a4 f7 ad 54 7e 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 

Could it be somehow encrypted? Since the only Information, that I got from my grid operator was a 32 bit AES key.

gemu2015 commented 1 year ago

yes this looks like its encrypted. there is currently no support for encrypted meters. if you happen to find an implementation (source code) of a decryptor for that meter i might have a look at it.

ldoench commented 1 year ago

Thanks for your response. I found this python script, that promises to decrypt the messages: https://gist.github.com/pocki80/941fa090a8d6269a9b3b68c195f8750f

Strangely my received messages don't start with 7E as they are in the example.

gemu2015 commented 1 year ago

this will not work. you must find a software that decodes your meter thus must have the same start character.

ldoench commented 1 year ago

Pocki80 just mentioned, that it seems to be the right data, but by selecting SML in tasmota it added the 77 at the beginning. By selecting raw i was able to get the 7E A0 ... 7E packages:

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 

Would it be possible to align them by this pattern and then decode it with the algorithm from the python script? There is also another python script: https://github.com/tosog/nbsm/blob/main/nbsm.py

gemu2015 commented 1 year ago

i normally only add things i use myself and don't add things on user request which are a lot of work. i will have a look at this data when i find some time probably in christmas holidays however you must post your KEY to test the decoding and possibly a larger data set.

ldoench commented 1 year ago

I would really appreciate it, if you'll take a look. I also found another thread, where someone had the same problem with an encrypted smart meter.

13:18:17.309 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 
13:18:17.353 : 20 00 1e 65 b9 da 54 eb a6 b5 bf 51 2a 7a a5 1d 85 5a 7c c9 16 24 de 22 b3 39 08 9f cb 2e e8 bc ab 83 b8 ba cb 2b 10 15 6e 7a 
13:18:17.397 : 13 62 18 50 2e 14 d9 bc cb 5f 91 0d a0 65 8a dc 08 3e 81 ae 42 fa 1e 51 a1 f8 ed 3d d3 e1 6f bc 3d cc 8a ae f7 75 9e 7e 
13:18:18.298 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 
13:18:18.340 : 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 ba 59 28 4c ef 11 f5 d3 98 e7 a5 e9 56 fe 84 bb 19 e1 a8 e3 6c e4 25 1e 2e 9f 
13:18:18.384 : 74 9e fe 1f 8d f8 2d ba 22 2d 86 13 37 67 5c 27 81 d1 91 5a e6 73 57 f2 2b 59 d3 6a 24 5a 6a 19 c8 93 6f 10 0e 8a 03 ca 4f 27 
13:18:18.427 : 94 3f 4f 58 93 6a a1 50 37 7e 
13:18:19.317 : 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 65 bb b9 a1 5b 72 1a 07 f0 85 b3 17 c7 da 
13:18:19.360 : 39 8b 97 e6 0e bb 46 39 e4 0c 55 7d 84 81 81 ae 3e aa 93 27 2d c3 3f ca 29 00 3b f9 19 d3 66 f5 f1 ae a8 a8 15 be ce c5 b9 
13:18:19.403 : 63 87 1e 77 ad 65 33 b1 59 2d 64 5a a7 62 49 2f 6e b1 5c 77 51 d3 55 7e 
13:18:20.320 : 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 65 bc 97 4f 32 86 f7 81 71 c3 1d 
13:18:20.363 : 54 b7 67 20 eb 7d f8 15 03 37 3e e3 17 94 7c 53 85 d3 6c 3b b4 f1 a2 56 7d 15 2f aa 5b 8e 01 1a f0 5d e7 5d 11 34 28 da 36 
13:18:20.405 : 8f 1f d5 b5 48 ae b9 13 42 c2 07 0b 93 6f 7f e3 f0 52 c6 ec f1 16 11 6c 25 8d 7e 
13:18:21.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 
13:18:21.343 : 08 4f 20 00 1e 65 bd a5 23 5a 31 a3 53 28 b7 78 56 71 04 38 01 ef b9 1e 7d f1 62 34 ff 44 aa 62 d1 d8 5e 08 c9 74 bf 08 f5 9a 
13:18:21.386 : b3 70 91 33 9f 58 75 5e fe 2f 32 4e ba 8e 8d 34 e6 4a 64 7f 18 44 40 47 ac b2 ab 24 1c 49 cc 76 c1 d5 b0 4b af 9e 8d 2f 8f 
13:18:21.428 : 7e 
13:18:22.309 : 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 65 be 
13:18:22.352 : c9 68 1f e7 e1 f4 99 93 d4 d5 ad 3c 1b aa 3e 01 8f a1 26 57 3d fd d4 03 e1 47 00 d1 8b db a5 c1 48 9a aa ee fd ed ab 4a 86 a2 
13:18:22.395 : 6a da 54 0d 5f 1a fe 6a a9 8d 99 fb a6 84 41 10 5a 3c c2 c2 96 df 9e ad 4c 27 39 c8 37 7b 51 f7 9b 74 7e 
13:18:23.302 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 
13:18:23.345 : db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 bf 3a e8 d4 8c 79 ae 07 bc 88 cb 13 b2 57 35 4f a4 8c 93 bd 3b bd b4 b5 3f f8 
13:18:23.388 : 81 59 9e a1 bc b5 46 b0 bb 14 33 0a d2 e5 ba 11 c6 52 ee 51 46 a3 e5 f8 65 41 57 5e 1e 3c 72 9a 32 3a 48 a3 04 c3 bf ee 26 b5 
13:18:23.430 : a1 6d 72 56 9f cd 28 0c 1a 7e 
13:18:24.317 : 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 65 c0 11 3b 7b fa 63 e6 ec f2 df e3 24 31 
13:18:24.360 : f3 9a 37 62 9d 6f af b9 37 13 89 3d 30 f4 70 cc be 27 1e 2f 31 6b ef 56 ee 9f d5 16 0e 30 eb 6a 05 8d b7 7b 1a a7 b7 3f 03 
13:18:24.402 : 8c bf 2f de 84 20 c9 7b 48 5c 00 99 ff 69 5a c0 40 66 47 c7 96 5d 6f 7e 
13:18:25.283 : 7e a0 67 
13:18:25.325 : cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 c1 21 0c c4 5c 76 7a a7 3e 43 ee 56 9f 4c f6 29 a3 
13:18:25.369 : 7d 9e ab 0c 42 17 3d 4c 97 93 8b 8c 75 ab f6 b4 97 7d b5 b2 f5 74 bc 85 7d 56 42 0c bb 73 20 44 71 65 2b 48 fc 04 88 ce cc 4a 
13:18:25.411 : bc fb 51 41 14 ea e4 96 fa 45 7c cd 39 22 16 55 1a ff 7e 
13:18:26.310 : 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 65 c2 d7 ca 
13:18:26.353 : e0 ef 68 a7 a2 91 15 d2 e2 fe 8d f9 05 0f e1 9f e3 bf ea 32 2c b6 af 5e 62 1b 6d b0 b2 73 78 65 0c a9 98 a2 c9 cb d2 8a ce 
13:18:26.396 : 0d 8c c2 e8 67 5d 11 91 b8 50 2f c6 51 ec 39 bb c7 0f 5a 3b 50 7b 07 d5 e0 7b 45 1e d7 f9 d8 b8 5b 7e 
13:18:27.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 
13:18:27.343 : 68 74 99 f5 08 4f 20 00 1e 65 c3 12 a7 df 8b 81 ca 58 a0 62 07 5e 07 9a 39 51 2e 40 9c ce d4 dc 62 76 3c 20 f7 05 53 d2 48 
13:18:27.387 : 8d da b1 61 9e ea 0c bd 85 7a d4 8c 73 5e 23 11 e4 2f 37 10 b3 66 dd ff 58 08 5c 49 c2 ea 48 ef 67 12 88 c1 27 01 3c ed 36 af 
13:18:27.429 : 73 8f 69 51 7e 
13:18:30.409 : 72 f7 95 b2 fe 49 ef 9d 1c 17 12 45 13 c3 35 e1 43 54 b2 1e 20 bb 7e 
13:18:31.323 : 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 65 c7 a9 af 9c 7d c9 0d ad 89 60 b1 2f 
13:18:31.366 : 3a f1 8c 3a 2c d9 3b 9d 36 ba cc 39 35 29 4f 0d 29 56 69 4c ac 19 57 f4 93 3b b8 d1 f3 aa 4b 46 02 29 08 ae c8 3a b2 26 e8 c6 
13:18:31.408 : 3b 8e 53 9c 7e e3 59 dc 1a 2e 2d c4 cc bd 96 7c 86 b9 96 a4 4a 48 79 7e 
13:18:32.312 : 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 65 c8 3b 
13:18:32.354 : b6 15 ed 5f ce 2b 55 1f a4 60 6c 38 4f 29 76 be 18 eb c4 84 f9 b4 d1 bb 20 ea d2 b4 4c 74 f7 29 62 78 b2 04 f5 c2 b1 9a f6 
13:18:32.396 : d6 16 c1 dc 7e d7 e6 ad 55 41 3d c3 6c fb 4d a4 ef 32 60 90 67 9e f9 f9 c4 03 47 ea 51 cd 49 f9 58 d2 7e 
13:18:33.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 
13:18:33.343 : 4b 68 74 99 f5 08 4f 20 00 1e 65 c9 26 60 5b 7c 90 9d 5b bc 9a e5 de fe c7 2c ed 5c 52 43 a2 28 61 95 90 75 d9 80 c6 28 6e 
13:18:33.386 : 0d f6 bf 7f 4e a5 40 10 84 08 61 ab c5 61 d4 ca cb 6e 61 41 92 f8 81 a7 5c ba 85 8d 23 c3 0b 04 26 78 0c ec a3 44 f7 1a dc 
13:18:33.428 : 99 af e8 70 ae b4 7e 
13:18:35.407 : 16 b6 b6 27 2a 53 f0 85 d8 b9 9e 7e 94 52 a1 c3 03 73 40 21 d7 c5 7e 
13:18:36.310 : 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 
13:18:36.352 : 1e 65 cc 50 66 ad ab 8e d6 fc 84 c2 f1 78 92 e1 e1 63 b8 4c 65 83 fb 0d 31 ce 33 fb 29 db c3 25 d4 d0 c5 e0 76 ef f4 5d e2 
13:18:36.395 : 04 0d a2 d6 2e eb 07 c5 b0 95 06 21 d5 5e 02 30 c9 e1 b9 31 7b f4 f3 fc 87 9c 3a 0c 4a d6 cd b7 73 4d 00 4f 2a 88 7e 
13:18:37.320 : 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 65 cd ec ef d9 83 51 e4 df 
13:18:37.363 : 7e 1b 01 1a 04 c8 84 1b 9f db f7 d7 49 69 04 8e 3a cc 37 c0 ad 8e 0e ea f0 37 7a 0b 4b b5 b9 d1 7b 0f 67 b7 02 cb f5 ba 1d 
13:18:37.405 : 3b e1 9f ab 5a 0b 4f ec 1b 6e 2c cb 1d b9 eb 3f e4 7b 9e 50 4f 9d 99 08 66 f4 99 71 7e 
13:18:38.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 
13:18:38.342 : f5 08 4f 20 00 1e 65 ce 38 54 50 9b 59 78 6b 1a 80 f0 61 d6 e7 bd 8e 47 50 40 61 66 00 2d 74 c3 90 92 72 d0 a0 2d a7 df 31 
13:18:38.385 : 21 7e 2e a7 2c 57 6e 28 da 45 26 75 7d fb e6 a7 bf 49 6b 04 23 74 b3 0d a2 1a 6d 6b 6c 78 76 61 ad 34 03 d6 70 af 85 f3 99 
13:18:38.427 : bf f2 7e 
13:18:39.325 : 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 65 cf db b2 de b1 e5 d5 42 3a 9a f3 81 07 
13:18:39.368 : 6a 81 4b 7c 16 d5 48 d3 33 4e e8 36 80 d8 28 0a a8 71 76 5b bf 34 12 b7 3a a4 d1 66 0c f9 cb 20 29 8f fd 8a e2 66 e4 b0 32 
13:18:39.410 : 31 ec 1b b8 28 35 ab 18 11 ca 79 38 bb 60 32 62 0e 4f d8 76 a0 14 54 7e 
13:18:40.413 : 33 37 2d ec 45 50 b3 07 d4 4a 33 c3 4c 4a 29 b7 ba 08 7e 
13:18:41.310 : 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 65 d1 4e 51 a8 
13:18:41.352 : 29 97 47 f9 60 42 64 01 8a 82 a1 8b 43 be 3e 9e 7d b2 5e 9a 48 f9 dc 91 90 ce b2 12 b0 31 7e 8b 0c aa 08 8a 4b 05 3a cd 
13:18:41.394 : d8 cf e9 a3 85 53 d2 af d8 a8 82 0b 9d da 22 7f db 68 f3 02 00 2e 93 30 30 df 84 91 50 cb 2c f9 b1 7e 
13:18:42.299 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 
13:18:42.341 : 68 74 99 f5 08 4f 20 00 1e 65 d2 07 47 7d 40 64 4e 15 09 bc 8e 8c 44 b3 bc 4f 59 c6 d9 9f 11 f3 10 3c 65 bf 57 e9 e7 9a 7e 
13:18:42.384 : bf 2b cc 68 d8 43 a1 b5 a7 31 36 ee a0 e4 e0 b7 68 49 2d 5d 9b 8d c3 f7 fc 2a 40 b2 3f 84 56 d0 04 f9 2d 23 6e 44 4e ea 92 
13:18:42.425 : c6 9f 9a 01 e5 7e 
13:18:43.307 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 
13:18:43.349 : 00 1e 65 d3 eb 26 a9 6f 68 eb 0b b2 24 ae 76 94 05 52 1c b2 67 28 c7 b5 e9 07 eb 34 c4 30 19 fa 7a 42 e6 33 0e f6 bf 9b 69 
13:18:43.392 : 2c e4 01 12 f7 72 31 76 ff 04 6a 14 48 12 0d 82 5f 2e 2e 8b 1e 66 59 93 50 4c 82 eb a9 71 74 a2 88 67 6f 5b e6 c7 18 7e 
13:18:44.298 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 
13:18:44.340 : 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 d4 3d b9 02 e0 f3 9c 6a 6e 76 9f 02 32 f0 55 52 00 72 f3 0a be 42 cf df 15 0e ca 
13:18:44.383 : 0a e6 fd 08 5c 5b d7 8f ef 4d 30 71 af 37 ca 8a 80 f9 a7 d1 20 aa b7 9c b7 ec a1 58 fe fd dc 56 21 52 89 9d 57 50 54 88 34 b2 
13:18:44.425 : f9 07 74 96 fa 45 13 38 7e 
13:18:45.316 : 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 65 d5 62 e4 c5 d3 73 48 02 c9 85 5d 6c 
13:18:45.359 : f9 90 aa 2d 80 a1 ad b3 a4 f3 62 d8 2b dc e6 af 0b 40 4c 01 ba fd 51 2a 66 56 09 cc eb 77 83 1e 4c 20 84 9f c0 61 ac 4b 00 
13:18:45.402 : e8 db d1 19 79 e3 64 0f 93 ae 71 4b 19 b0 6b aa 61 2f eb 57 e9 0a 4a 3b 7e 
13:18:48.427 : 8c 1d 07 27 02 61 6b f9 30 7e 
13:18:49.288 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 
13:18:49.330 : 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 d9 ab 45 f3 2c bd ed 06 ee 20 0e e8 0f 36 7f ee d4 e1 96 eb d7 85 05 3b 59 ea 71 45 
13:18:49.372 : c6 d2 04 fe 3c 97 d3 5a e2 70 fa 72 5f 6e b3 cc c7 6e 01 49 4c a3 b8 ff 3c 25 0d d6 0d 94 7b c1 75 4a c5 6f 8c dc 79 00 
13:18:49.414 : c6 8c 94 de 7e dc 55 9c 11 7e 
13:18:50.318 : 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 65 da 73 87 8e b5 49 e8 f0 f7 b7 2b f6 
13:18:50.361 : 40 db a5 c0 6b e9 23 b9 75 28 f2 ec 8b 5b ff 0e 15 b4 39 47 72 de 05 10 36 a8 e3 6b ce 37 98 40 00 47 7e 94 e7 f0 8d bc 7b 
13:18:50.403 : 29 11 d0 31 27 23 52 f3 3d 35 04 bc 5b c4 4b 50 d5 d6 98 a4 e6 09 e4 96 7e 
13:18:51.299 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 
13:18:51.342 : 00 1e 65 db 8e 09 e0 b4 a4 c7 0a c2 44 eb cb 9f 22 5c 7e d1 89 74 4c c4 40 29 f5 20 a6 51 e2 89 43 d9 39 84 7d 28 1a 37 2b 
13:18:51.384 : 09 b4 f3 35 fb ea 95 fb ef 28 ab 7e 28 1a fb ee a4 ab cc 3f c6 db 48 c9 cf 0e df 25 f7 c9 71 b1 31 03 e2 c0 d0 c7 3f 7e 
13:18:52.312 : 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 65 dc 0c e3 c3 8f f9 
13:18:52.355 : 61 b1 20 f1 bd b9 2c 26 19 fd 5c 67 4c 74 57 a8 3e 7f d4 76 35 9f 39 07 37 73 9a 78 99 b4 c7 38 3c 00 74 89 36 f8 53 98 35 
13:18:52.397 : db 40 8b 43 8e 5c f2 fc f6 95 da 88 72 57 b8 91 e8 4f 77 ba a7 0e 34 f6 88 ec c3 30 50 57 7e 
13:18:53.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 
13:18:53.343 : 68 74 99 f5 08 4f 20 00 1e 65 dd 27 4e 8e 8f d5 0e 9f 43 c1 a1 c9 9f 4b 8c 2c f5 49 6b f2 12 17 c1 bf d7 bd c7 77 ae e5 b6 
13:18:53.386 : 4e 06 7e 74 24 ce 00 1a d2 9f ff 8b 82 d6 18 4a 6f d3 7e 1e 44 b9 9f d9 2f 9e 1e db 35 d9 99 98 ed 68 48 79 02 c7 f6 ce 6c 
13:18:53.428 : 30 02 c8 2d 9c 7e 
13:18:55.428 : 37 3c 0b 6d 7e 
13:18:56.317 : 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 65 e0 63 82 6b df 8b 9d 86 84 85 cd ee df 
13:18:56.360 : 50 b2 78 8d c9 64 b5 0d 79 ba 2f 9a 32 33 20 09 01 2c 28 36 1e 1a 56 a0 d7 a7 6b 48 5b 3c fe e4 c7 47 d1 0a 2f 79 5e 8c cc 
13:18:56.401 : 38 80 eb ad 14 47 6c 23 85 3b 9a bf 71 c5 6f 00 fd 3a bd 55 48 3e 18 7e 
13:18:57.324 : 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 65 e1 b8 50 b0 4c 38 bb 89 53 88 80 09 
13:18:57.367 : 29 e8 fd a2 a0 9b ea 22 2f ea 0e 5d a1 fa c0 1a a0 9d 0c 6d 7d 72 f7 96 cb de dc b7 16 e5 24 db 5b 9a 4e 0c b6 d6 68 26 7e 
13:18:57.409 : 62 3d 64 e0 de 53 4e e5 82 e7 eb d9 90 0b 11 3f 4f ec cb 00 66 b1 8a 3a 7e 
13:18:58.310 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 
13:18:58.352 : 08 4f 20 00 1e 65 e2 b9 b9 dc e4 75 8d 73 14 de 85 f6 fd dd d1 45 ff 2d ce 20 fd 74 2b 6b dc d6 3c cc 07 4c 14 15 dd 94 18 
13:18:58.395 : 98 6e 72 80 ad e0 ce df ec a4 04 67 c4 ce 8a b7 43 21 78 79 da 74 79 cb 09 ef 60 b3 fe a5 c4 0d 33 fc cd 8a 9c 09 96 23 7f 
13:18:58.437 : 43 7e 
13:18:59.281 : 7e a0 67 cf 02 23 13 
13:18:59.323 : fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 e3 bd bd fe 43 b4 f4 d2 52 0f ca 43 04 b0 01 6b dc 98 c4 a9 
13:18:59.365 : 03 25 05 00 9c b7 6a 30 7a 67 a5 63 8f fc a0 9b 73 3d d4 65 11 e1 3a 69 5a 56 60 b7 d1 54 a3 85 71 86 8f 89 7c 3c 98 38 
13:18:59.407 : e6 75 48 52 cf df 81 53 c3 77 15 6c f0 97 a1 67 bf 7e 
13:19:00.416 : 27 39 ab e1 bf cf 9f 32 f0 6c b8 7e 
13:19:01.322 : 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 65 e5 d1 80 07 c4 9b 33 18 58 29 83 0d 
13:19:01.365 : ab 79 cb 2d 96 8c 36 79 21 c4 e0 86 ad 27 71 80 7e 98 58 af 5e 04 ea 59 25 d7 67 c3 ac cf b6 fc 42 f2 36 be e7 0c f9 c1 b2 bc 
13:19:01.407 : 46 53 7c 56 5b 90 c2 1a 8c 0b ea fd 69 ac 48 9c 04 e4 4a be 78 db 7d 7e 
13:19:02.309 : 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 
13:19:02.351 : 65 e6 d1 d8 27 f5 42 e7 a0 7d d5 20 ca 7d d0 92 24 f2 82 1f 8b 72 44 e8 fe 53 f7 e6 e2 4d d4 a7 d3 10 78 01 a0 1f 7f e0 
13:19:02.394 : bb 94 f4 a0 63 ec c6 d7 8d 4f bb db f4 f3 69 50 8f fa c1 c9 41 5e b0 ab cb 46 fe 04 11 3f 10 57 c2 0f 9e 9f dd c9 7e 
13:19:03.329 : 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 65 e7 d0 7f 93 4f ec 8e 93 d5 42 a5 6a 
13:19:03.372 : 83 bf 0b 4e 9a f3 18 e1 11 50 36 ac 95 4e 95 a1 57 5c 0f 4f 08 79 3b 62 74 0a 72 60 74 31 c3 0e b8 bb 7b d3 30 8d 43 86 67 
13:19:03.414 : 60 cd dc 97 aa 00 87 9e c1 15 9a b4 42 14 0a aa f5 60 f4 cb 2b 5e 07 74 7e 
13:19:04.310 : 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 65 e8 b1 11 
13:19:04.353 : bd 47 19 8b 88 83 b9 2e 46 4a 3f cf 31 87 11 78 8c 3b d2 6d a5 48 4d 1b d5 88 6c a8 d8 dc 10 b4 c3 11 26 30 11 5e 10 46 35 27 
13:19:04.395 : 7f c1 77 7a 7c e6 08 c3 2f ba e3 f2 fa 5b fc 03 ad 80 9c a9 2d bb 79 82 e7 97 31 68 86 5d f3 c2 7e 
13:19:05.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 
13:19:05.343 : 74 99 f5 08 4f 20 00 1e 65 e9 df 57 49 14 29 56 5b 09 d7 96 54 3a 67 21 48 2a f4 4f be 6e cc 36 14 76 c8 8f 42 66 d1 26 
13:19:05.386 : ea 7d 2a 94 05 e8 f9 68 08 cf 28 66 5c d9 26 39 33 33 2d c4 a8 36 be ba a9 af 52 fd 3c 4c 8e f4 a2 93 43 89 6b 65 6e 8d 2f 6e 
13:19:05.428 : 0f 63 6a 0f 7e 
13:19:07.404 : c8 99 62 9e 4a 58 44 57 40 ed f4 36 0f 72 04 2f 88 5f 14 b1 31 7e 
13:19:08.310 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 
13:19:08.352 : 00 1e 65 ec 26 fd ed be ec 2f 58 b9 74 1b cb a5 e1 c3 e3 54 33 c0 ba e4 88 1b 24 88 9e 98 8b 2f 7a 3c 63 fc 37 da 0a e1 
13:19:08.394 : 3c 4f 4b 5f 23 62 2c b9 75 c4 59 c8 da 5a 06 ba b9 b7 57 82 1e f8 39 3a e1 82 5c a9 bd 27 3a 9d cc a2 95 4f 07 7a 69 12 
13:19:08.435 : 7e 
13:19:09.314 : 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 65 ed 53 26 00 e2 a5 30 8a 69 95 5d b1 
13:19:09.357 : 4c f1 96 00 d9 95 05 d6 df fc 72 c6 b8 c9 bb 8b 80 8e ff 30 68 24 8d 58 c7 90 82 54 5b ff 69 24 66 ad 57 f7 b8 94 6a 0d 71 
13:19:09.399 : c8 7b 8b c0 32 80 e5 17 6c dc 62 43 40 a5 8a 6e 5c a5 9c 9b b7 23 06 f5 7e 
13:19:10.312 : 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 65 
13:19:10.354 : ee 60 57 78 47 1c 4d 73 4d 91 37 98 aa d4 e3 52 10 0b 36 0c 29 2d b3 66 39 5e 5a 97 bb ca 67 79 39 c1 bd 8c b1 c0 2a 5a 
13:19:10.397 : 62 bf 08 7b ce d9 e5 63 b8 2f 4f c1 34 57 66 d2 89 fc 48 d7 d1 ee 97 05 e6 a3 d5 3a f9 3f 02 40 ee 49 80 cf 67 7e 
13:19:11.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 
13:19:11.342 : 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 ef dc 7a 95 05 2b fe 37 70 0c b6 2e b3 42 8b 91 ed be d9 de bd 25 c3 87 c0 05 c0 d1 
13:19:11.385 : a4 07 49 97 ee 35 27 39 6f c4 71 56 60 73 c1 2f 35 90 0f 0c 2c d0 18 b8 3e 13 dc fd 72 51 58 0b 11 63 6d ca e8 7e 53 48 10 
13:19:11.427 : 01 10 3b 5f ee 2c 46 e7 7e 
13:19:12.297 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 
13:19:12.340 : 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 65 f0 f4 f9 27 59 90 57 0d 3e 45 fa da ca d3 de 0e 99 94 a6 8f 40 00 c7 5a 85 2b a3 
13:19:12.383 : 2c b6 8e b0 69 50 74 64 d7 d1 8f 8f 8e 43 ce 90 e3 d1 24 9e 2d 44 ff 89 45 66 69 81 9b 1d fc 20 ac a8 1a 0e e0 79 b0 10 2e 46 
13:19:12.425 : 9e f2 44 15 5e 34 d5 2d 7e 
13:19:13.321 : 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 65 f1 37 e0 a7 cd 44 50 a7 42 b5 b0 99 
13:19:13.365 : 87 31 3a 4a d0 d3 56 61 b9 e0 f0 1e 15 ab ad d7 94 2d b9 52 19 1b 8e 09 99 42 4d d3 5e aa 3b 19 12 de d5 2c 06 59 51 6f 39 d6 
13:19:13.407 : f0 b0 42 ab 72 e2 2d 83 aa 6d 54 e2 ce 67 70 dd 38 6f eb b5 ba 1c 20 7e 
13:19:14.311 : 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 65 f2 6b b5 4d 
13:19:14.354 : 5a cc 15 2e d4 4c 43 05 24 c9 00 db 6a b6 ed 1d f6 8b f2 ca 56 de 52 09 82 3c a1 fa ec 66 8c 93 fd 3b 22 1a bb c6 e5 51 27 ff 
13:19:14.398 : ee ae 9c af 61 a6 94 bc f6 1b 14 92 c9 17 5e e9 d5 03 26 c7 84 54 cd c4 4c 06 10 d3 0c 73 e6 7e 
13:19:15.400 : b2 65 4b 50 0e cd d9 c7 77 8c 58 e4 ea 9c b1 c7 47 44 2e db 8b 3f 8b 95 62 7e 
13:19:16.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 
13:19:16.342 : 4f 20 00 1e 65 f4 39 0e 54 bd 35 50 62 ec 8a e4 10 64 d7 e6 89 59 78 06 dd 0a 3d 20 7b b5 b2 49 47 72 77 4e 2c cc 23 24 
13:19:16.384 : df 4c 16 f9 89 0e 54 97 d1 e3 3c 66 26 1e ca 01 3f ae 3e 0f 5b ea 25 7d 99 cc 27 38 e7 ec f1 6a 07 be 63 3d 37 84 89 29 3d 
13:19:16.425 : 62 7e 
13:19:17.323 : 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 65 f5 0d 7f d9 ac a4 e9 a4 7d 56 6e 4f 99 
13:19:17.366 : 09 7b ff 56 e9 f2 56 89 4d 20 bd 4e 9c 48 b0 2c 7e bf 12 fc ff f3 e1 16 43 f0 33 d3 57 92 37 78 3b ca 69 19 06 95 fd e6 8c 
13:19:17.408 : 81 4e 17 d1 88 24 4c 97 6b 1b 5a 03 5e ef af 5c 10 a5 c7 f6 10 99 73 7e 
13:19:18.326 : 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 65 f6 26 fd 74 d7 8e 95 30 d1 62 ac b8 
13:19:18.369 : 39 11 12 64 50 5b 06 26 23 48 c9 87 5e 37 f8 db c5 39 74 d4 ee ec 78 13 cd 6f 17 5d ef b0 24 65 03 3f c9 45 44 03 92 ae 70 
13:19:18.411 : a5 1b 7d e0 0a e8 a3 3b bf 17 b3 ee c3 14 9f 40 57 64 d2 65 9c ff 09 b4 7e 
13:19:19.312 : 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 65 f7 be 25 
13:19:19.355 : 28 de 0b 34 d5 68 b9 a9 8c db 6e e4 d5 39 d4 4f dc f1 73 99 7f b4 fa 61 2a 1d 77 b6 88 1a 10 d8 a4 ed 10 a0 a0 7a 39 60 54 a2 
13:19:19.397 : 11 a0 01 24 c7 b3 c5 32 ef 59 e6 94 f6 a3 40 ad a3 bf c3 9f 19 39 53 65 eb 60 77 4b 85 6f 29 3d 7e 
13:19:20.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 
13:19:20.342 : 68 74 99 f5 08 4f 20 00 1e 65 f8 c6 e9 bf 3b 1a c5 f1 c9 50 1b 49 34 65 b7 4e 4e 14 4e 7a a8 f6 d1 de 8b d1 34 91 66 8b 20 
13:19:20.385 : 44 3a 0c 91 54 46 8c 9f d9 97 84 d6 b6 db 7a 7c 94 d6 2e 80 f9 dc 34 e0 a3 1e 13 ec 35 6e 95 84 45 9e 8b ea ce 66 1e 3f 75 
13:19:20.427 : bc 61 cf 97 7a 7e 
13:19:21.304 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 
13:19:21.346 : 08 4f 20 00 1e 65 f9 ba 0d d1 0f c1 8d e2 3a e0 cd 8e 93 46 9b 13 24 b3 e8 42 42 8e a0 6f 8f 6b 75 61 d2 0a a7 5f c8 3b 
13:19:21.389 : af 30 a0 a5 08 2a 2d 23 44 cd 95 47 7d 93 16 ef 51 0e 6b cc 0e 80 15 a0 fa 3b 30 42 b7 a3 02 c6 36 aa a6 1e d5 a7 b5 df ea 
13:19:21.431 : bb 7e 7e 
13:19:22.281 : 7e 
13:19:22.323 : 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 65 fa c2 b3 3c 1e 07 84 59 7e 09 d7 bd dd 62 
13:19:22.366 : 5a 98 82 b2 a4 df c1 eb 9f eb 02 ac 3b c1 ca 11 eb 19 e1 21 7b 24 e8 b2 6a 6c a1 dc ec 4e e8 ab 1a a9 ef 62 2f 70 d4 6c f7 
13:19:22.409 : b5 36 d8 05 14 6c 26 03 3a 17 bf c9 bf 26 ff 97 18 51 9e 95 80 a5 7e 
13:19:23.310 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 
13:19:23.353 : 20 00 1e 65 fb 34 63 50 56 b5 d1 23 01 b2 5f 93 6a 41 1a b3 96 3d bb 47 de 00 40 aa 10 6b 62 ad 3e 19 77 fa e2 6d b5 ab a8 
13:19:23.396 : 98 c4 a7 4d 9c c6 34 1b 84 b3 99 5a 02 fd 4f f8 eb 7e d9 35 f0 8a c1 f6 9a 27 6d 5c 4f 3b f8 cd 88 74 16 43 91 33 ab 2a 7e 
13:19:24.326 : 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 65 fc 80 8c b4 aa 0d 17 84 ab 9c bb dc 21 
13:19:24.370 : 2f ca cb 3b 82 85 68 8d e5 05 70 b5 bf f3 04 1c 1f 54 0b d7 97 37 8c 77 b8 2d fd 85 81 28 66 87 24 63 18 7d 60 f4 95 95 3f 88 
13:19:24.412 : b8 aa 3c bf 2b bd 28 b4 14 01 83 a1 d6 50 b4 81 e4 1f ec 9f f2 24 7e 
13:19:25.310 : 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 65 fd b8 a1 a1 
13:19:25.353 : c1 ed 89 11 58 e0 df d2 5b 9d 28 6b b7 1a f7 e9 ec 28 b0 70 5e a0 4c e9 97 5d a7 1e d9 d6 97 07 5f ee 8d fd ca 93 de 17 2b 
13:19:25.396 : b5 bd 65 96 87 f3 71 9d 43 b7 a6 70 9d 53 0c 30 1a 7e 89 ed 8e c7 8c 6e 65 25 09 90 e9 6b 34 a8 7e 
13:19:26.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 
13:19:26.343 : 99 f5 08 4f 20 00 1e 65 fe b2 54 58 77 30 72 f1 c9 63 8f ce f6 f6 51 25 b2 91 78 a3 2d 09 d8 0b f2 a3 12 f8 ba 92 e2 9d 
13:19:26.386 : 3a c8 e5 6e 73 43 c7 33 7b 1a e1 bc 3b d0 cb ae ee f7 d7 7d e2 1d 24 93 15 bd 66 d1 63 73 01 43 85 27 dc 67 78 c0 60 5b aa 
13:19:26.428 : 0b 6f e0 fe 7e 
13:19:29.425 : d1 92 d7 b0 66 70 1d ac de 7e 
13:19:30.282 : 7e a0 67 cf 02 
13:19:30.323 : 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 66 02 40 fc b0 42 cb 79 c2 b3 44 8c cd 80 c1 58 bd 0d 
13:19:30.366 : 5f 92 b4 fc 2d 78 e4 ca ec a8 1b 53 85 59 75 bd 1f 92 86 a6 6b 26 c7 37 ed 83 a7 2e 32 fc 13 7f 4b b4 74 9d 03 78 87 57 e0 27 
13:19:30.407 : b3 2e 35 d3 5d 85 f0 4e a1 b9 c0 f9 02 2f 1d 90 d4 d2 7e 
13:19:31.311 : 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 66 03 aa 
13:19:31.353 : f7 2f 95 bc a0 c4 35 51 bc 06 d1 95 29 9c 19 e7 fb 01 01 ff 3a f4 8c f3 b3 ee c9 13 9c 52 f9 9f 70 d6 d5 eb b8 bd d1 51 14 
13:19:31.395 : 31 7d bb 58 59 1c d4 7b 18 d0 a9 09 3c 87 fd 60 b6 6c 09 8b eb 19 de 62 a5 a6 5e de 7a fd ad 69 59 94 7e 
13:19:32.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 
13:19:32.342 : 68 74 99 f5 08 4f 20 00 1e 66 04 15 35 a1 a1 e6 1d 4b f0 2c 46 74 84 79 b4 bc 8e b5 03 ee e5 a9 54 8e 85 10 69 b7 83 13 
13:19:32.385 : 65 6a f5 2f 79 cf aa e3 dc 35 63 81 77 91 7b 34 be e5 e2 11 70 18 09 06 b7 6d 9a f3 58 f5 9a 3c de 71 df c8 45 34 88 25 e8 a0 
13:19:32.427 : d4 00 fd d7 91 7e 
13:19:33.300 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 
13:19:33.342 : f5 08 4f 20 00 1e 66 05 3f 2e 36 55 8d 3f 5a 15 8b 61 06 e3 6a 05 be 38 58 05 e9 e6 ea 13 36 05 b9 b1 99 ca 29 43 80 d7 
13:19:33.385 : 9c c7 52 04 59 a2 36 7b de ff 83 7e d5 6a 9e 39 d2 47 f5 73 74 f4 d8 26 e0 22 08 8f 16 43 87 af 47 ff 64 28 a1 d0 31 47 f3 bb 
13:19:33.427 : 66 5b 7e 
13:19:34.280 : 7e a0 
13:19:34.322 : 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 08 4f 20 00 1e 66 06 57 e8 3b 4d bf 5e 50 bf ba 8c 3d e7 24 f4 
13:19:34.365 : 75 3c 7b cd 67 7e 78 d5 97 22 0c 9f 6a 2c b8 9a 73 21 3d 28 b4 da f3 5a 27 a3 a6 47 ac fd cf 19 44 65 6c cb d0 cc c6 23 72 db 
13:19:34.406 : 31 bd cb ec 4d 54 e0 67 e3 7b 4e 4e 5b 0f 0a e5 34 7a 47 ad 7e 
13:19:36.408 : 97 b4 89 b0 e4 56 ba 66 9c 5e db 8d fb d7 a8 a0 fc c3 38 38 e8 a4 2c 6d 7e 
13:19:37.310 : 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 
13:19:37.352 : 1e 66 09 58 32 15 a6 d4 52 45 54 62 87 72 23 12 39 c6 ae 69 77 d3 9b 91 c8 bd 01 37 53 28 3f 80 63 f2 3c 5d 36 a8 ee 43 
13:19:37.394 : b9 dd 3b 75 5c 57 fc e2 ec 56 57 83 01 89 ab 49 8d 79 93 54 09 7c 9b a3 f5 4a 45 db 41 9c 6e 81 1e 19 cf c1 84 58 a9 7e 
13:19:38.315 : 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 66 0a dc 8c d7 de 6f f7 0a 5c 94 5a 20 
13:19:38.358 : 8c 48 45 c9 4e 93 d4 30 33 f8 e5 13 26 c7 f5 0b e1 94 e0 96 c6 b3 1d a1 88 41 ac 0e 99 6b 31 be 23 ed 50 34 15 89 6b ff fc 
13:19:38.400 : e2 0c 35 c1 ef 8f 5d d0 69 ed 22 d2 e2 6b 7f dd f2 08 f6 a4 b2 17 77 06 7e 
13:19:39.310 : 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 
13:19:39.352 : 66 0b 5d ed bf a2 c2 fe de 8f a9 9a 8d 5e 36 d4 f1 71 87 8c d3 9e af dd 90 31 71 1c 62 19 b1 91 8b 37 0e 39 5c fa 1f b8 
13:19:39.395 : c8 83 85 7a 00 33 37 8e 52 de 68 1a 79 dd ab 0e 05 02 e4 a8 04 93 13 90 93 5d c5 d1 a3 ec 09 70 a4 8b 9e 76 6e 75 7e 
13:19:40.306 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 4b 68 74 99 f5 
13:19:40.348 : 08 4f 20 00 1e 66 0c a2 3a 4c 6e 6b ec 8c aa 75 f4 6f 18 66 fe 87 7c fa f3 d5 03 c7 69 4c 17 20 f0 1a 6f 53 c4 31 c1 65 
13:19:40.391 : 01 c6 c8 b0 2c 2f bb 6f 89 9a 69 fd fd 92 f7 3a c8 5e 62 09 b4 08 08 69 3c b1 9b f4 04 cc 07 ca d5 5e ac ef 51 17 2c db 66 
13:19:40.433 : 85 de 7e 
13:19:41.281 : 7e 
13:19:41.323 : 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 66 0d b4 c6 32 db c5 24 c9 b1 af 07 52 fb 05 88 
13:19:41.366 : 54 75 a1 bd b3 e0 eb 75 4f bd 8b e1 8c d6 8f 4d e2 c3 82 bb 90 22 96 2f 81 0f 6b 5e 80 a4 98 8a bf ff 97 51 9f 93 3d c5 fb 
13:19:41.408 : 78 a5 49 ab 53 0f 26 e0 de 03 49 4b 01 a0 17 50 36 d8 cc d2 50 7e 
13:19:42.310 : 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 66 0e dd 
13:19:42.353 : 39 ef f5 3e 51 5e ff ef f5 e9 bd eb a3 43 73 99 24 a0 0a e7 31 56 bd 7c 20 75 8a a0 f0 da 5a 96 7c d8 c0 37 f6 85 1c 31 7e 
13:19:42.395 : 30 c6 90 47 03 f7 ae 68 73 e6 f0 af 7e 02 31 9b bf 91 17 96 2d c8 a0 cd 0c 2f 79 db f4 fa 9c 0b 5a 15 7e 
13:19:43.310 : 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 66 
13:19:43.352 : 0f 20 b4 d9 9f aa 11 e8 95 15 c2 4a 4a 7e 88 e8 f0 0c b3 10 ad 98 11 ae 34 62 c9 70 bf f6 81 4c 7c 18 db 57 ed 3e be 75 
13:19:43.397 : 86 3c 80 64 b2 3d 23 b7 18 63 e0 ad 80 2e 9e 83 15 fe 23 d3 76 6a 10 00 ca dd 68 79 c5 88 4d 38 45 4d da 3b df 7e 
13:19:44.301 : 7e a0 67 cf 02 23 13 fb f1 e6 e7 00 db 08 49 53 
13:19:44.343 : 4b 68 74 99 f5 08 4f 20 00 1e 66 10 55 03 95 62 e7 de b1 57 60 f5 e8 d0 ee a5 df ba e2 04 26 7f bc cd 82 85 26 98 80 2e dd 
13:19:44.386 : c1 68 63 58 dd c4 e1 b9 74 6d bd 91 03 7c be 9c ff 5c 8e c1 71 4e f3 7c c6 9d 2f f5 65 68 e9 8a db 19 9e 08 11 9f 21 ce 31 
13:19:44.429 : c0 55 46 01 be c9 7e 
13:19:45.314 : 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 66 11 b2 
13:19:45.358 : 7d a1 66 83 94 6e 48 f1 04 73 ce db 0a 58 10 b7 5a df 24 31 c7 58 28 18 a0 94 0f 79 6d f5 0a 5a 76 43 1a 5b 28 63 fa 44 e6 8e 
13:19:45.401 : 66 55 7b 23 54 64 b0 24 3b 24 f8 5d f7 72 7b 96 41 13 54 45 59 fc 8c 83 c0 68 69 28 4c 6e 19 5d 51 7e 

The key is 69C3B089DC1EE19E5981444085447123

gemu2015 commented 1 year ago

i tested your data with the python code and it delivers strange results:

{"datetime": "2022-12-21T13:18:17", "L1": {"v": 3079, "a": 2.55}, "L2": {"v": 3093, "a": 0.06}, "L3": {"v": 3346, "a": 7.97}, "actual": {"in": 100663296, "out": 100663297}, "total": {"in": 100663744, "out": 100663296}}

as long as i don't have a working code source with reasonable result i can not port that to tasmota

gemu2015 commented 1 year ago

this seems to be a better result: Output: 204.058kWh, 0.000kWh, 0.348kvarh, 114.898kvarh, 149W, 0W, 0var, 123var at 21.12.2022-13:18:17

i will have the driver ready in the next days.

speedymk1 commented 1 year ago

I have also a crypted meter and got the key. How can I assist?

gemu2015 commented 1 year ago

@ldoench

driver working

decrypted dump from sensor53 d1

0f 00 1e 65 ba 0c 07 e6 0c 15 03 0d 12 11 00 ff c4 00 02 09 09 0c 07 e6 0c 15 03 0d 12 11 00 ff c4 00 06 00 03 1d 1a 06 00 00 00 00 06 00 00 01 5c 06 00 01 c0 d2 06 00 00 00 95 06 00 00 00 00 06 00 00 00 00 06 00 00 00 7b

from python script these should be your offsets: a=bytes_to_int(s[35:39])/1000.000 #+A Wh b=bytes_to_int(s[40:44])/1000.000 #-A Wh c=bytes_to_int(s[45:49])/1000.000 #+R varh d=bytes_to_int(s[50:54])/1000.000 #-R varh e=bytes_to_int(s[55:59]) #+P W f=bytes_to_int(s[60:64]) #-P W g=bytes_to_int(s[65:69]) #+Q var h=bytes_to_int(s[70:74]) #-Q var yyyy=bytes_to_int(s[22:24]) mm=bytes_to_int(s[24:25]) dd=bytes_to_int(s[25:26]) hh=bytes_to_int(s[27:28]) mi=bytes_to_int(s[28:29]) ss=bytes_to_int(s[29:30]) print ("Output: %10.3fkWh, %10.3fkWh, %10.3fkvarh, %10.3fkvarh, %5dW, %5dW, %5dvar, %5dvar at %02d.%02d.%04d-%02d:%02d:%02d" %(a,b,c,d,e,f,g,h, dd,mm,yyyy,hh,mi,ss))

    Output:    204.058kWh,      0.000kWh,      0.348kvarh,    114.898kvarh,   149W,     0W,     0var,   123var at 21.12.2022-13:18:17

our offsets are 4 bytes less because of trailer => 0f001e65 taken from first 4 bytes of dump

this is your initial descriptor just decoding year and value a from above

>D

>B
=>sensor53 r

>M 1
+1,3,r,0,9600,CRYPT
1,=so3,256
1,=so4,69C3B089DC1EE19E5981444085447123
1,0f001e65x18UUuu@1,year,,year,0
1,0f001e65x31UUuuUUuu@1000,A,kWh,A,3
#

=so3,256 => increase serial buffer to 256 bytes =so4,KEY => your key

@speedymk1 only 7ea0 frames are supported, make a dump of your meters output to check if your data is compatible

offsets to values are specific to each meter

needs #define USE_SML_DECRYPT

xsns_53_sml.ino.zip

australien340 commented 1 year ago

Hello all!

@gemu2015 did now the encryption, great! Is there a possibility to download an allready compiled tasmota file for the ESP32? Or do I have to do this at my own?

barbudor commented 1 year ago

There's no prebuilt with USE_SM_DECRYPT But that could be added in tasmota32-scripting "unofficial" binary : https://github.com/Jason2866/Tasmota-specials/tree/firmware/firmware/tasmota32/other

@gemu2015 May be it could be interresting to PR to Jason's Specials so that tasmota*-scripting includes everuthing needed for SML ? The user_config_override is there: https://github.com/Jason2866/Tasmota-build/blob/684b9f47d2f009365b92ca1fbe6eca79e6baa3df/tasmota/user_config_override.h#L1332-L1678

gemu2015 commented 1 year ago

meanwhile i reverted most compile flags to its opposite so nearly all options are default ON now like

ifndef NO_USE_SML_DECRYPT

// allows 256 bit AES decryption

define USE_SML_DECRYPT

endif

some other define options were moved to descriptor variables.

see docs

as far as i know Jasons scripting build includes the SML driver

gemu2015 commented 1 year ago

@australien340 keep in mind that currently only HDLC frames (7e A0) are supported. i am working on MBUS (68 01 01 68) frames and others.

gismo2004 commented 1 year ago

@gemu2015 I have a "7e A0" HDLC frame providing SmartMeter. But it seems that either I am too stupid to set it up correctly, or my data is different to the others here. It seems like my data is split into three blocks. When putting the raw data into Gurux DLMS Translator the values are extracted correctly. smartmeterData.txt It would be highly appreciated if you could guide me on how to proceed.

`>D

B =>sensor53 r

M 1 +1,17,r,0,2500,CRYPT 1,=so3,256 1,=so4,keyinfile 1,1-0:1.8.0*255(@1000,consumption,KWh,Total_in,3)

`

gemu2015 commented 1 year ago

sorry no segment support yet. do you know this very nice project : https://github.com/gskjold/AmsToMqttBridge i am currently porting parsers from this library but don't expect it very soon.

try if it works with AMS Bridge, if it does it has a chance it will run with future sml driver too.

gismo2004 commented 1 year ago

@gemu2015 AMS Bridge is working "plug&play" :-) THX for the hint. If you need something where I can help to test, please let me know! I still prefer to use Tasmota, since I have two meters and it would be cool to have just one ESP running.

gemu2015 commented 1 year ago

@gismo2004 i have now ported AMS Bridge parsers to tasmota. it decodes among others your stream data from above. however the concept of the SML driver is a bit different than AMS Bridge. you only get the decrypted block and have to construct a decoder list for your meter.

adapt the descriptor with your decryption key and meter serial baud rate etc

the current version still contains a lot of debug console messages in dump mode (sensor53 d1) you should then get raw decrypted blocks copy one of them to a text editor.

like this

08:21:33.981 SML: Received valid DLMS at 45
08:21:33.982 SML: Using application data:
08:21:33.983 >> decrypted block: 224 bytes
08:21:33.984 :>02 21 09 0c 07 e7 01 16 07 0c 0d 0a ff 80 00 00 
08:21:33.985 :>09 06 01 00 01 08 00 ff 06 00 89 0c 51 09 06 01 
08:21:33.986 :>00 01 08 01 ff 06 00 68 cd 77 09 06 01 00 01 08 
08:21:33.987 :>02 ff 06 00 20 3e da 09 06 01 00 01 07 00 ff 06 
08:21:33.987 :>00 00 01 c1 09 06 01 00 02 08 00 ff 06 00 00 00 
08:21:33.988 :>00 09 06 01 00 02 08 01 ff 06 00 00 00 00 09 06 
08:21:33.989 :>01 00 02 08 02 ff 06 00 00 00 00 09 06 01 00 02 
08:21:33.990 :>07 00 ff 06 00 00 00 00 09 06 01 00 03 08 00 ff 
08:21:33.991 :>06 00 00 4a 9a 09 06 01 00 03 08 01 ff 06 00 00 
08:21:33.992 :>4a 1f 09 06 01 00 03 08 02 ff 06 00 00 00 7b 09 
08:21:33.993 :>06 01 00 03 07 00 ff 06 00 00 00 00 09 06 01 00 
08:21:33.994 :>04 08 00 ff 06 00 2c b9 b7 09 06 01 00 04 08 01 
08:21:33.995 :>ff 06 00 1e 7e e2 09 06 01 00 04 08 02 ff 06 00 
08:21:33.995 :>0e 3a d5 09 06 01 00 04 07 00 ff 06 00 00 00 db 
08:21:34.030 :>0e 3a d5 09 06 01 00 04 07 00 ff 06 00 00 00 db 

now you can determine the entries of your meters data.

find a unique byte sequence at the beginning of the decrypted dump then determine the offset to your desired value (x30 in this fictive example) then give the decode sequence unsigned 32 bit here (see sml docs)

like this:

1,0221x30UUuuUUuu@1000,total,kWh,total,3

>D
>B
=>sensor53 r

>M 1
+1,3,r,0,9600,CRYPT
1,=so3,512
1,=so4,69C3B089DC1EE19E5981444085447123
1,0221x30UUuuUUuu@1000,A,kWh,A,3
#

this is work in progress, testers welcome

xsns_53_sml.ino.zip

gemu2015 commented 1 year ago

put the lib into /lib/div ams.zip

Noschvie commented 1 year ago

put the lib into /lib/div ams.zip

will test this soon...

gismo2004 commented 1 year ago

@gemu2015 AWSOME!!! --> works out of the box.

Since all this L&G E450 should provide the same output, I will work on decoding all provided messages, and then we can add this to the WIKI I think.

gismo2004 commented 1 year ago

@gemu2015 Reading data works with the following code. The question to you: why can't we use OBIS codes with this approach? Data is definitely OBIS

>D

>B
=>sensor53 r

>M 1
+1,17,r,0,2500,Meter_A
1,=so3,512
1,=so4,GUEK
1,=so5,GAK
1,0221x23UUuuUUuu@1000,1.0.1.8.0.255,kWh,1.0.1.8.0.255,3
1,0221x36UUuuUUuu@1000,1.0.1.8.1.255,kWh,1.0.1.8.1.255,3
1,0221x49UUuuUUuu@1000,1.0.1.8.2.255,kWh,1.0.1.8.2.255,3
1,0221x62UUuuUUuu@1000,1.0.1.7.0.255,kW,1.0.1.7.0.255,3
1,0221x75UUuuUUuu@1000,1.0.2.8.0.255,kWh,1.0.2.8.0.255,3
1,0221x88UUuuUUuu@1000,1.0.2.8.1.255,kWh,1.0.2.8.1.255,3
1,0221x101UUuuUUuu@1000,1.0.2.8.2.255,kWh,1.0.2.8.2.255,3
1,0221x114UUuuUUuu@1000,1.0.2.7.0.255,kW,1.0.2.7.0.255,3
1,0221x127UUuuUUuu@1000,1.0.3.8.0.255,kvarh,1.0.3.8.0.255,3
1,0221x140UUuuUUuu@1000,1.0.3.8.1.255,kvarh,1.0.3.8.1.255,3
1,0221x153UUuuUUuu@1000,1.0.3.8.2.255,kvarh,1.0.3.8.2.255,3
1,0221x166UUuuUUuu@1000,1.0.3.7.0.255,kvar,1.0.3.7.0.255,3
1,0221x179UUuuUUuu@1000,1.0.4.8.0.255,kvarh,1.0.4.8.0.255,3
1,0221x192UUuuUUuu@1000,1.0.4.8.1.255,kvarh,1.0.4.8.1.255,3
1,0221x205UUuuUUuu@1000,1.0.4.8.2.255,kvarh,1.0.4.8.2.255,3
1,0221x218UUuuUUuu@1000,1.0.4.7.0.255,kvar,1.0.4.7.0.255,3
#
gemu2015 commented 1 year ago

Currently there is no pattern match in crypto mode I will check if this can be implemented

gemu2015 commented 1 year ago

ok, now with pattern match:

1,pm(00010801ff)UUuuUUuu@1000,1.0.1.8.0.255,kWh,1.0.1.8.0.255,3

Archiv.zip

gismo2004 commented 1 year ago

@gemu2015 Seems like the thing with AuthKey is broken now because i get: “Decrypt authentication failed”.

gemu2015 commented 1 year ago

Do you need an auth. key ? Since most meters don’t need it it is default off

define USE_SML_AUTHKEY

gemu2015 commented 1 year ago

try removing the auth definition in descriptor

gemu2015 commented 1 year ago

the first version above didn't support auth, the last version does, so it seems your meter either doesn't support auth or your auth is wrong

gismo2004 commented 1 year ago

That explains why it worked before. Now that I have deactivated USE_SML_AUTHKEY it's working as expected. I was not aware of that it is working without GAK --> in AMS bridge I have added the key, and it worked (also working without it after this discussion :-) ) that's why I have added the option to use it.

Following config, is working:

>D

>B
smlj=0
=>sensor53 r
>R
smlj=0
>S
if upsecs>22
then
smlj|=1
endif
>M 1
+1,17,r,0,2500,Meter_A
1,=so3,512
1,=so4,GUEK
1,pm(0100010800FF06)UUuuUUuu@1000,1.0.1.8.0.255,kWh,1.0.1.8.0.255,3
1,pm(0100010801FF06)UUuuUUuu@1000,1.0.1.8.1.255,kWh,1.0.1.8.1.255,3
1,pm(0100010802FF06)UUuuUUuu@1000,1.0.1.8.2.255,kWh,1.0.1.8.2.255,3
1,pm(0100010700FF06)UUuuUUuu@1000,1.0.1.7.0.255,kW,1.0.1.7.0.255,3
1,pm(0100020800FF06)UUuuUUuu@1000,1.0.2.8.0.255,kWh,1.0.2.8.0.255,3
1,pm(0100020801FF06)UUuuUUuu@1000,1.0.2.8.1.255,kWh,1.0.2.8.1.255,3
1,pm(0100020802FF06)UUuuUUuu@1000,1.0.2.8.2.255,kWh,1.0.2.8.2.255,3
1,pm(0100020700FF06)UUuuUUuu@1000,1.0.2.7.0.255,kW,1.0.2.7.0.255,3
1,pm(0100030800FF06)UUuuUUuu@1000,1.0.3.8.0.255,kvarh,1.0.3.8.0.255,3
1,pm(0100030801FF06)UUuuUUuu@1000,1.0.3.8.1.255,kvarh,1.0.3.8.1.255,3
1,pm(0100030802FF06)UUuuUUuu@1000,1.0.3.8.2.255,kvarh,1.0.3.8.2.255,3
1,pm(0100030700FF06)UUuuUUuu@1000,1.0.3.7.0.255,kvar,1.0.3.7.0.255,3
1,pm(0100040800FF06)UUuuUUuu@1000,1.0.4.8.0.255,kvarh,1.0.4.8.0.255,3
1,pm(0100040801FF06)UUuuUUuu@1000,1.0.4.8.1.255,kvarh,1.0.4.8.1.255,3
1,pm(0100040802FF06)UUuuUUuu@1000,1.0.4.8.2.255,kvarh,1.0.4.8.2.255,3
1,pm(0100040700FF06)UUuuUUuu@1000,1.0.4.7.0.255,kvar,1.0.4.7.0.255,3
#

Maybe off-topic: is it a configuration thing to get a unit for a sensor signal over MQTT, or is this not supported by tasmota?

gemu2015 commented 1 year ago

normally units are not transferred via MQTT with exception of Units that are user defined as temperature like Celsius versus Fahrenheit. btw you may reduce the pattern match to less info if the remaining bytes clearly define the target. so removing 0100 would probably be OK. 1,pm(010800FF06)

gemu2015 commented 1 year ago

please report if your meters run stable for at least some time. i will then make a pr for more people to test.

gismo2004 commented 1 year ago

Of course, will let it run with following config:

>D

>B
smlj=0
=>sensor53 r
>R
smlj=0
>S
if upsecs>22
then
smlj|=1
endif
>M 2
+1,17,r,0,2400,Heizung
1,=so3,512
1,=so4,GUEK
1,pm(010800FF06)UUuuUUuu@1000,kWh_IN,kWh,kWh_IN,3;Wirkenergie Lieferung (+A)
1,pm(010801FF06)UUuuUUuu@1000,kWh_IN_T1,kWh,kWh_IN_T1,3;Wirkenergie Lieferung (+A) Tarif 1
1,pm(010802FF06)UUuuUUuu@1000,kWh_IN_T2,kWh,kWh_IN_T2,3;Wirkenergie Lieferung (+A) Tarif 2
1,pm(010700FF06)UUuuUUuu@1000,kW_IN,kW,kW_IN,3;Momentane Wirkleistung Lieferung (+A)
;1,pm(020800FF06)UUuuUUuu@1000,kWh_OUT,kWh,kWh_OUT,3;Wirkenergie Bezug (-A)
;1,pm(020801FF06)UUuuUUuu@1000,kWh_OUT_T1,kWh,kWh_OUT_T1,3;Wirkenergie Bezug (-A) Tarif 1
;1,pm(020802FF06)UUuuUUuu@1000,kWh_OUT_T2,kWh,kWh_OUT_T2,3;Wirkenergie Bezug (-A) Tarif 2
;1,pm(020700FF06)UUuuUUuu@1000,kW_OUT,kW,kW_OUT,3;Momentane Wirkleistung Bezug (-A)
1,pm(030800FF06)UUuuUUuu@1000,kvarh_IN,kvarh,kvarh_IN,3;Blindenergie Lieferung (+R)
1,pm(030801FF06)UUuuUUuu@1000,kvarh_IN_T1,kvarh,kvarh_IN_T1,3;Blindenergie Lieferung (+R) Tarif 1
1,pm(030802FF06)UUuuUUuu@1000,kvarh_IN_T2,kvarh,kvarh_IN_T2,3;Blindenergie Lieferung (+R) Tarif 2
1,pm(030700FF06)UUuuUUuu@1000,kvar_IN,kvar,kvar_IN,3;Momentane Blindleistung Lieferung (+R)
1,pm(040800FF06)UUuuUUuu@1000,kvarh_OUT,kvarh,kvarh_OUT,3;Blindenergie Bezug (-R)
1,pm(040801FF06)UUuuUUuu@1000,kvarh_OUT_T1,kvarh,kvarh_OUT_T1,3;Blindenergie Bezug (-R) Tarif 1
1,pm(040802FF06)UUuuUUuu@1000,kvarh_OUT_T2,kvarh,kvarh_OUT_T2,3;Blindenergie Bezug (-R) Tarif 2
1,pm(040700FF06)UUuuUUuu@1000,kvar_OUT,kvar,kvar_OUT,3;Momentane Blindleistung Bezug (-R)

+2,16,r,0,2400,Haus
2,=so3,512
2,=so4,GUEK
2,pm(010800FF06)UUuuUUuu@1000,kWh_IN,kWh,kWh_IN,3;Wirkenergie Lieferung (+A)
2,pm(010801FF06)UUuuUUuu@1000,kWh_IN_T1,kWh,kWh_IN_T1,3;Wirkenergie Lieferung (+A) Tarif 1
2,pm(010802FF06)UUuuUUuu@1000,kWh_IN_T2,kWh,kWh_IN_T2,3;Wirkenergie Lieferung (+A) Tarif 2
2,pm(010700FF06)UUuuUUuu@1000,kW_IN,kW,kW_IN,3;Momentane Wirkleistung Lieferung (+A)
;2,pm(020800FF06)UUuuUUuu@1000,kWh_OUT,kWh,kWh_OUT,3;Wirkenergie Bezug (-A)
;2,pm(020801FF06)UUuuUUuu@1000,kWh_OUT_T1,kWh,kWh_OUT_T1,3;Wirkenergie Bezug (-A) Tarif 1
;2,pm(020802FF06)UUuuUUuu@1000,kWh_OUT_T2,kWh,kWh_OUT_T2,3;Wirkenergie Bezug (-A) Tarif 2
;2,pm(020700FF06)UUuuUUuu@1000,kW_OUT,kW,kW_OUT,3;Momentane Wirkleistung Bezug (-A)
2,pm(030800FF06)UUuuUUuu@1000,kvarh_IN,kvarh,kvarh_IN,3;Blindenergie Lieferung (+R)
2,pm(030801FF06)UUuuUUuu@1000,kvarh_IN_T1,kvarh,kvarh_IN_T1,3;Blindenergie Lieferung (+R) Tarif 1
2,pm(030802FF06)UUuuUUuu@1000,kvarh_IN_T2,kvarh,kvarh_IN_T2,3;Blindenergie Lieferung (+R) Tarif 2
2,pm(030700FF06)UUuuUUuu@1000,kvar_IN,kvar,kvar_IN,3;Momentane Blindleistung Lieferung (+R)
2,pm(040800FF06)UUuuUUuu@1000,kvarh_OUT,kvarh,kvarh_OUT,3;Blindenergie Bezug (-R)
2,pm(040801FF06)UUuuUUuu@1000,kvarh_OUT_T1,kvarh,kvarh_OUT_T1,3;Blindenergie Bezug (-R) Tarif 1
2,pm(040802FF06)UUuuUUuu@1000,kvarh_OUT_T2,kvarh,kvarh_OUT_T2,3;Blindenergie Bezug (-R) Tarif 2
2,pm(040700FF06)UUuuUUuu@1000,kvar_OUT,kvar,kvar_OUT,3;Momentane Blindleistung Bezug (-R)
#

;Landis+Gyr E450
;https://www.e-netze.at/downloads-data/pdf.aspx?pdf=EN_Update%20Kundenschnittstelle%20Smart%20Meter_ID3282_WEB_RGB.pdf

Also, it will be integrated in HomeAssistant, to check MQTT stability

Thank you very much for making this possible :-)

gemu2015 commented 1 year ago

I wonder why your baud rate is 2500 ? Standard would be 2400

gismo2004 commented 1 year ago

I wonder why your baud rate is 2500 ? Standard would be 2400

Wtf, me too... I have set this while testing and obviously never changed back.

australien340 commented 1 year ago

This sounds good to me as a beginner.

So can I hope for a ready fw.

@gismo2004 can you help me personally? Close to Eisenstadt

gemu2015 commented 1 year ago

one step further, now obis auto types (numbers and 1 string per meter)

example: 1,pm(010800FF)@1000,kWh_IN,kWh,kWh_IN,3;Wirkenergie Lieferung (+A)

EDIT: put a 'r' in front of the matching bytes for raw, means no auto mode

looks much better now

>D

>B
smlj=0
=>sensor53 r
>R
smlj=0
>S
if upsecs>22
then
smlj|=1
endif
>M 2
+1,17,r,0,2400,Heizung
1,=so3,512
1,=so4,GUEK
1,pm(010800FF)@1000,kWh_IN,kWh,kWh_IN,3;Wirkenergie Lieferung (+AFF)
1,pm(010801FF)@1000,kWh_IN_T1,kWh,kWh_IN_T1,3;Wirkenergie Lieferung (+AFF) Tarif 1
1,pm(010802FF)@1000,kWh_IN_T2,kWh,kWh_IN_T2,3;Wirkenergie Lieferung (+AFF) Tarif 2
1,pm(010700FF)@1000,kW_IN,kW,kW_IN,3;Momentane Wirkleistung Lieferung (+AFF)
;1,pm(020800FF)@1000,kWh_OUT,kWh,kWh_OUT,3;Wirkenergie Bezug (-AFF)
;1,pm(020801FF)@1000,kWh_OUT_T1,kWh,kWh_OUT_T1,3;Wirkenergie Bezug (-AFF) Tarif 1
;1,pm(020802FF)@1000,kWh_OUT_T2,kWh,kWh_OUT_T2,3;Wirkenergie Bezug (-AFF) Tarif 2
;1,pm(020700FF)@1000,kW_OUT,kW,kW_OUT,3;Momentane Wirkleistung Bezug (-AFF)
1,pm(030800FF)@1000,kvarh_IN,kvarh,kvarh_IN,3;Blindenergie Lieferung (+RFF)
1,pm(030801FF)@1000,kvarh_IN_T1,kvarh,kvarh_IN_T1,3;Blindenergie Lieferung (+RFF) Tarif 1
1,pm(030802FF)@1000,kvarh_IN_T2,kvarh,kvarh_IN_T2,3;Blindenergie Lieferung (+RFF) Tarif 2
1,pm(030700FF)@1000,kvar_IN,kvar,kvar_IN,3;Momentane Blindleistung Lieferung (+RFF)
1,pm(040800FF)@1000,kvarh_OUT,kvarh,kvarh_OUT,3;Blindenergie Bezug (-RFF)
1,pm(040801FF)@1000,kvarh_OUT_T1,kvarh,kvarh_OUT_T1,3;Blindenergie Bezug (-RFF) Tarif 1
1,pm(040802FF)@1000,kvarh_OUT_T2,kvarh,kvarh_OUT_T2,3;Blindenergie Bezug (-RFF) Tarif 2
1,pm(040700FF)@1000,kvar_OUT,kvar,kvar_OUT,3;Momentane Blindleistung Bezug (-RFF)

+2,16,r,0,2400,Haus
2,=so3,512
2,=so4,GUEK
2,pm(010800FF)@1000,kWh_IN,kWh,kWh_IN,3;Wirkenergie Lieferung (+AFF)
2,pm(010801FF)@1000,kWh_IN_T1,kWh,kWh_IN_T1,3;Wirkenergie Lieferung (+AFF) Tarif 1
2,pm(010802FF)@1000,kWh_IN_T2,kWh,kWh_IN_T2,3;Wirkenergie Lieferung (+AFF) Tarif 2
2,pm(010700FF)@1000,kW_IN,kW,kW_IN,3;Momentane Wirkleistung Lieferung (+AFF)
;2,pm(020800FF)@1000,kWh_OUT,kWh,kWh_OUT,3;Wirkenergie Bezug (-AFF)
;2,pm(020801FF)@1000,kWh_OUT_T1,kWh,kWh_OUT_T1,3;Wirkenergie Bezug (-AFF) Tarif 1
;2,pm(020802FF)@1000,kWh_OUT_T2,kWh,kWh_OUT_T2,3;Wirkenergie Bezug (-AFF) Tarif 2
;2,pm(020700FF)@1000,kW_OUT,kW,kW_OUT,3;Momentane Wirkleistung Bezug (-AFF)
2,pm(030800FF)@1000,kvarh_IN,kvarh,kvarh_IN,3;Blindenergie Lieferung (+RFF)
2,pm(030801FF)@1000,kvarh_IN_T1,kvarh,kvarh_IN_T1,3;Blindenergie Lieferung (+RFF) Tarif 1
2,pm(030802FF)@1000,kvarh_IN_T2,kvarh,kvarh_IN_T2,3;Blindenergie Lieferung (+RFF) Tarif 2
2,pm(030700FF)@1000,kvar_IN,kvar,kvar_IN,3;Momentane Blindleistung Lieferung (+RFF)
2,pm(040800FF)@1000,kvarh_OUT,kvarh,kvarh_OUT,3;Blindenergie Bezug (-RFF)
2,pm(040801FF)@1000,kvarh_OUT_T1,kvarh,kvarh_OUT_T1,3;Blindenergie Bezug (-RFF) Tarif 1
2,pm(040802FF)@1000,kvarh_OUT_T2,kvarh,kvarh_OUT_T2,3;Blindenergie Bezug (-RFF) Tarif 2
2,pm(040700FF)@1000,kvar_OUT,kvar,kvar_OUT,3;Momentane Blindleistung Bezug (-RFF)
#

;Landis+Gyr E450
;https://www.e-netze.at/downloads-data/pdf.aspx?pdf=EN_Update%20Kundenschnittstelle%20Smart%20Meter_ID3282_WEB_RGB.pdf

;Landis+Gyr E450 ;https://www.e-netze.at/downloads-data/pdf.aspx?pdf=EN_Update%20Kundenschnittstelle%20Smart%20Meter_ID3282_WEB_RGB.pdf

Archiv.zip

gismo2004 commented 1 year ago

@gemu2015 Great work! Works as expected and is definitely much better to read/setup! Thank you again (sorry for the delayed feedback!)