v4.0.0 release
What's Changed
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
- 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
-
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