v5.7.1
版本发布时间: 2024-04-15 03:07:28
dalathegreat/Battery-Emulator最新发布版本:v7.4.0(2024-10-01 15:57:32)
What's Changed
This is a "minor" release, that focuses on performance improvements, bugfixes and some new functionality!
Batteries
- BMW i3: SOH% and cellvoltages now mapped by @odlg in https://github.com/dalathegreat/Battery-Emulator/pull/249
- Bugfix: Remove Volvo battery writing to bms_status by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/253
- Bugfix: Update header to get EGMP to compile by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/250
New Features
- The board can now output CAN messages via USB Serial, for easier debugging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/248
- Improved LED handling - CLASSIC, FLOW and HEARTBEAT animations with lower frequency (50ms). These can be set via
system_settings.h
file, default is now FLOW - Implementation of micro seconds timing macros for debugging performance - displayed in the web UI if enabled via USER_SETTINGS.h file (
FUNCTION_TIME_MEASUREMENT
)
Housekeeping
- Add platformio serial logging by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/251
- Refactoring: Scalability and performance by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/252
- Introduction of a rudimentary hardware abstraction layer (HAL) to handle other boards
- Untangling of settings - config.h and various other settings have moved to any of: system_settings.h hw_lilygo.h or related implementation files (e.g. WUP_PIN -> BMW i3, for now)
- MQTT handling moved to its own task with slightly lower priority
- Include handling improved, most files can now include "src/include.h" to get the central settings/definitions
- An initial data layer is introduced in a moderate fashion, for Nissan Leaf power values and time measurements
- Mapping functions supporting mapping of some value in one range to the corresponding value in a different range
- Slightly improved compilation times by having preprocessor conditions on inverter code and charger code
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.7.0...v5.7.1