EVB202 data loger

Moderator: bbiernat

Post Reply
User avatar
pancio
Administrator
Posts: 67
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

EVB202 data loger

Post by pancio »

Hi,

This is my first post on this subforum. I've EnverBridge EVB202 as devices which communicate between micro-inverters and envertecportal.com to collect data... but i don't like send anything to china cloud so I'm looking for other possibility to read data from PLCC... I disassembled EVB202 looking for some kind of serial interface like RS232 or RS485 but i found only diagnostic socket - probably JTAG for LCP microcontroller. Of course I tried to communicate with him by TTL serial but it doesn't work on any signal pin (TTL 3V3 logic). Probably I need to have special plug and converter for JTAG programmer in order to communicate. I drop this idea for a while...

I tried to listen TCP transmission on ethernet port, I dumped packages and analysed them in Wireshark. EVB202 got IP from DHCP serwer and start communicate with www.envertecportal.com by sending owm ID. Next, EVB sending many shortly packages just only like heart bit - probably waiting for data from micro-inverters (PLCC). And finally one bigger (982 bytes of data + headers) package is sending to cloud, it contains all ours micro-inverter IDs (MIs) and some data (probably measurement variables). The question is how to guess/calculate which one is e.g power, temp etc. I need to add this data logger to my Home Assistant...

I suppose that is possible to decode data, and using own DNS cheat EVB202 and read data directly from device avoiding china cloud...

If anybody is interesting in topic, please let me know.

Regards,
pancio

raw view:

Code: Select all

0000:
6803d6681004900186321402080d000000000000000000000000000000000000
0000000000000000000000000000000000000000
0034:
1120375427114090248b002911e224263b3631ff000000000000000000000000
112036202711406422dd002ab6a1250c3b903201000000000000000000000000
11203506271140b82535002c39bb26593b933203000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
1120350327113fbc228a002a0d8b24403bba3202000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
4116



$0006 - 0009 - EVB ID

$0034 - 0037 - MIs
$0054 - 0057 - MIs
$0074 - 0077 - MIs
$00b4 - 00b7 - MIs

The gaps between micro-inverters are probably that they aren't ready or on installed on other phase...

Code: Select all

0000   68 03 d6 68 10 04 90 01 86 32 14 02 08 0d 00 00   h..h.....2......
0010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0020   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0030   00 00 00 00 11 20 37 54 27 11 40 90 24 8b 00 29   ..... 7T'.@.$..)
0040   11 e2 24 26 3b 36 31 ff 00 00 00 00 00 00 00 00   ..$&;61.........
0050   00 00 00 00 11 20 36 20 27 11 40 64 22 dd 00 2a   ..... 6 '.@d"..*
0060   b6 a1 25 0c 3b 90 32 01 00 00 00 00 00 00 00 00   ..%.;.2.........
0070   00 00 00 00 11 20 35 06 27 11 40 b8 25 35 00 2c   ..... 5.'.@.%5.,
0080   39 bb 26 59 3b 93 32 03 00 00 00 00 00 00 00 00   9.&Y;.2.........
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00b0   00 00 00 00 11 20 35 03 27 11 3f bc 22 8a 00 2a   ..... 5.'.?."..*
00c0   0d 8b 24 40 3b ba 32 02 00 00 00 00 00 00 00 00   ..$@;.2.........
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0100   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0110   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0120   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0130   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0140   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0150   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0160   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0170   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0180   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0190   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0200   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0210   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0220   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0230   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0240   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0250   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0260   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0270   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0280   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0290   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
02f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0300   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0310   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0320   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0330   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0340   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0350   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0360   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0370   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0380   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0390   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
03a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
03b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
03c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
03d0   00 00 00 00 41 16                                 ....A.

Edit 1.
Based on easy12's 4th post (https://forum.fhem.de/index.php/topic,61867.4.html) I tried to decode data. I found 4 kind of packages witch data:

1. sending by EVB short packet (contains only valid data for one MI,
2. ACK for packet above (contains some data - probably timestamp)
3. sending by EVB long packet which conains data from all MIs
4. ACK for packet above (very short)

Code: Select all

AC/64
FREQ/265
TEMP/256
PWR_TOT/8192
PWR/64
DC/512

Short frames from EVB (1):
                                                 MIs      DC   PWR  PWR_TOT  TEMP AC   FREQ
6800306810 06 90018632 0000000002 00001002230002 00000000 0000 0000 00000000 0000 0000 0000 000000000000 ed 16
6800306810 06 90018632 0000000002 00001002230002 00000000 0000 0000 00000000 0000 0000 0000 000000000000 ed 16

6800306810 06 90018632 0000000002 00001002230002 37542711 3f44 23da 00295fe7 2726 3b8f 31fb 000000000000 e2 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3f44 23da 00295fe7 2726 3b8f 31fb 000000000000 e2 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3f44 23da 00295fe7 2726 3b8f 31fb 000000000000 e2 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3e80 3473 00295ceb 2980 3bbf 3201 000000000000 5b 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3d38 1b13 00295fe7 270c 3b52 31fb 000000000000 ae 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3d38 1b13 00295fe7 270c 3b52 31fb 000000000000 ae 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3d38 1b13 00295fe7 270c 3b52 31fb 000000000000 ae 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3f94 238b 0029603e 26f3 3b9b 3200 020000000000 1b 16
6800306810 06 90018632 0000000002 00001002230002 37542711 3f94 238b 0029603e 26f3 3b9b 3200 020000000000 1b 16

ACK from server (2):
68001e6810 70 90018632 0000000079060e14261b00000000000000000000 ee 16
6800206810 27 90018632 000217151027060e0000000000000000000000000000 3e 16
68001e6810 70 90018632 0000000079060e14271e00000000000000000000 f2 16
6800206810 27 90018632 000217151027060e0000000000000000000000000000 3e 16
68001e6810 70 90018632 0000000079060e14282100000000000000000000 f6 16





Frames from EVB with data (3):                                                       
                                                          DC   PWR  PWR_TOT  TEMP AC   FREQ
6803d66810 04 90018632 1402080d00 00000000001120 37542711 2d7e 04d2 00291f5d 1ef3 3aef 31ff 02000000000000 0000000000112036202711401806f500 2ac4681f8c3b5b320002000000000000 0000000000112035062711402c070a00 2c47a820003b3c320002000000000000 00000000001120350327113fbc06f700 2a1b401f333b6d31fe02000000000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003916
6803d66810 04 90018632 1402080d00 00000000001120 37542711 2f02 04a4 00291f5d 1ee6 3b07 31fe 02000000000000 00000000001120362027113f3206cd00 2ac4681f8c3b3931fd02000000000000 0000000000112035062711400606eb00 2c47bb20003b5131fd02000000000000 0000000000112035032711336e06dc00 2a1b401f0c3b7b31fe02000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b716
6803d66810 04 90018632 1402080d00 00000000001120 37542711 2f96 046b 00291f6a 1ee6 3af7 31fe 02000000000000 0000000000112036202711333e050700 2ac47a1f593b3831fb02000000000000 00000000001120350627113526055b00 2c47bb1fc03b3d31fc02000000000000 00000000001120350327112fd204e900 2a1b511f003b7631fc02000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba16
                                                       

ACK from server (4):
6800126810 15 90018632 1402080d00 00 d0 16
6800126810 15 90018632 1402080d00 00 d0 16
Attachments
steam2.hex.zip
(3.14 KiB) Downloaded 3333 times
evb202dump.pcap.zip
(9.78 KiB) Downloaded 3443 times

Post Reply