stuartpittaway / diyBMSv4ESP32

diyBMS v4 code for the ESP32 and new controller hardware
Other
185 stars 81 forks source link

Possible to send 'wrong' voltage info over the CANBUS to inverter ? #283

Closed deekoowee closed 7 months ago

deekoowee commented 7 months ago

My inverter is PylonTech compatible, but its internal software do not accept dynamic charging control. Inverter does not have posibility to change any of the battery details.

I can read the inverter's modbus data and found that it shows the battery voltage and soc CANBUS data from from DiyBMS. I guess, that inverter use canbus voltage and soc to control the charging/discharging.

The inverter work between 48-55,8V. I would like to charge a little more, say 57,4V = more kWh storage. I have 14S13P Leaf battery pack.

I'm not familiar with coding and I don't know, how I should change the code. I wish like to try to cheat the inverter and test this workaround. When real battery voltage is 57,4V, CANBUS send 55,8V. So it is simply deduct 1,6V from all measured voltage and send the cheat voltage data over the canbus.

Any ideas ?

stuartpittaway commented 7 months ago

Same as #284