Skip to content

Instantly share code, notes, and snippets.

@Llibyddap
Last active November 11, 2019 06:01
Show Gist options
  • Save Llibyddap/a9882a1bb9d1e435a212af9052996a8b to your computer and use it in GitHub Desktop.
Save Llibyddap/a9882a1bb9d1e435a212af9052996a8b to your computer and use it in GitHub Desktop.
pi@ArmstrongSE:~ $ sudo tcpdump -i eth0 -U -w - tcp and host 192.168.2.29| tee capture.pcap | ./solaredge/semonitor.py -d bill2_log -o bill2.json -vvvv
bill2_log file output:
Nov 10 21:48:40 append: False
Nov 10 21:48:40 baudrate: 115200
Nov 10 21:48:40 commands:
Nov 10 21:48:40 datasource: stdin
Nov 10 21:48:40 follow: False
Nov 10 21:48:40 interface: None
Nov 10 21:48:40 keyfile: None
Nov 10 21:48:40 logfile: bill2_log
Nov 10 21:48:40 master: False
Nov 10 21:48:40 outfile: bill2.json
Nov 10 21:48:40 ports: 22222,22221,80
Nov 10 21:48:40 record: None
Nov 10 21:48:40 slaves:
Nov 10 21:48:40 type: None
Nov 10 21:48:40 updatefile: None
Nov 10 21:48:40 verbose: 4
Nov 10 21:48:40 xerror: False
Nov 10 21:48:40 opening stdin
Nov 10 21:48:49 <stdin> --> message: 1 length: 98
Nov 10 21:48:49 data: 12 34 56 79 d4 c3 b2 a1 02 00 04 00 00 00 00 00
Nov 10 21:48:49 data: 00 00 00 00 00 00 04 00 01 00 00 00 41 f6 c8 5d
Nov 10 21:48:49 data: 65 38 0a 00 55 00 00 00 55 00 00 00 00 27 02 16
Nov 10 21:48:49 data: ef 57 dc 7f a4 38 dc fd 08 00 45 00 00 47 c7 76
Nov 10 21:48:49 data: 40 00 30 06 c0 5f 50 ef af 26 c0 a8 02 1d 56 ce
Nov 10 21:48:49 data: 06 61 ac 3a f2 58 00 01 8a 41 50 18 ff 70 c2 05
Nov 10 21:48:49 data: 00 00
Nov 10 21:48:49 <stdin> --> message: 2 length: 101
Nov 10 21:48:49 data: 12 34 56 79 09 00 f6 ff 29 59 fb ff ff ff 57 ef
Nov 10 21:48:49 data: 16 7f 78 03 01 3c 00 00 00 03 00 00 00 9f 2f 41
Nov 10 21:48:49 data: f6 c8 5d 32 4e 0a 00 84 00 00 00 84 00 00 00 dc
Nov 10 21:48:49 data: 7f a4 38 dc fd 00 27 02 16 ef 57 08 00 45 00 00
Nov 10 21:48:49 data: 76 02 db 00 00 40 06 b4 cc c0 a8 02 1d 50 ef af
Nov 10 21:48:49 data: 26 06 61 56 ce 00 01 8a 41 ac 3a f2 77 50 18 08
Nov 10 21:48:49 data: 68 4b 36 00 00
Nov 10 21:48:49 Could not open last0503.msg file, not loading
Nov 10 21:48:49 No data read from last0503.msg. Not loading
Nov 10 21:48:49 dataLen: 0009
Nov 10 21:48:49 dataLenInv: fff6
Nov 10 21:48:49 sequence: 5929
Nov 10 21:48:49 source: fffffffb
Nov 10 21:48:49 dest: 7f16ef57
Nov 10 21:48:49 function: 0378
Nov 10 21:48:49 Discarding 70 extra bytes
Nov 10 21:48:49 data: 41 f6 c8 5d 32 4e 0a 00 84 00 00 00 84 00 00 00
Nov 10 21:48:49 data: dc 7f a4 38 dc fd 00 27 02 16 ef 57 08 00 45 00
Nov 10 21:48:49 data: 00 76 02 db 00 00 40 06 b4 cc c0 a8 02 1d 50 ef
Nov 10 21:48:49 data: af 26 06 61 56 ce 00 01 8a 41 ac 3a f2 77 50 18
Nov 10 21:48:49 data: 08 68 4b 36 00 00
Nov 10 21:48:49 Unknown function 0x0378
Nov 10 21:48:49 <stdin> --> message: 3 length: 148
Nov 10 21:48:49 data: 12 34 56 79 38 00 c7 ff 29 59 57 ef 16 7f fb ff
Nov 10 21:48:49 data: ff ff c2 03 00 00 30 00 41 f6 c8 5d 00 00 00 00
Nov 10 21:48:49 data: 00 00 00 00 00 00 10 c1 00 4b ce c4 00 2b cd 44
Nov 10 21:48:49 data: 00 00 00 00 00 00 00 00 00 00 10 41 00 00 00 00
Nov 10 21:48:49 data: 01 80 67 44 00 a4 03 46 00 00 00 00 ef e3 41 f6
Nov 10 21:48:49 data: c8 5d 2c 57 0a 00 84 00 00 00 84 00 00 00 dc 7f
Nov 10 21:48:49 data: a4 38 dc fd 00 27 02 16 ef 57 08 00 45 00 00 76
Nov 10 21:48:49 data: 02 dc 00 00 40 06 b4 cb c0 a8 02 1d 50 ef af 26
Nov 10 21:48:49 data: 06 61 56 ce 00 01 8a 8f ac 3a f2 77 50 18 08 68
Nov 10 21:48:49 data: 86 f1 00 00
Nov 10 21:48:49 dataLen: 0038
Nov 10 21:48:49 dataLenInv: ffc7
Nov 10 21:48:49 sequence: 5929
Nov 10 21:48:49 source: 7f16ef57
Nov 10 21:48:49 dest: fffffffb
Nov 10 21:48:49 function: 03c2
Nov 10 21:48:49 Discarding 70 extra bytes
Nov 10 21:48:49 data: 41 f6 c8 5d 2c 57 0a 00 84 00 00 00 84 00 00 00
Nov 10 21:48:49 data: dc 7f a4 38 dc fd 00 27 02 16 ef 57 08 00 45 00
Nov 10 21:48:49 data: 00 76 02 dc 00 00 40 06 b4 cb c0 a8 02 1d 50 ef
Nov 10 21:48:49 data: af 26 06 61 56 ce 00 01 8a 8f ac 3a f2 77 50 18
Nov 10 21:48:49 data: 08 68 86 f1 00 00
Nov 10 21:48:49 Unknown function 0x03c2
Nov 10 21:48:50 <stdin> --> message: 4 length: 224
Nov 10 21:48:50 data: 12 34 56 79 38 00 c7 ff 00 00 57 ef 16 7f fe ff
Nov 10 21:48:50 data: ff ff c2 03 00 00 30 00 41 f6 c8 5d 00 00 00 00
Nov 10 21:48:50 data: 00 00 00 00 00 00 10 c1 00 4b ce c4 00 2b cd 44
Nov 10 21:48:50 data: 00 00 00 00 00 00 00 00 00 00 10 41 00 00 00 00
Nov 10 21:48:50 data: 01 80 67 44 00 a4 03 46 00 00 00 00 da 33 41 f6
Nov 10 21:48:50 data: c8 5d ab f5 0c 00 3c 00 00 00 3c 00 00 00 00 27
Nov 10 21:48:50 data: 02 16 ef 57 dc 7f a4 38 dc fd 08 00 45 00 00 28
Nov 10 21:48:50 data: c7 77 40 00 30 06 c0 7d 50 ef af 26 c0 a8 02 1d
Nov 10 21:48:50 data: 56 ce 06 61 ac 3a f2 77 00 01 8a dd 50 10 ff 70
Nov 10 21:48:50 data: 66 c8 00 00 00 00 00 00 00 00 41 f6 c8 5d 93 d3
Nov 10 21:48:50 data: 0d 00 4c 00 00 00 4c 00 00 00 dc 7f a4 38 dc fd
Nov 10 21:48:50 data: 00 27 02 16 ef 57 08 00 45 00 00 3e 02 dd 00 00
Nov 10 21:48:50 data: 40 06 b5 02 c0 a8 02 1d 50 ef af 26 06 61 56 ce
Nov 10 21:48:50 data: 00 01 8a dd ac 3a f2 77 50 18 08 68 50 b7 00 00
NEXT STEP:
need to figure out https://github.com/jbuehl/solaredge/issues/119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment