Skip to content

v4.0.0 release

Compare
Choose a tag to compare
@dalathegreat dalathegreat released this 15 Nov 17:18
· 1658 commits to main since this release
179b8ee

What's Changed

⚠️ NOTE: Due to the refactoring and addition to new parameters in USER_SETTINGS.h, it is required to start with a fresh user settings file when taking this release into use! ⚠️

  • The code now has been refactored to be more user friendly (Thanks to @lenvm 👏)
  • The entire project now has pre-commit code formatting checks in place (Thanks to @lenvm 👏)
  • Github Actions added, all possible combinations of inverters/batteries now tested so that they compile, by @lenvm in #84 This improves code quality in the long run.
  • Min/Max voltage now uses global value for all inverters to save memory

Inverters

  • BYD CAN: This PR adds a new parameters (MAXCHARGEAMP & MAXDISCHARGEAMP) to the USER_SETTINGS.h file
    281544935-08cb6d76-f384-4eb4-b08b-7a674d012362
    • You can now specify the max charge A and discharge A that will be sent over BYD CAN protocol. Some inverters did not like having over 30.0A available, so now you can restrict the value!
    • Also removed the blocking of some CAN messages in BYD can when the FAULT state is active. This was not needed.

Batteries

  • Added a new Test Mode. Now you can enable a fake battery to test your inverter without a real battery on CAN bus. This can be enabled in USER_SETTINGS.h , by uncommenting the line #define TEST_FAKE_BATTERY

    • When enabled, the values set in TEST-FAKE-BATTERY.cpp will be sent towards your inverter of choice.
    • While in this test mode, the LED on the board will cycle thru all RGB values, letting you know you are in a special mode.
      VID20231115190406(1)
  • Tesla batteries

    • Fixed a bug where Amp value was scaled incorrectly, causing inverters to report wrong W
    • Fixed contactor opening for fault scenarios, the known working delay for sending 0x221 messages copied from pelle_c!
    • Debug printout made easier to readd

Full Changelog: v3.5.0...v4.0.0