hardtechnology / efergy_v2

Efergy Energy Monitor Version 2
7 stars 2 forks source link

Failing checksum on Efergy Elite #15

Closed DeltaTangoLima closed 2 years ago

DeltaTangoLima commented 2 years ago

Hey mate - finally got around to trying your new library (couldn't get the older EfergyMQTT repo working) on my older Efergy Elite, and getting checksum failures on the packets. Do you happen to know if the Elite's packets are different to the E2's?

Cheers, Dan.

Sample from debug level 5:

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[511,72,72,72,72,145,70,70,67,144,68,142,138,137,63,138,60,139,64,138,137,63,136,135,58,64,139,65,66,68,69,70,67,71,72,72,72,72,72,73,69,73,73,73,73,73,73,73,70,73,74,74,74,73,73,73,70,147,70,143,140,139,65,66,64,20,62,12,32]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=184 RX Checksum=184

[00d 00:00.47s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,72,72,72,72,145,70,71,68,144,68,142,139,138,64,138,61,139,63,137,137,63,136,135,59,64,139,65,66,68,69,70,67,71,72,72,72,72,72,72,70,73,73,73,74,74,73,73,70,73,73,73,74,73,73,73,70,146,69,143,140,140,65,66,64,50,48,35,68]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,72,145,70,71,68,144,68,142,139,138,64,138,61,139,63,137,137,63,136,135,59,64,139,65,66,68,69,70,67,71,72,72,72,72,72,72,70,73,73,73,74,74,73,73,70,73,73,73,74,73,73,73,70,146,69,143,140,140,65,66,64,50,48,35,68]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=64 RX Checksum=64

[00d 00:00.47s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,71,145,69,142,136,139,64,66,67,140,137,136,132,135,62,63,136,135,135,135,58,63,137,64,66,67,68,70,65,70,143,140,65,139,137,135,131,62,136,63,136,63,137,136,60,66,67,68,69,70,69,142,136,66,140,66,67,68,70,70,66,15,23,24,81]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,71,145,69,142,136,139,64,66,67,140,137,136,132,135,62,63,136,135,135,135,58,63,137,64,66,67,68,70,65,70,143,140,65,139,137,135,131,62,136,63,136,63,137,136,60,66,67,68,69,70,69,142,136,66,140,66,67,68,70,70,66,15,23,24,81]}
{"RAW":[11,143,158,64,111,86,3,64]}CheckSum Calc=184 RX Checksum=184

[00d 00:00.53s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,70,71,67,144,68,141,139,137,63,138,61,139,64,138,137,63,136,135,59,64,139,65,66,68,68,70,67,72,72,72,72,72,72,72,69,73,73,73,74,72,73,73,70,74,73,73,74,73,73,73,70,146,70,143,139,138,65,66,64,36,18,59,101]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,70,71,67,144,68,141,139,137,63,138,61,139,64,138,137,63,136,135,59,64,139,65,66,68,68,70,67,72,72,72,72,72,72,72,69,73,73,73,74,72,73,73,70,74,73,73,74,73,73,73,70,146,70,143,139,138,65,66,64,36,18,59,101]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=4 RX Checksum=4

[00d 00:00.53s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,68,141,136,139,64,67,66,140,138,136,132,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,70,143,139,139,65,67,68,65,70,70,70,143,141,67,66,137,67,69,69,70,71,70,143,137,67,69,69,70,70,144,69,65,71,34,28,12]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,68,141,136,139,64,67,66,140,138,136,132,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,70,143,139,139,65,67,68,65,70,70,70,143,141,67,66,137,67,69,69,70,71,70,143,137,67,69,69,70,70,144,69,65,71,34,28,12]}
{"RAW":[11,143,158,64,112,25,3,4]}CheckSum Calc=184 RX Checksum=184

[00d 00:00.59s] Received Data failed Checksum - or incomplete packet{"BituSec":[511,72,72,72,72,145,70,71,67,144,69,141,139,138,63,138,61,139,64,137,136,63,137,136,59,64,138,64,66,68,69,69,67,72,72,72,72,72,72,73,69,74,73,73,73,73,73,73,70,74,74,73,73,73,74,74,70,146,70,142,140,139,65,67,63,57,34,49,81]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbXbE
{"BituSec":[511,72,72,72,72,145,70,71,67,144,69,141,139,138,63,138,61,139,64,137,136,63,137,136,59,64,138,64,66,68,69,69,67,72,72,72,72,72,72,73,69,74,73,73,73,73,73,73,70,74,74,73,73,73,74,74,70,146,70,142,140,139,65,67,63,57,34,49,81]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=20 RX Checksum=20

[00d 00:00.59s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,71,145,69,142,136,138,65,66,67,140,138,136,132,135,62,63,136,135,135,135,58,63,137,64,66,67,68,69,66,70,143,140,138,65,65,139,134,65,66,139,65,66,139,138,61,67,68,69,70,71,70,143,137,67,68,69,142,67,141,66,64,33,11,44,33]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbE
{"BituSec":[510,71,72,72,71,145,69,142,136,138,65,66,67,140,138,136,132,135,62,63,136,135,135,135,58,63,137,64,66,67,68,69,66,70,143,140,138,65,65,139,134,65,66,139,65,66,139,138,61,67,68,69,70,71,70,143,137,67,68,69,142,67,141,66,64,33,11,44,33]}
{"RAW":[11,143,158,64,115,38,3,20]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.05s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,70,71,67,144,68,141,138,138,63,138,61,139,63,137,136,63,136,135,59,64,138,65,67,68,68,70,66,72,72,72,72,72,72,73,69,73,73,73,73,73,73,74,69,74,74,73,74,74,73,73,70,146,70,143,140,139,65,66,64,35,90,27,50]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,70,71,67,144,68,141,138,138,63,138,61,139,63,137,136,63,136,135,59,64,138,65,67,68,68,70,66,72,72,72,72,72,72,73,69,73,73,73,73,73,73,74,69,74,74,73,74,74,73,73,70,146,70,143,140,139,65,66,64,35,90,27,50]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=140 RX Checksum=140

[00d 00:01.05s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,69,142,136,139,65,66,67,140,138,136,132,135,62,63,136,135,134,135,58,63,137,63,66,67,68,69,65,70,143,140,139,65,66,67,137,139,64,138,65,67,67,69,65,71,71,72,72,72,72,144,138,140,66,67,68,140,139,65,63,72,36,32,19]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,69,142,136,139,65,66,67,140,138,136,132,135,62,63,136,135,134,135,58,63,137,63,66,67,68,69,65,70,143,140,139,65,66,67,137,139,64,138,65,67,67,69,65,71,71,72,72,72,72,144,138,140,66,67,68,140,139,65,63,72,36,32,19]}
{"RAW":[11,143,158,64,113,160,3,140]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.11s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,72,72,72,72,144,69,71,67,144,68,141,139,137,63,138,61,139,63,137,137,63,136,135,58,64,139,65,66,68,68,70,67,71,72,72,72,72,72,72,69,73,73,73,74,73,73,73,70,73,73,74,74,73,73,74,70,147,70,142,140,139,65,67,63,44,37,40,29]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,72,144,69,71,67,144,68,141,139,137,63,138,61,139,63,137,137,63,136,135,58,64,139,65,66,68,68,70,67,71,72,72,72,72,72,72,69,73,73,73,74,73,73,73,70,73,73,74,74,73,73,74,70,147,70,142,140,139,65,67,63,44,37,40,29]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.17s] Received Data failed Checksum - or incomplete packet{"BituSec":[511,71,72,72,72,145,70,70,67,144,68,142,138,138,63,138,61,139,63,137,136,63,136,135,59,65,138,65,67,67,69,70,66,72,72,72,72,72,72,72,69,74,73,73,73,73,74,74,70,74,74,73,74,73,73,73,70,146,70,143,140,139,64,66,64,60,148,40,72]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[511,71,72,72,72,145,70,70,67,144,68,142,138,138,63,138,61,139,63,137,136,63,136,135,59,65,138,65,67,67,69,70,66,72,72,72,72,72,72,72,69,74,73,73,73,73,74,74,70,74,74,73,74,73,73,73,70,146,70,143,140,139,64,66,64,60,148,40,72]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=64 RX Checksum=64

[00d 00:01.17s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,68,141,136,139,65,67,66,140,138,136,132,135,63,63,137,135,135,135,58,63,137,64,66,67,68,69,66,70,143,141,66,138,136,135,132,62,137,63,137,63,136,136,59,65,67,67,68,70,70,142,136,65,140,66,67,69,70,70,67,117,37,49,17]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbE
{"BituSec":[510,71,72,72,72,144,68,141,136,139,65,67,66,140,138,136,132,135,63,63,137,135,135,135,58,63,137,64,66,67,68,69,66,70,143,141,66,138,136,135,132,62,137,63,137,63,136,136,59,65,67,67,68,70,70,142,136,65,140,66,67,69,70,70,67,117,37,49,17]}
{"RAW":[11,143,158,64,111,86,3,64]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.23s] Received Data failed Checksum - or incomplete packet{"BituSec":[511,71,72,72,71,144,70,71,67,144,68,141,138,138,63,138,61,139,64,137,136,63,136,136,59,64,138,65,66,68,69,70,66,72,72,72,72,72,73,72,69,73,74,73,73,73,72,73,69,74,74,73,73,73,74,73,70,146,70,143,140,139,65,67,64,90,31,15,30]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[511,71,72,72,71,144,70,71,67,144,68,141,138,138,63,138,61,139,64,137,136,63,136,136,59,64,138,65,66,68,69,70,66,72,72,72,72,72,73,72,69,73,74,73,73,73,72,73,69,74,74,73,73,73,74,73,70,146,70,143,140,139,65,67,64,90,31,15,30]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=140 RX Checksum=140

[00d 00:01.23s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,71,144,69,142,136,139,65,66,67,140,137,136,132,135,63,63,136,136,135,135,58,63,138,65,66,67,68,69,66,70,143,140,139,65,67,67,137,139,64,139,66,67,68,69,65,71,71,72,72,72,72,144,138,140,66,67,68,140,139,65,63,58,11,54,19]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXXbbbE
{"BituSec":[510,71,72,72,71,144,69,142,136,139,65,66,67,140,137,136,132,135,63,63,136,136,135,135,58,63,138,65,66,67,68,69,66,70,143,140,139,65,67,67,137,139,64,139,66,67,68,69,65,71,71,72,72,72,72,144,138,140,66,67,68,140,139,65,63,58,11,54,19]}
{"RAW":[11,143,158,64,113,160,3,140]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.29s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,70,71,67,144,69,141,139,138,63,138,61,139,63,137,136,63,137,135,59,64,138,65,66,67,69,70,66,72,72,72,72,72,73,72,69,74,74,73,73,73,73,73,69,73,74,73,73,74,73,73,70,146,71,143,140,139,64,67,64,37,26,28,86]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,70,71,67,144,69,141,139,138,63,138,61,139,63,137,136,63,137,135,59,64,138,65,66,67,69,70,66,72,72,72,72,72,73,72,69,74,74,73,73,73,73,73,69,73,74,73,73,74,73,73,70,146,71,143,140,139,64,67,64,37,26,28,86]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.35s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,72,72,72,71,145,70,70,67,144,68,142,139,137,63,138,61,138,64,138,137,63,136,135,58,64,139,65,67,68,68,70,67,71,72,72,72,72,72,72,70,73,73,73,74,73,73,73,70,73,73,74,74,73,73,73,70,146,70,143,140,138,65,66,64,43,35,43,21]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,71,145,70,70,67,144,68,142,139,137,63,138,61,138,64,138,137,63,136,135,58,64,139,65,67,68,68,70,67,71,72,72,72,72,72,72,70,73,73,73,74,73,73,73,70,73,73,74,74,73,73,73,70,146,70,143,140,138,65,66,64,43,35,43,21]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=215 RX Checksum=215

[00d 00:01.35s] Received Data failed Checksum - or incomplete packet{"BituSec":[509,71,72,71,72,145,69,142,136,139,64,66,67,140,138,135,133,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,143,139,138,64,65,139,134,135,135,135,61,135,63,63,135,66,67,67,69,70,69,143,136,138,137,63,138,63,137,135,131,19,51,16,28]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbE
{"BituSec":[509,71,72,71,72,145,69,142,136,139,64,66,67,140,138,135,133,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,143,139,138,64,65,139,134,135,135,135,61,135,63,63,135,66,67,67,69,70,69,143,136,138,137,63,138,63,137,135,131,19,51,16,28]}
{"RAW":[11,143,158,64,115,233,3,215]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.41s] Received Data failed Checksum - or incomplete packet{"BituSec":[511,72,72,72,72,145,70,71,68,144,68,141,138,138,63,138,60,140,64,138,137,63,136,135,58,64,139,65,66,68,69,70,66,71,72,72,72,72,72,73,70,73,73,73,73,73,73,73,70,73,73,74,74,74,73,73,70,146,70,143,140,139,65,66,63,55,56,32,20]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[511,72,72,72,72,145,70,71,68,144,68,141,138,138,63,138,60,140,64,138,137,63,136,135,58,64,139,65,66,68,69,70,66,71,72,72,72,72,72,73,70,73,73,73,73,73,73,73,70,73,73,74,74,74,73,73,70,146,70,143,140,139,65,66,63,55,56,32,20]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=200 RX Checksum=200

[00d 00:01.41s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,71,144,69,142,136,138,65,66,67,140,137,136,132,135,63,63,136,135,135,135,58,63,137,63,66,67,68,69,65,70,143,140,139,65,66,68,64,142,140,65,139,136,136,62,133,63,66,68,68,69,69,142,136,138,137,63,64,139,65,67,63,41,16,98,13]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXXbXbXbbE
{"BituSec":[510,71,72,72,71,144,69,142,136,138,65,66,67,140,137,136,132,135,63,63,136,135,135,135,58,63,137,63,66,67,68,69,65,70,143,140,139,65,66,68,64,142,140,65,139,136,136,62,133,63,66,68,68,69,69,142,136,138,137,63,64,139,65,67,63,41,16,98,13]}
{"RAW":[11,143,158,64,112,221,3,200]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.47s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,145,70,71,67,144,68,141,139,138,64,138,61,139,63,137,137,63,136,135,59,64,139,65,66,68,68,70,67,72,72,72,72,72,72,72,69,73,73,73,74,73,73,73,70,73,74,74,74,74,73,73,70,147,70,143,140,139,65,67,63,66,22,22,162]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbE
{"BituSec":[510,71,72,72,72,145,70,71,67,144,68,141,139,138,64,138,61,139,63,137,137,63,136,135,59,64,139,65,66,68,68,70,67,72,72,72,72,72,72,72,69,73,73,73,74,73,73,73,70,73,74,74,74,74,73,73,70,147,70,143,140,139,65,67,63,66,22,22,162]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=8 RX Checksum=8

[00d 00:01.47s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,69,141,136,139,64,67,67,140,138,136,132,136,63,63,137,135,135,135,58,63,138,64,66,67,68,69,66,70,144,69,68,143,66,140,135,64,139,65,67,68,69,69,138,68,69,70,71,71,144,69,66,71,72,72,71,144,70,70,67,38,25,133,11]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,69,141,136,139,64,67,67,140,138,136,132,136,63,63,137,135,135,135,58,63,138,64,66,67,68,69,66,70,144,69,68,143,66,140,135,64,139,65,67,68,69,69,138,68,69,70,71,71,144,69,66,71,72,72,71,144,70,70,67,38,25,133,11]}
{"RAW":[11,143,158,64,75,65,4,8]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.53s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,72,72,72,72,145,70,71,67,144,68,141,139,138,63,138,61,139,64,138,137,63,136,136,58,64,139,65,66,68,69,69,67,71,72,72,72,72,72,73,70,73,73,73,73,73,73,73,70,74,74,74,73,73,74,74,70,147,70,142,140,139,65,66,63,24,12,18,53]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,72,145,70,71,67,144,68,141,139,138,63,138,61,139,64,138,137,63,136,136,58,64,139,65,66,68,69,69,67,71,72,72,72,72,72,73,70,73,73,73,73,73,73,73,70,74,74,74,73,73,74,74,70,147,70,142,140,139,65,66,63,24,12,18,53]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=248 RX Checksum=248

[00d 00:01.53s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,144,69,142,136,138,65,66,67,141,137,135,133,135,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,144,68,70,70,143,68,65,70,70,143,142,65,139,137,133,63,66,67,68,68,143,66,136,138,136,135,135,134,62,63,61,16,21,45,21]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,69,142,136,138,65,66,67,141,137,135,133,135,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,144,68,70,70,143,68,65,70,70,143,142,65,139,137,133,63,66,67,68,68,143,66,136,138,136,135,135,134,62,63,61,16,21,45,21]}
{"RAW":[11,143,158,64,68,55,5,248]}CheckSum Calc=192 RX Checksum=0

[00d 00:01.57s] Received Data failed Checksum - or incomplete packet{"BituSec":[466,50,35,30,81,54,27,67,31,22,26,29,38,16,27,37,38,137,27,180,62,20,16,61,42,24,26,11,192,78,13,123,23,17,25,21,19,32,29,101,27,16,23,33,51,34,18,111,44,90,42,75,60,171,86,176,41,79,21,41,79,24,40,16,63,48,97,54,34]}

Bit Pattern=SbbbbbbbbXXbXbbbbbbbbbbbbbbbbXbXbbbbbbbbbbbbbbbbbbbbbbbXXXbXbbbbbbXbbbbbXbbXbXbbbbbE
{"BituSec":[466,50,35,30,81,54,27,67,31,22,26,29,38,16,27,37,38,137,27,180,62,20,16,61,42,24,26,11,192,78,13,123,23,17,25,21,19,32,29,101,27,16,23,33,51,34,18,111,44,90,42,75,60,171,86,176,41,79,21,41,79,24,40,16,63,48,97,54,34]}
{"RAW":[0,0,160,18,2,2,10,0]}CheckSum Calc=130 RX Checksum=0

[00d 00:01.57s] Received Data failed Checksum - or incomplete packet{"BituSec":[519,47,14,11,71,49,41,11,22,40,58,58,23,56,93,14,23,70,67,134,108,26,90,126,27,15,22,36,27,63,63,30,85,36,227,65,18,35,20,20,34,22,49,35,23,73,29,55,12,25,45,44,188,76,15,42,36,15,13,19,37,68,15,12,38,16,25,154,47]}

Bit Pattern=SbbbbXbbXbbbbbbbbbbbbbbbbbbbbXbbbbXXbXbbbbbbbbbbbbXbXbbbbXbbbbbbbbbbbbbbbbbXXbbbbE
{"BituSec":[519,47,14,11,71,49,41,11,22,40,58,58,23,56,93,14,23,70,67,134,108,26,90,126,27,15,22,36,27,63,63,30,85,36,227,65,18,35,20,20,34,22,49,35,23,73,29,55,12,25,45,44,188,76,15,42,36,15,13,19,37,68,15,12,38,16,25,154,47]}
{"RAW":[0,0,50,0,64,0,16,0]}CheckSum Calc=171 RX Checksum=0

[00d 00:01.58s] Received Data failed Checksum - or incomplete packet{"BituSec":[527,30,157,14,53,32,12,222,23,114,16,93,39,12,27,11,61,34,234,41,18,70,218,31,33,63,14,21,43,13,305,76,33,68,81,65,72,12,86,24,141,139,47,38,147,185,79,22,18,31,45,38,20,123,85,83,57,50,46,43,15,34,58,19,18,36,52,39,15]}

Bit Pattern=SbbbbXbbXbXXbbbbbbbXbbbXXXbXbbbbbXbbbbXbbXXbbbbbbbbXbXXbXbbbbbbbbbbXbbbbbbbbbbXbbbbbbbbbbE
{"BituSec":[527,30,157,14,53,32,12,222,23,114,16,93,39,12,27,11,61,34,234,41,18,70,218,31,33,63,14,21,43,13,305,76,33,68,81,65,72,12,86,24,141,139,47,38,147,185,79,22,18,31,45,38,20,123,85,83,57,50,46,43,15,34,58,19,18,36,52,39,15]}
{"RAW":[66,128,68,4,1,152,8,0]}CheckSum Calc=203 RX Checksum=14

[00d 00:01.58s] Received Data failed Checksum - or incomplete packet{"BituSec":[459,49,122,27,52,13,19,43,42,11,51,25,47,80,38,99,117,18,11,39,16,51,54,63,38,27,78,81,75,132,23,14,15,34,22,36,27,26,74,12,40,13,50,17,52,14,18,134,62,186,82,41,88,56,26,49,15,33,31,48,32,138,101,104,71,177,17,71,17]}

Bit Pattern=SbbbbXXbbXbbbXbbXbbbbbbbbbXbbXbbbbbbbbbbbbbbXbbbbbbbbbbbbXXbbbbbXbXbbbbbbXbbbbbXbbXbXbE
{"BituSec":[459,49,122,27,52,13,19,43,42,11,51,25,47,80,38,99,117,18,11,39,16,51,54,63,38,27,78,81,75,132,23,14,15,34,22,36,27,26,74,12,40,13,50,17,52,14,18,134,62,186,82,41,88,56,26,49,15,33,31,48,32,138,101,104,71,177,17,71,17]}
{"RAW":[64,1,0,8,0,2,128,14]}CheckSum Calc=223 RX Checksum=8

[00d 00:01.58s] Received Data failed Checksum - or incomplete packet{"BituSec":[489,35,39,14,72,49,14,44,22,13,13,11,14,98,14,60,359,52,59,54,18,36,105,11,71,148,62,66,117,177,14,44,46,18,11,12,36,11,14,35,28,29,160,30,76,21,37,36,321,36,21,37,91,33,21,17,398,42,61,24,76,199,29,11,14,21,29,13,28]}

Bit Pattern=SbbbbbbXbbbbbbXXbbbbbbbbbbbbbbbbbbbbbbbXXbXbXXXXbbbbbbbXXbbbbbbbXXXXbXbbbbbbbbbbbbbbXbbbE
{"BituSec":[489,35,39,14,72,49,14,44,22,13,13,11,14,98,14,60,359,52,59,54,18,36,105,11,71,148,62,66,117,177,14,44,46,18,11,12,36,11,14,35,28,29,160,30,76,21,37,36,321,36,21,37,91,33,21,17,398,42,61,24,76,199,29,11,14,21,29,13,28]}
{"RAW":[0,1,4,152,0,65,1,8]}CheckSum Calc=184 RX Checksum=184

[00d 00:01.59s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,71,72,72,72,145,69,71,67,144,68,141,139,138,64,139,61,139,64,138,137,63,136,135,58,64,139,65,66,68,69,70,66,72,72,72,72,72,72,72,69,73,73,73,73,73,73,73,70,73,73,74,73,73,73,73,70,147,70,142,140,139,65,67,63,39,26,12,34]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbbE
{"BituSec":[510,71,72,72,72,145,69,71,67,144,68,141,139,138,64,139,61,139,64,138,137,63,136,135,58,64,139,65,66,68,69,70,66,72,72,72,72,72,72,72,69,73,73,73,73,73,73,73,70,73,73,74,73,73,73,73,70,147,70,142,140,139,65,67,63,39,26,12,34]}
{"RAW":[8,186,182,64,0,0,0,184]}CheckSum Calc=251 RX Checksum=251

[00d 00:01.59s] Received Data failed Checksum - or incomplete packet{"BituSec":[510,72,72,72,72,144,68,141,136,139,64,67,66,140,138,136,132,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,144,68,70,70,142,140,135,65,66,139,137,63,137,136,132,63,65,67,67,68,142,65,136,138,136,135,134,135,61,135,130,18,11,11,27]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,72,144,68,141,136,139,64,67,66,140,138,136,132,136,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,144,68,70,70,142,140,135,65,66,139,137,63,137,136,132,63,65,67,67,68,142,65,136,138,136,135,134,135,61,135,130,18,11,11,27]}
{"RAW":[11,143,158,64,71,55,5,251]}CheckSum Calc=52 RX Checksum=112

[00d 00:01.59s] Received Data failed Checksum - or incomplete packet{"BituSec":[459,43,30,41,16,11,27,182,92,17,155,48,90,21,27,28,11,107,40,55,36,61,48,135,19,72,86,12,26,26,11,18,19,42,25,305,156,43,42,80,64,29,36,47,15,30,28,52,95,55,350,45,49,42,37,17,24,87,162,125,434,73,54,24,62,57,34,183,19]}

Bit Pattern=SbXbbXbbbbbbbXbbbbbbbbbbbbbbXbXbbbbbbXbbbbXbbXbbbbXbbbbXbbbXbbbbbbbbbbbbbbbbbbXbXXXXbbXXbbbbbbbbbbXXbbbXbbbbbbbbXbbbbXbbXbbXXbbbbbbbXbbbbbXbbbbbbbbbXXbbbbbXbXbbXbbbXbbE
{"BituSec":[459,43,30,41,16,11,27,182,92,17,155,48,90,21,27,28,11,107,40,55,36,61,48,135,19,72,86,12,26,26,11,18,19,42,25,305,156,43,42,80,64,29,36,47,15,30,28,52,95,55,350,45,49,42,37,17,24,87,162,125,434,73,54,24,62,57,34,183,19]}
{"RAW":[2,64,130,0,48,0,64,112]}CheckSum Calc=64 RX Checksum=6
steven-geo commented 2 years ago

Will take a look. The first byte of the packet is different which is why some that match their checksum (Calc & Checksum are equal), but the packet is still not valid. I will review and add some more relevant info in the debug routines.

steven-geo commented 2 years ago

OK, give this a try - I'm interested. In efergy.cpp on line 180 (https://github.com/hardtechnology/efergy_v2/blob/master/efergy.cpp#L180) Can you change the line from if ( CSbytes[0] == 7 || CSbytes[0] == 9 ) { to if ( CSbytes[0] == 8 || CSbytes[0] == 11 ) {

and see if you get something valid.

DeltaTangoLima commented 2 years ago

Hmmm - looks like an improvement. Still saying it's failed the checksum, but am I right thinking it's decoding some of the packets?

Connecting to Wifi.........Connected. (192.168.40.134)CheckSum Calc=224 RX Checksum=46

[00d 00:00.17s] Received Data failed Checksum - or incomplete packet{"BituSec":[509,72,78,71,70,144,68,68,65,23,144,66,142,140,138,58,137,59,140,63,137,137,62,135,137,59,62,140,64,66,68,67,69,64,68,72,72,72,73,72,71,70,74,74,15,72,74,72,73,74,69,73,72,74,75,77,74,72,72,146,70,142,139,138,64,66,63,61,51]}

Bit Pattern=SbbbbbbbXbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[509,72,78,71,70,144,68,68,65,23,144,66,142,140,138,58,137,59,140,63,137,137,62,135,137,59,62,140,64,66,68,67,69,64,68,72,72,72,73,72,71,70,74,74,15,72,74,72,73,74,69,73,72,74,75,77,74,72,72,146,70,142,139,138,64,66,63,61,51]}
{"RAW":[8,93,91,32,0,0,0,46]}CheckSum Calc=155 RX Checksum=155

[00d 00:00.17s] {"ts":179,"id":36766,"type":"RX","mA":7291,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbE
{"BituSec":[510,71,72,72,72,145,69,141,136,139,64,67,67,140,138,136,132,136,63,63,137,135,135,135,58,63,138,64,65,67,68,70,66,71,143,139,138,63,138,65,63,140,65,140,65,138,137,64,62,68,68,69,70,71,70,143,137,140,65,66,139,138,63,137,134,23,16,36,32]}
{"RAW":[11,143,158,64,116,172,3,155]}CheckSum Calc=220 RX Checksum=92

[00d 00:00.23s] Received Data failed Checksum - or incomplete packet{"BituSec":[508,72,18,72,71,70,144,69,70,65,143,67,142,140,137,53,139,61,139,64,137,136,63,136,135,58,65,137,63,67,67,69,69,68,69,71,71,71,71,73,72,69,73,72,72,72,72,73,73,70,74,73,74,73,82,74,72,69,145,69,142,138,139,64,66,63,45,138,33]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[508,72,18,72,71,70,144,69,70,65,143,67,142,140,137,53,139,61,139,64,137,136,63,136,135,58,65,137,63,67,67,69,69,68,69,71,71,71,71,73,72,69,73,72,72,72,72,73,73,70,74,73,74,73,82,74,72,69,145,69,142,138,139,64,66,63,45,138,33]}
{"RAW":[4,93,91,32,0,0,0,92]}CheckSum Calc=200 RX Checksum=200

[00d 00:00.23s] {"ts":239,"id":36766,"type":"RX","mA":7053,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,145,69,141,136,139,64,66,66,140,138,136,132,135,63,63,137,136,135,135,58,63,138,64,66,67,68,69,66,70,143,140,139,65,66,68,64,142,140,64,138,136,136,62,134,63,66,67,68,69,69,142,136,137,137,63,64,139,65,67,63,40,30,81,18]}
{"RAW":[11,143,158,64,112,221,3,200]}CheckSum Calc=220 RX Checksum=0

[00d 00:00.29s] Received Data failed Checksum - or incomplete packet{"BituSec":[504,21,17,46,36,21,20,72,135,65,12,84,45,29,134,54,144,99,139,21,86,135,54,144,15,63,116,94,62,163,121,47,22,54,151,84,14,59,56,38,60,24,12,17,64,21,70,18,72,71,12,52,63,27,69,53,18,72,31,18,71,18,15,46,16,57,72,69,13]}

Bit Pattern=SbbbbbbbbbbXbbbbbbbXbXbbbbbbbbbbbbbbbXbbbbbXbbbbbbXbbbXbbXbbbXbbbbbbbbbXbbbbXbbbbE
{"BituSec":[504,21,17,46,36,21,20,72,135,65,12,84,45,29,134,54,144,99,139,21,86,135,54,144,15,63,116,94,62,163,121,47,22,54,151,84,14,59,56,38,60,24,12,17,64,21,70,18,72,71,12,52,63,27,69,53,18,72,31,18,71,18,15,46,16,57,72,69,13]}
{"RAW":[1,5,74,76,64,0,0,0]}CheckSum Calc=200 RX Checksum=200

[00d 00:00.29s] {"ts":299,"id":36766,"type":"RX","mA":7053,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,145,69,141,136,139,64,66,67,140,138,136,132,135,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,70,143,139,138,64,67,68,65,141,140,64,138,136,135,62,134,64,66,67,69,69,69,141,136,138,137,63,64,138,65,66,64,66,50,26,35]}
{"RAW":[11,143,158,64,112,221,3,200]}CheckSum Calc=123 RX Checksum=0

[00d 00:00.35s] Received Data failed Checksum - or incomplete packet{"BituSec":[480,18,53,62,68,76,135,81,36,85,138,108,138,90,81,16,38,131,60,118,23,65,12,135,131,62,136,109,67,93,132,19,14,72,63,12,84,74,59,65,68,51,71,61,73,76,17,19,61,15,65,72,70,72,46,74,70,18,90,27,56,90,78,45,30,60,84,55,164]}

Bit Pattern=SbbbXbbbbbbbbbbbbbbbbbbbbbbbbXbbbbbXbbbXbbbbbbbXbbbbbbbXbbbbbbbbbbXbXbbbbXbbbbbE
{"BituSec":[480,18,53,62,68,76,135,81,36,85,138,108,138,90,81,16,38,131,60,118,23,65,12,135,131,62,136,109,67,93,132,19,14,72,63,12,84,74,59,65,68,51,71,61,73,76,17,19,61,15,65,72,70,72,46,74,70,18,90,27,56,90,78,45,30,60,84,55,164]}
{"RAW":[4,112,163,100,0,0,0,0]}CheckSum Calc=64 RX Checksum=64

[00d 00:00.35s] {"ts":359,"id":36766,"type":"RX","mA":6958,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,72,72,72,72,145,69,142,136,139,64,66,67,140,138,135,132,135,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,71,143,140,65,139,137,135,131,62,136,63,137,63,136,136,59,66,67,67,69,70,69,143,136,65,140,66,68,69,69,71,67,74,15,56,58]}
{"RAW":[11,143,158,64,111,86,3,64]}CheckSum Calc=220 RX Checksum=16

[00d 00:00.41s] Received Data failed Checksum - or incomplete packet{"BituSec":[498,75,74,60,17,68,144,65,68,71,135,64,140,137,140,49,150,61,140,54,137,135,65,134,108,58,63,136,64,65,36,66,66,72,56,82,69,72,11,16,82,83,24,37,64,28,50,23,63,12,65,47,72,16,19,72,28,66,20,25,106,51,49,27,72,74,15,77,46]}

Bit Pattern=SbXbbXbbbbbbbbbbbbbbbbbbbbbXbbbbbbbbbXbXXbbbbbbbbbbbbbbbbbbbXbbbbXXbbbbbbbbbbbbE
{"BituSec":[498,75,74,60,17,68,144,65,68,71,135,64,140,137,140,49,150,61,140,54,137,135,65,134,108,58,63,136,64,65,36,66,66,72,56,82,69,72,11,16,82,83,24,37,64,28,50,23,63,12,65,47,72,16,19,72,28,66,20,25,106,51,49,27,72,74,15,77,46]}
{"RAW":[4,93,91,32,0,0,0,16]}CheckSum Calc=200 RX Checksum=200

[00d 00:00.41s] {"ts":419,"id":36766,"type":"RX","mA":7053,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,144,69,141,136,139,64,67,66,140,138,136,132,135,63,63,137,135,135,135,58,63,138,64,66,67,68,70,66,70,143,139,138,65,67,67,65,141,139,64,138,136,136,62,134,64,66,67,68,69,69,142,136,138,136,63,64,138,65,66,64,59,31,30,56]}
{"RAW":[11,143,158,64,112,221,3,200]}CheckSum Calc=220 RX Checksum=5

[00d 00:00.47s] Received Data failed Checksum - or incomplete packet{"BituSec":[511,72,69,19,70,62,144,70,71,66,143,82,138,146,135,63,136,60,131,49,141,135,63,142,132,55,63,140,63,62,59,63,63,66,11,70,71,71,72,63,70,63,71,76,74,64,74,76,63,11,72,71,74,75,75,20,73,73,73,72,17,77,145,68,141,141,137,55,67]}

Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[511,72,69,19,70,62,144,70,71,66,143,82,138,146,135,63,136,60,131,49,141,135,63,142,132,55,63,140,63,62,59,63,63,66,11,70,71,71,72,63,70,63,71,76,74,64,74,76,63,11,72,71,74,75,75,20,73,73,73,72,17,77,145,68,141,141,137,55,67]}
{"RAW":[4,93,91,32,0,0,0,5]}CheckSum Calc=80 RX Checksum=80

[00d 00:00.47s] {"ts":479,"id":36766,"type":"RX","mA":7149,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbE
{"BituSec":[510,71,72,72,72,145,69,141,136,139,64,67,67,140,138,135,132,135,62,63,137,135,135,135,58,63,138,64,66,67,68,70,66,70,143,139,138,64,65,140,63,66,140,139,65,67,67,140,135,65,67,68,69,70,70,142,137,66,140,65,139,66,67,68,65,51,26,19,75]}
{"RAW":[11,143,158,64,114,99,3,80]}CheckSum Calc=149 RX Checksum=0

[00d 00:00.53s] Received Data failed Checksum - or incomplete packet{"BituSec":[508,57,70,72,64,144,88,72,66,143,93,139,138,136,63,146,60,130,79,135,137,14,57,130,130,58,79,139,62,64,65,68,65,63,70,18,71,70,72,14,68,13,63,72,22,57,13,54,15,72,81,18,72,71,69,72,36,73,80,95,73,74,70,72,11,72,145,76,141]}

Bit Pattern=SbXbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbbbbbbbbbbbbXbbbbbXbbbbbbbbbbbXbbbbbbbE
{"BituSec":[508,57,70,72,64,144,88,72,66,143,93,139,138,136,63,146,60,130,79,135,137,14,57,130,130,58,79,139,62,64,65,68,65,63,70,18,71,70,72,14,68,13,63,72,22,57,13,54,15,72,81,18,72,71,69,72,36,73,80,95,73,74,70,72,11,72,145,76,141]}
{"RAW":[8,186,179,32,0,0,0,0]}CheckSum Calc=4 RX Checksum=4

[00d 00:00.53s] {"ts":539,"id":36766,"type":"RX","mA":7006,"W":0,"Int":6,"Pair":"Off","Batt":"OK","Mon":"No"}
Bit Pattern=SbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbXbE
{"BituSec":[510,72,72,72,71,145,69,142,135,138,65,66,67,139,137,136,132,135,62,63,136,135,135,135,58,63,137,64,66,67,69,69,65,70,142,140,139,65,66,68,64,71,71,70,143,141,67,67,137,68,68,69,71,71,71,143,137,67,68,70,71,70,143,68,65,53,81,19,29]}
{"RAW":[11,143,158,64,112,25,3,4]}
steven-geo commented 2 years ago

If you only have a single transmitter you are 100% functional. Time to disable debug. All the rest are just other transmissions from 433MHz devices that we don't care about! Transmitter 36766 is reporting every 6 seconds, which is what it is configured for. Looks good!

DeltaTangoLima commented 2 years ago

Fantastic. I suspected so, so good to get confirmation. Quick q: is it possible to differentiate the data between two different clamps on the same transmitter? I have one on my solar in and one on my household consumption.

steven-geo commented 2 years ago

Unfortunately, the transmitters only send a single value. Would need a separate transmitter module, and then it will show up. The extra inputs are really only useful for 3-phase, or to add/subtract different loads from the total.

DeltaTangoLima commented 2 years ago

Ah cool. I have two transmitters (and two monitors). I'll move one clamp over to the other transmitter. Cheers!