Skip to content

v5.6.0

Compare
Choose a tag to compare
@dalathegreat dalathegreat released this 30 Mar 21:42
· 145 commits to main since this release
21c42c4

What's Changed

Massive efforts have been made to reduce CPU load drastically in this version, to improve CAN sending reliability and timing. Some users noticed that BMW i3 batteries opened contactors when Modbus requests were coming in, causing 10ms periodic messages to get delayed to 200ms. This is unacceptable for an embedded realtime system. This new version not only lowers CPU usage, but also warns the user via Events incase the sending of CAN messages start to get delayed.

317531654-444c20b1-c2bf-45ff-8e0c-cc180169ddcc

Housekeeping

  • Bugfix: Update libraries used by the project
    • Updated eModbus to v1.7.1stable
    • Updated ArduinoJSON to v7.0.4
    • Updated ElegantOTA to v3.1.1
  • Autoupdate of the pre-commit configuration
  • CPU load improvements:
    • Event added for notifing users incase CAN message timing starts to be affected
    • Mainloop now runs as background task with same priority as modbus
    • Webserver loads 30% faster
    • Pressing "Event" button in webserver caused the sending of 10ms CAN messages to skyrocket to 185ms. This is now fixed

Inverters

  • Bugfix: Solax inverters no longer get stuck with open contactors at 0%SOC
    • Inverter contactor opening changed from Error -> Info event
    • CAN interface is now restarted incase Solax has timed out

Batteries

  • Triplet battery:
    • Cellvoltages now mapped to the global array, and can be viewed in webserver cellvoltage view
    • Temperature values scaled correctly
    • Revised safety limits for under/overvoltage
  • BMW i3 battery:
    • Current value now scaled correctly
    • Power value now calculated correctly
    • Fixed an issue where max allowed charge/discharge would overflow
    • Fixed an issue where CRC check would always complain about 2BD message being broken

New Contributors

  • @odlg made their first contribution in #236

Full Changelog: v5.5.0...v5.6.0