Ok, i will debug it this weekend, also i will activate Serial 1 to connect 2 jk on serial. u will need to use the pins from first photo.
Seems ur invertor send only one time the reg 0x305 , after some time if nothing is received the interface will write Invertor disconnected
This is only for info not make any change , the interface will continue to send CAN data even if aperar Invertor disconnect
Other invertors like Victron send also 0x305 but resend every 2s.
Thell me if Li protocol work better on deye then pylon ?
The difference is in LI no reg with name is send it , also the reg for errors and warnings is different.
When are 2 batteries
SOC is calculated (SOC1 +SOC2)/2
Nominal Capacity = n1+n2
Remain Capacity = r1+r2
Warnings / Alarms = w1 xor w2
Li-LV gives no information to the inverter. Pylon only works like every 5th restart, Seplos works every restart.
The serial interface of the second BMS doesn't send correct information, the RS485 module in it is faulty, but I haven't had the chance to get it replaced under warranty yet. BT has no issues in the app at least, but doesn't play nice with ESP32.
Would it make more sense to try a RS485 protocol for Deye, instead of CAN? This is the list of supported protocols, that I have:
With CAN, the only decent response I get is from protocol 0 and mostly with Seplos. Tried Li-LV with both protocol 0 and 14 multiple times, no response from the inverter. I'll try with just the serial connection and Li-LV tomorrow as well, maybe it's the BT connection or the second BMS that causes issues.