Recent Releases of Battery-Emulator
Battery-Emulator - v8.10.0
What's Changed
This release adds support for the CMFA-EV platform (Dacia Spring, Renault K-ZE), 50kWh BYD Atto3 batteries, tons of bugfixes.
Suggested ESP32 version: 3.2.0
Batteries ๐
- New Battery: Added support for CMFA-EV battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/971
- New Battery: Added support for 50kWh standard range BYD Atto3 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1026
- Volkswagen MEB:
- Added "Welded contactors" status to more battery info page by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/1029
- Added missing break in switch statement causing value corruption by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/1028
- BMW iX: update values in CAN messages by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1041
- Renault Zoe Gen2 50kWh: General stability fixes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1038
- Tesla S/3/X/Y: Added BMS ECU reset to "More battery info" page, and basic UDS response logging by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/1042
Inverters โก
- Feature: Add negative SOC scaling ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1040
Housekeeping ๐งน
- Microfeature: Add ESP32 CPU temperature monitoring in Webserver ๐ก๏ธ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1050
- Crash fix: Removed faulty DEBUG_LOG section that could cause the board to crash when using logging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1037
- Housekeeping: Fix compilation warning from build system by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1032
- Improvement: Performance and cleanup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1031
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/dalathegreat/Battery-Emulator/pull/1044
New Contributors
- @pre-commit-ci made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1044
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.9.0...v8.10.0
Energy Storage - Battery
- C++
Published by dalathegreat 15 days ago

Battery-Emulator - v8.9.0
What's Changed
This release adds support for Double Pylon batteries, fixes an issue that could crash the board when using MQTT commands, and adds several bugfixes to batteries and inverters
[!NOTE]
Deye inverters, should now use BYD_CAN_DEYE instead of BYD_CAN. Deye offgrid inverters require a specific implementation, that would not play nicely with other BYD_CAN inverters.
Suggested ESP32 version: 3.1.3
Batteries ๐
- Feature: Add double Pylon battery support by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/967
- Renault Twizy: Fixed a bug causing compilation to fail when selecting this protocol by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1011
- Volkswagen MEB: Improve "More battery info" page for easier debugging. by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/983
- Kia eGMP platform: Add SOC estimation from cellvoltage min-max by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/923
- Tesla S/3/X/Y:
- Bugfix: Fixed a typo causing battery_OverTemperatureFault not to be mapped correctly by @stamp in https://github.com/dalathegreat/Battery-Emulator/pull/1008
- Bugfix: Improve blown pyrofuse event check by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1015
Inverters โก
- Growatt HV:
- Fixed an issue causing status bits to never clear, affecting charge/discharge by @ErikssonPer in https://github.com/dalathegreat/Battery-Emulator/pull/982
- Fixed an issue where CAN sending towards inverter would sometimes fail by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/980
- Kostal: Fixed an issue where contactors would not close on startup by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/986
- Deye: Separate Deye offgrid BYD_CAN_DEYE protocol now implemented to avoid Solis misbehaving by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/981
- Solax: Added reported_total_capacity_Wh to code, and taken into use in Solax protocol by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/1002
Housekeeping ๐งน
- Feature: Add (dis)charged_energy_Wh to datalayer and MQTT, by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/1003
- Crashfix: Fixed an issue where MQTT commands could crash the board, by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/989
- Improvement: Improve performance of the LED handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1014
- Improvement: Combine GitHub Action to compile all combinations into one file and reduce triggers by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1012
- Improvement: General code cleanup to imrpove performance ๐งน by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1009
New Contributors
- @ErikssonPer made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/982
- @stamp made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1008
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.8.1...v8.9.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 month ago

Battery-Emulator - v8.8.1
What's Changed ๐ฆ
This is a minor update mainly to fix a watchdog reset issue that could happen when using MQTT
[!IMPORTANT]
It is highly recommended to update to this version if you are using MQTT
Suggested ESP32 version: 3.1.3
Battery ๐
- Daly BMS: Minor stability tweaks by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/930
- MEB platform: Make transmit_obd_can_frame canFD aware. by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/969
Inverters โก
- Foxess: Reduce CAN sending load by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/958
Housekeeping ๐งน
- Crashfix: Fixes to MQTT to prevent delays when the broker is unavailable which can trigger the watchdog timer reset by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/955
- Improvement: Remove EE event log by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/959
- Library update: Adafruit_NeoPixel by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/954
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.8.0...v8.8.1
Energy Storage - Battery
- C++
Published by dalathegreat about 1 month ago

Battery-Emulator - v8.8.0
What's Changed
This release focuses on improving performance of the main functions. There was a large performance regression in all releases after 8.5.0.
[!IMPORTANT]
It is highly recommended to update to this version if you are running a version 8.6.0 OR 8.7.0
Batteries ๐
- New battery: Added support for 69kWh Volvo XC40 SPA battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/934
- BMW iX : Stale timeout increase to make safety check more robust by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/942
- BMW i3: Fixed an issue where MQTT would not send cellvoltages by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/950
- Volvo SPA Hybrid: General improvements to support @nmainil in https://github.com/dalathegreat/Battery-Emulator/pull/933
Housekeeping ๐งน
- Bugfix: Slow webserver performance (REGRESSION) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/953
- Improvement: Optimize CAN-Native driver and event handling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/946
- Improvement: More CAN performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/948
- Improvement: Event loop optimization to increase performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/949
- Library updates: ArduinoJSON + AsyncTCP + ESPAsyncWebserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/943
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.7.0...v8.8.0
Energy Storage - Battery
- C++
Published by dalathegreat about 2 months ago

Battery-Emulator - v8.7.0
What's Changed ๐ฆ
This version adds support for many new battery types, fixes many bugs, and introduces a powerful CAN replay feature for reverse engineering. It is a recommended update, since it also improves safety significantly.
[!IMPORTANT]
This release removes Serial-Link support, the ability to use 2x LilyGo boards together. Learn more why
If you are relying on this feature, consider switching to any of the following options:
- You can add an isolated MCP2515 CAN channel
- You can add an isolated MCP2518 CANFD channel, and run it in classic CAN mode
- You can use the Stark CMR hardware
- You can use a CAN filter between inverter and the rest of the system
Batteries ๐
- New battery: Add Orion BMS support by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/885
- New battery: Add SimpBMS battery support by @jamiejones85 in https://github.com/dalathegreat/Battery-Emulator/pull/917
- Add basic read-only support for Volvo SPA Hybrid batteries by @nmainil in https://github.com/dalathegreat/Battery-Emulator/pull/913
- RJXZS:
- Feature: Add event for RJXZS BMS error and guide user how to clear by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/897
- Bugfix: Add current direction for RJXZS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/898
- BYD Atto 3: Added cellvoltage reading by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/911
- BMW i3: Make kWh remaining more accurate by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/918
- SAFETY: Removed support for Serial-Link (Double LilyGo) functionality by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/939
Inverters โก
- Kostal RS485 communication improvements by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/912
Housekeeping ๐งน
- Bugfix: SAFETY, Add forcing of charge/discharge values to 0 incase of critical fault by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/904
- Feature: CAN log playback via Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/927
- Microfeature: Make LED modes customizable in USER_SETTINGS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/916
- Feature: Periodic BMS reset now at a specific time with the help of NTP by @laughingguffly in https://github.com/dalathegreat/Battery-Emulator/pull/847
- Bugfix: Restore OTA back buttons by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/902
- Bugfix: Fix include order to avoid compilation warning by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/937
- Bugfix: Prevent logging incoming FD twice by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/940
New Contributors ๐ฆธ
- @nmainil made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/913
- @laughingguffly made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/847
- @jamiejones85 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/917
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.6.0...v8.7.0
Energy Storage - Battery
- C++
Published by dalathegreat about 2 months ago

Battery-Emulator - v8.6.0
What's Changed ๐ฆ
This version fixes an issue where the OTA page would crash the board incase the newly released ESP32 v3.1.2 board manager was used. It also adds support for Daly SmartBMS, a new protocol for Ferroamp, and various bugfixes all around.
Batteries ๐
- New Battery: Daly SmartBMS Support by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/857
- Nissan LEAF: Make 24kWh Wh max value more realistic based on SOH by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/862
- BYD Atto3: Add 10 temperature sensors to datalayer by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/849
- Improvement: Tigthen cellvoltage warnings on most batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/864
Inverters โก
- New inverter: Add dedicated Ferroamp pylon spinoff by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/871
- Ferroamp: Add linear interpolation to fake LFP voltage range by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/888
- Solax: Message 187E should contain total_capacity by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/866
- BYD CAN: Deye offgrid safety improved by overriding SOC% incase of 0W allowed by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/875
- Bugfix: Growatt HV, Add user customizable charge/discharge voltage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/884
- Pylon LV: Scalings corrected by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/893
Housekeeping ๐งน
- Feature: Add limiting factor to Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/874
- Feature: Enable task watchdogs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/892
- Microfeature: Add detected inverter brand to datalayer and webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/870
- Improvement: Init event handling before any use of events by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/879
- Library: Update ElegantOTA from 3.1.5 -> 3.1.6, avoid crashing board when using ESP32 3.1.2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/891
- Library: Replaced AsyncTCPsock with official ESP32Async-AsyncTCP @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/891
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.5.0...v8.6.0
Energy Storage - Battery
- C++
Published by dalathegreat 2 months ago

Battery-Emulator - v8.5.0
What's Changed ๐ฆ
This release contains a few bugfixes. If you see your battery or inverter listed, it is a good idea to update to this version.
Batteries ๐
- Volkswagen MEB platform:
- General improvements to More Battery Info page by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/848
- Add CRC checking on incoming CAN messages, to be able to detect CAN wiring issues by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/850
- BMW iX, i4-i7: Send BMS Reset at startup, to be able to reboot emulator by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/856
- Tesla S/3/X/Y: Update rampdown power for more gentle top balancing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/854
- Kia/Hyundai 40/62kWh: Double-Battery setups now confirmed working by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/861
Inverters โก
- Kostal RS485: Inverter CRC and byte scrambling refactored by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/858
- Pylon: Fix compilation error when using SET_30K_OFFSET by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/860
Housekeeping ๐งน
- Safety: Add event for large temperature difference inside battery by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/851
- Library: Update ESPAsyncWebServer from 3.6.0 to 3.6.2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/845
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.4.0...v8.5.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago

Battery-Emulator - v8.4.0
What's Changed ๐ฆ
This update fixes a nasty crash issue that could occur when using MQTT. If you are using MQTT, it is highly recommended to update to this version. This release also introduces support for FoxESS OEM batteries, and fixes a few battery integration bugs.
The Wiki has also been updated with a โญ rating system, to help gauge the maturity of specific battery integrations. Be sure to check it out!
[!NOTE]
Some users reported issues with OTA when trying to take the new partitioning scheme into use. From v8.3.0 and onwards it is mandatory to change "Tools, Partition Scheme" to "Minimal Spiffs". This is also explained in the Quickstart video. To get around the OTA failure, you can flash via USB. After successfully deploying the new partitioning scheme with an USB flash, following OTA updates will go smoothly.
Batteries ๐
- New Battery: Add FoxESS Battery support by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/830
- Tesla S/3/X/Y:
- Removed double battery support, integration not mature enough yet, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/827
- Improve content in More Battery Info page by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/818
- Pylon Battery: Map cellvoltage min/max to array by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/841
- BYD Atto 3: Simplify temperature reading + code cleanup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/840
- Bolt-Ampera: Add more CAN findings integration by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/826
Houskeeping ๐งน
- Improvement: Make CAN events more readable and easier to understand by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/823
- Improvement: Add warning event if SD card fails to initialize by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/843
- Bugfix: Fixed MQTT crash & platformio update by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/836
- Bugfix: Fix for compilation errors when HA_AUTODISCOVERY is commented out by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/837
New Contributors ๐ฆธ
- @greenoem made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/837
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.3.0...v8.4.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago

Battery-Emulator - v8.3.0
What's Changed ๐ฆ
This version fixes a few bugs, adds support for some new components, and replaces the MQTT library. We have been using an older version that stopped getting updates in 2020. This is now fixed by switching to the official Espressif ESP-MQTT library for improved cybersecurity and more features
[!IMPORTANT]
The new MQTT library takes up much more program space. It is mandatory to change "Tools, Partition Scheme" to "Minimal Spiffs" from here on. This is explained in the Quickstart video. Failing to change this might result in aSketch too big
compilation error. See the picture below on where to set it:
Batteries ๐
- New battery: Added Beta support for BMW PHEV batteries by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/804
- Added support for Double Kia-Hyundai 64/40kWh batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/816
- Tesla S/3/X/Y:
- Added event for when detecting a blown pyro fuse by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/808
- LFP configuration option moved from Tesla.h to USER_SETTINGS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/806
- Nissan LEAF:
- Periodic BMS reset now only halts CAN sending towards battery while reset in progress by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/814
- Change battery-allows-contactor closing logic to make it more robust by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/811
- BMW iX: Added iX balancing requests by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/803
Inverters โก
- Solax: Webserver now show correct contactor status when Solax opens them by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/812
- Solax: Improved CAN mappings for Solax protocol by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/819 and in https://github.com/dalathegreat/Battery-Emulator/pull/821
Connectivity ๐ถ
- Improvement: MQTT library replacement by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/768
Housekeeping ๐งน
- Improvement: Move global charger variables to datalayer by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/810
- Improvement: Reduce amount of compilation warnings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/817
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.2.0...v8.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago

Battery-Emulator - v8.2.0
What's Changed ๐ฆ
This version adds a new method to handle cell voltage events, for safer operation of the battery. It also contains many battery bugfixes, new inverter protocols, improved performance and more!
Batteries ๐
- BMW i3:
- Bugfix: Add cellvoltage amount for battery2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/787
- Bugfix: Add sanity check to minmax reading to prevent incorrect cellvoltage readings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/789
- Bugfix: Fixed an issue where remaining capacity would not be set correctly for 2nd battery by @pmajor021 in https://github.com/dalathegreat/Battery-Emulator/pull/797
- Renault Zoe:
- Bugfix: Make all 96 cells appear on cellmonitor page for Zoe Gen1 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/790
- Feature: Added event for blown fuse in Zoe Gen1 battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/798
- Volvo/Polestar:
- Improved contactor closing CAN message content by @GoSmartEV in https://github.com/dalathegreat/Battery-Emulator/pull/781
- Volkswagen MEB
- Fixed an issue where when drawing more than 1A of power the battery would open contactors by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/791
- Added support for automatic precharge hardware by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/791
- Tesla S/3/X/Y
- Improved the More Battery Info page to contain more useful data by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/769
- Nissan LEAF:
- Regression 8.1.0: Fixed a bug that caused the Degradation Reset button under More Battery Info to not work @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/779
Inverters โก
- New inverter protocol base: Sungrow CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/552
- New inverter protocol base: Growatt HV protocol โก by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/788
- Pylon CAN: Bugfixes + Pylon now respects manual voltage limits set in Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/778
- Kostal RS485: Added more debug output to get better understanding of temporal behaviour by @lewurm in https://github.com/dalathegreat/Battery-Emulator/pull/644
- Bugfix: Pylon CAN, add status bit writing to 0x4250 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/801
Houskeeping ๐งน
- Safety Feature: Add CRITICAL cell voltage safeties by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/782
- Bugfix: Fixed a bug where Battery2 power would only be calculated if ScaledSOC option was on by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/786
- Library: Replace ESPAsyncWebServer library to improve webserver performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/780
- Bugfix: Fixed an issue where PERIODIC_BMS_RESET would cause false events on recovery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/793
- Improvement: Update comment on MQTT password to make it easier to use by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/802
New Contributors
- @GoSmartEV made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/781
- @lewurm made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/644
- @pmajor021 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/797
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.1.0...v8.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago

Battery-Emulator - v8.1.0
What's Changed ๐ฆ
This release adds support for Sono Motors batteries, Growatt LV inverters, and a ton of bugfixes. It is especially recommended for Volvo/Polestar users, since it contains some well needed improvements there. Be sure to read thru the release notes before installing this new version!
[!NOTE]
Note, this version drops support for MCP2517 chips in favour of the MCP2518FD chips. This is to ensure proper CAN-FD timing requirements. By removing the hardware workarounds needed to keep a 2517 chip operating, we speed up the 2518FD operation. This change should not affect anyone, since no hardware designs have been made with 2517
[!IMPORTANT]
To take into use a 8.X.X version, Copy/Rename the USER_SECRETS.TEMPLATE.h file to USER_SECRETS.h and update connectivity settings inside this file. This is a new mandatory step to increase cybersecurity, to make it less likely for developers to commit sensitive credentials during software development
Batteries ๐
- New battery: Add support for Sono Motors Battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/754
- Kia/Hyundai 40-64kWh:
- Slow down cellvoltage polling in order to not miss any messages by @LevinSwe in https://github.com/dalathegreat/Battery-Emulator/pull/734
- Add sanity checking for last cellvoltages by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/745
- Added More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/747
- Volvo/Polestar:
- Added CAN controllable contactor closing and DTC reset by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/744
- Bugfix: Use BMS allowed charge/discharge values to make integration safer by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/749
- Add startup routine to make contactor closing more reliable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/771
- Tesla S/3/X/Y
- Feature: Add forced Tesla LFP balancing functionality by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/718
- Feature: Tesla, add isolation clearing function by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/764
Inverters โก
- New inverter protocol: Growatt 48V Low Voltage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/776
- Improvement: Make BYD protocol more robust for offgrid use by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/751
Connectivity ๐ถ
- Adding ability to remotely trigger a BMS reset via MQTT by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/746
Hardware ๐ค
- Feature: LilyGo can now log debug messages to SD Card by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/708
- Feature: Add periodic BMS power reset, useful for LEAF batteries, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/706
- 3LB board: Add support for BMS2 power by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/741
Housekeeping ๐งน
- Library: Update ArduinoJson to v7.3.0 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/750
- Enhancement: Templating fix by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/733
- Improvement: CAN logging to SD to significantly improve performance by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/752
- Improvement: Reduce sketch size @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/770
- Improvement: Remove MCP2517 support for code speedup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/756
- Bugfix: Printf logging code & added BE version to log by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/742
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.0.0...v8.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago

Battery-Emulator - v8.0.0
What's Changed ๐ฆ
This is a major release. It focuses on adding support for ESP32 v3.1.0 , along with a new and safer way to handle user credentials (USER_SECRETS). It also adds support for many new batteries/inverters/ESP32hardware/shunts and more. It is recommended to read the release notes before updating.
The newly supported ESP32 v3.1.0 package, available in Arduino IDE
[!IMPORTANT]
To take into use 8.0.0 version, Copy/Rename the USER_SECRETS.TEMPLATE.h file to USER_SECRETS.h and update connectivity settings inside this file. This is a new mandatory step to increase cybersecurity, to make it less likely for developers to commit sensitive credentials during software development
Batteries ๐
- New battery base: Stellantis eCMP platform (Citroen, DS, Open, Peugeot) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/462
- New battery base: Chevy Bolt / Opel Ampera battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/642
- Renault Zoe Gen1:
- Add more info about which CAN messages are present by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/674
- Add current sensor CAN mappings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/689
- Increased safety: We now use the allowed power in/out sent by BMS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/695
- BYD Atto 3: Make startup less prone to throw incorrect Events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/675
- Nissan LEAF:
- LEAF Part/Serial/BMS info now available under More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/686
- Cellvoltages now read faster after startup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/731
- Tesla S/3/X/Y:
- Startup contactor closing now waits for cellvoltages by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/716
- Massive amounts of information added to More Battery Info page by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/693
- Logging: Fixed broken references in logging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/721
- Logging: Removed Tesla watchdog spamming by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/722
- BMW i3:
- Double battery setups now can use 2x independend wakeup pins by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/712
- Fixed a bug causing cellvoltages to not appear for the second battery in double battery setups by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/709
Inverters โก
- Feature: SMA Tripower Smart Energy protocol added by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/641
- SMA:
- For supported hardwares like ESP32DEVkit, the SMA inverters can now indicate when contactor closing is allowed via a LED, by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/703
- Sync SMA inverter coding practices for easier maintainability by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/710
- Solax: Fixed an issue causing SOC% not to appear for the Solax Ultra inverters by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/704
Hardware ๐ค
- Add support for ESP32 DevKit V1 hardware by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/719
- MCP2515 and MCP2518FD (MCP2517) can now work simultaneously by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/700
- Adding ability to log CAN frames to SD card (requires LilyGo) by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/707
- Feature: BMW S-BOX support added (Operates as Shunt and Contactor box, useful for DIY batteries and Chademo) by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/728
Housekeeping ๐งน
- Feature: Moving secrets from USER_SETTINGS.cpp to USER_SECRETS by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/662
- Bugfix: Board bootloops and insta crashes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/681
- Bugfix: avoid that GitHub Action workflow strategy expansion exceeds 256 results by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/687
- Bugfix: ensure code builds for DOUBLE_BATTERY by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/711
- Bugfix: ensure code compiles for hardware that does not have SD card pins by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/714
- Improvement:Change Serial logging to flexible logging by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/690
- Improvement: Make USER_SETTINGS more simplified by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/698
- Improvement: Reword functions names used for CAN communication by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/699
- Improvement: Code refactoring to make the code easier to read by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/671
- Improvement: Skip Duplicate GitHub Actions by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/676
- Improvement: Add hardware to GitHub Actions workflows by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/715
- Improvement: Move check if CAN_ADDON AND CANFD_ADDON are defined simultaneously, to respective hardware by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/720
- Crashfix: Fix Panic Reset caused by percentage char logging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/724
- Crashfix: Add task priority setting for CAN addons by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/730
- Crashfix: Restore Async lib, implement Mutex locking by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/697
New Contributors
- @No-Signal made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/662
- @gwk1 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/728
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.9.2...v8.0.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago

Battery-Emulator - v7.9.2
What's Changed
[!CAUTION]
It is highly recommended to update to this version if you use PWM control
This is another small release, primarily aiming to fix another contactor-PWM related bug
Batteries ๐
- Feature: Add double battery support for Santa Fe PHEV by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/596
Inverters โก
- Feature: Add target voltage settings, configurable via webserver! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/647
Housekeeping ๐งน
- Bugfix: Add startup delay for contactors, fix PWM sequence by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/673
- Bugfix: Add messages needed for Solax Ultra by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/656
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.9.1...v7.9.2
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago

Battery-Emulator - v7.9.1
What's Changed
[!CAUTION]
It is highly recommended to update to this version if you use PWM control
This hotfix resolves a major issue that affected users that had PWM enabled. If PWM controlled contactors were in use, the Precharge pin would never activate. This caused one user to blow two contactors and a fuse:
- Bugfix: PWM causes precharge to break by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/668
Batteries ๐
- BMW i3: Secondary battery fix for cellvoltages, by @beadon in https://github.com/dalathegreat/Battery-Emulator/pull/665
- BYD Atto 3: Update scaling on real SOC by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/666
Housekeeping ๐งน
- Add missing battery and inverter options to GitHub workflows by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/669
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.9.0...v7.9.1
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago

Battery-Emulator - v7.9.0
What's Changed
This release adds support for the Volkswagen MEB platform. This platform is used across the brands of the Volkswagen Group (VW/ล KODA/CUPRA/AUDI), used in over 18 different vehicle models.
Batteries ๐
- New battery: Volkswagen MEB platform support by @dalathegreat and @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/405
- Tesla S3XY: Content under "More battery info" greatly extended by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/623
Housekeeping ๐งน
- Feature: Add initial version of web based CAN logger by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/639
- Change web based CAN log file format to CANdump by @mvgalen in https://github.com/dalathegreat/Battery-Emulator/pull/655
- Docs: Update README.md by @eltociear in https://github.com/dalathegreat/Battery-Emulator/pull/649
New Contributors ๐ฆธ
- @josiahhiggs made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/623
- @eltociear made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/649
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.8.0...v7.9.0
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago

Battery-Emulator - v7.8.0
What's Changed
This release adds support for many new inverter protocols, plus heaps of bugfixes. Massive thanks to all contributors! ๐
Batteries ๐
- BYD Atto 3: Add way to use SOC% sent by battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/463
- BMW IX i4-i7 platform: Fixed an issue where stale events were triggered incorrectly by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/629
- Chademo: Various improvements to Chademo implementation by @NJbubo in https://github.com/dalathegreat/Battery-Emulator/pull/621
- BMW i3: Swapped raw and dash SOC in More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/634
- Nissan LEAF: Add insulation reading to webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/636
Inverters โก
- New inverter protocol: Schneider CAN inverter protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/616
- New inverter protocol: Kostal RS485 protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/426
- New inverter protocol: SMA Low Voltage 48V CAN protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/631
Housekeeping ๐งน
- Bugfix: Webserver did not reflect paused state on reboot by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/628
- Bugfix: Scaled Remaining Capacity no longer underflows by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/637
Hardware ๐ค
- Support for controlling contactors via GPIO for two battery packs added (Note, requires 3LB hardware) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/619
- Support for using normally closed (NC, inverter logic) contactors added by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/619
New Contributors ๐ฆธ
- @NJbubo made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/621
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.7.0...v7.8.0
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago

Battery-Emulator - v7.7.0
What's Changed
This release adds support for new batteries, new inverter protocols, and tons of bugfixes. Massive thanks to all contributors! ๐
Batteries ๐
- Feature: New battery, BMW iX and i4-7 platform support by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/602
- Feature: New battery, Zoe PH2 50kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/571
- Feature: New battery, Range Rover PHEV by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/611
- BMW i3:
- Bugfix: Turn off WUP_PIN when contactor open request active by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/585
- Bugfix: Replace faulty cap check with welded contactor check by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/588
- EGMP platform: Code cleanup and voltage limits added by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/486
- Tesla S/3/X/Y, Feature: entering FAULT mode now opens contactors for increased safety @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/570
- Nissan LEAF, Feature: Add degradation data reset for 30kWH LEAF batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/582
Inverters โก
- New inverter implementation "Pylontech LV" by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/541
- Pylon CAN: Add remaining capacity writing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/594
- Foxess: Fixed an issue causing Inverter missing event to trigger incorrectly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/609
- BYD CAN:
- Bugfix: Update reported BYD FW number to 3.29 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/598
- Bugfix: Fixed endianess & simplify inverter brand read by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/613
- Feature: Added more inverter mappings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/618
Connectivity ๐ถ
- Added Support for Double-Battery in MQTT Integrations by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/591
- Improvement: Add charge/discharge current to Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/603
Hardware ๐ค
- Feature: Add initial support for v0.1 3LB hardware by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/600
- Bugfix: Precharge Contactor Handling in SHUTDOWN_REQUESTED State and Web Interface Enhancement for Contactor Status Display by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/584
Housekeeping ๐งน
- Feature: CAN logging via serial simplified, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/607
- Scalability: Centralize active_power_w writing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/615
- Scalability: Webserver / integration simplification by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/617
New Contributors ๐ฆธ
- @wjcloudy made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/602
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.6.0...v7.7.0
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago

Battery-Emulator - v7.6.0
What's Changed
This update adds support for new batteries and new inverter protocols.
[!IMPORTANT]
Important note for MQTT users. This release contains breaking changes for MQTT parameter naming. See this link for more info on how to migrate to this release
Batteries ๐
- Added support for new battery: Renault Twizy (LV) by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/537
- Added support for new battery: Cellpower BMS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/575
- Tesla S/3/X/Y:
- Tesla SX 2021+ batteries support by @vitalii-ch in https://github.com/dalathegreat/Battery-Emulator/pull/551
- Added extra data enumeration for "More battery info" page by @clowrey in https://github.com/dalathegreat/Battery-Emulator/pull/540
- Nissan LEAF: Add event for unavailable value by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/559
- Microfeature: Add more battery info for BMW i3 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/556
- Microfeature: Add more info page for Atto3 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/561
Inverters โก
- Added support for Afore inverters
- New inverter protocol: Afore CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/542
- Bugfix: Add battery capacity writing to BYD CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/568
Housekeeping ๐งน
- Improvement: Values now updated every second instead of once every 5seconds @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/577
- Bugfix: Downgrade SOC check to warning by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/547
- Development Environment Setup Documentation Improved by @beadon in https://github.com/dalathegreat/Battery-Emulator/pull/545
- Feature: scaled remaining capacity by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/557
- Calculate scaled remaining capacity using estimated total capacity from SOC by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/560
- Improvement: Add ifdef to Modbus server error message printing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/563
- Feature: CAN-FD crystal frequency setting by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/573
Connectivity ๐ถ
- Enhancement: MQTT topic naming by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/566
- Remove "Battery Emulator" Prefix from MQTT Sensor Names and Standardize Cell Object IDs by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/567
- Replace BMS status check with CAN communication status for MQTT updates by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/580
- Double LilyGo: Increase default Serial_Link baud rate and make it configurable by @mathl79 in https://github.com/dalathegreat/Battery-Emulator/pull/579
New Contributors ๐
- @M4GNV5 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/537
- @clowrey made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/540
- @beadon made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/545
- @vitalii-ch made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/551
- @mathl79 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/579
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.5.0...v7.6.0
Energy Storage - Battery
- C++
Published by dalathegreat 6 months ago

Battery-Emulator - v7.5.0
What's Changed
The main driver for this release is support for the Foxess protocol. Massive thanks to TheOfficialBatteryMan on Discord for testing this! Foxess H3 inverters are now supported โ๏ธ
The release also adds a new way to see more battery info in the Webserver. The "More Battery Info" page is a new way to get info without using USB Debug. More development on this will follow in later releases, for now only Nissan LEAF and Tesla batteries have more info.
Batteries ๐
- Feature: It is now possible to use 2x BYD Atto 3 batteries at the same time (Double-Battery support), by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/518
- Kia/Hyundai 64/40kWh:
- Fixed an issue that prevented 64kWh batteries from charging over 95%, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/528
- kWh size now autodetected, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/531
Inverters โก
- New protocol: Add new FoxESS inverter protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/490
- Support for Foxess H3 inverters added
- Solax: Add inverter missing from CAN event, Solax by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/480
- RJXZS: Map errors to Battery Emulator events by @puffnfresh in https://github.com/dalathegreat/Battery-Emulator/pull/474
- All inverters: Add CAN missing safety Event for all inverter protocols by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/520
Housekeeping ๐งน
- Improvement: Make MCP2515 add-on crystal value easily configurable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/515
- Equipment stop:
- Add Debounced Equipment Stop Button Functionality by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/516
- Keep CAN communications active during Equipment Stop by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/535
Connectivity ๐ถ
- Microfeature: Add cellmV diff to webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/525
- Feature: More Battery Info Webpage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/530
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.4.1...v7.5.0
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago

Battery-Emulator - v7.4.1
What's Changed
This is a bugfix release, which also improves overall safety due to the addition of mandatory cellvoltage checks.
Inverters โก
- Solax: Now respects user set charge max limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/513
Hardware ๐ค
- Stark CMR: Fix broken RX for CANFD native by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/512
Housekeeping ๐งน
- Safety: Refactor cellvoltage safeties by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/508
- Feature: Support for External Button and Web-Based Equipment Stop Functionality by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/506
- Improvement: Clarify usage of webserver authentication setting to prevent compilation errors by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/509
- Improvement: Confirmation alert for "Pause Charge/Discharge" added by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/511
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.4.0...v7.4.1
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago

Battery-Emulator - v7.4.0
What's Changed
This is a bugfix release with many small fixes. It is essential for smooth OTA updates.
Batteries ๐
- Bugfix: PWM_CONTACTOR_CONTROL now actually engages contactors by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/481
- eGMP: Contactor closing for eGMP now working, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/465
- iMIEV: Make cellvoltages min/max work on webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/503
- iMIEV: Fixed an issue causing all 88 cells not appearing on cellmonitor by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/504
- Pylon Battery: Add voltage limits, remove faulty safety by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/489
Housekeeping ๐งน
- Feature: Clear events via webpage, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/487
- Microfeature: Improved DEBUG_CANFD_DATA output ... MORE! by @StarkJohan in https://github.com/dalathegreat/Battery-Emulator/pull/498
- Bugfix: Compilation issue - order_events declared inside wrong #ifdef by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/491
- Bugfix: Disable Chained CAN Sending During OTA Updates by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/497
- Bugfix: Panic issue and pause function terminology by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/499
- Improvement: OTA Update improved by removing delay and immediate CAN Control by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/505
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.3.0...v7.4.0
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago

Battery-Emulator - v7.3.0
What's Changed
This version adds support for Gen1 Renault Zoe batteries, plus many small bugfixes.
Batteries ๐
- Renault Zoe Gen1 22/41kWh batteries marked stable, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/455
- RJXZS BMS:
- Add ramping charge power + settings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/464
- Fixed a bug in an event that could crash the board when inspecting the event list on webserver, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/478
Housekeeping ๐งน
-
Feature: Added support for fixed IP configuration + refactoring, by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/466
-
Microfeature: Show CONTACTOR_CONTROL status in the Webserver by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/438
-
Improvement: Wi-Fi events handling for disconnect/connect by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/467
-
Improvement: Compilation Fix for Undefined WiFi Variables by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/468
-
Improvement: Optimize Event Ordering by Storing Milliseconds and Handling Rollovers by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/469
-
Bugfix: Fixed an issue preventing MQTT to be used without Webserver @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/470
-
Improvement: MQTT Connection Resilience and Add Event Tracking for Diagnosโฆ by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/473
-
Improvement: Add initial GitHub Issue/PR templates by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/456
-
Bugfix: Pause state update was in wrong place. by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/476
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.2.1...v7.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago

Battery-Emulator - v7.2.0
What's Changed
This release improves OTA behaviour of the Battery-Emulator significantly. We now pause the battery operation before an OTA update is started. This avoids premature contactor wear, and makes inverters less likely to trigger fault codes. You can also manually trigger a pause from the Webserver. Pauses generate events that can be seen in the event log. Bonus, the OTA view also specifies which software/hardware version you are currently on.
This release also improves MQTT functionality , events are now sent via MQTT!
Finally, this release adds authentication to the Webserver. You can now protect it with an username and password!
Batteries ๐
- Tesla S/3/X/Y:
- Change how power ramping is performed by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/433
- Add support for 108S Model X +refactor by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/445
- Combine SX and 3Y by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/458
- Jaguar iPace: Send proper keep alive message by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/437
Inverter โก
- Bugfix: Improve SMA pairing reliability, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/452
Connectivity ๐ถ
- Web Server Authentication by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/446
- Add Battery Pause Feature to webserver (Max Charge/Discharge Power) by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/457
- OTA Update Optimization by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/457
- MQTT:
- Added additional sensors to the MQTT info topic. by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/453
- Publish Battery Emulator Events to MQTT by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/435
Housekeeping ๐งน
- Update ElegantOTA library to 3.1.5 by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/454
- Ignore built binary files by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/440
- Update Readme by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/436
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.1.1...v7.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago

Battery-Emulator - v7.1.1
What's Changed
[!IMPORTANT]
It is highly recommended to update to this version.
This release fixes a single issue, event EEPROM writing causing the code to halt for up to 70milliseconds. This caused contactors to open on some battery setups, since CAN message reading/writing was essentially blocked when events were stored to EEPROM. So for now, events wont be stored to persistent memory until we can find a way to do so without halting the program.
- Triage: Remove EEPROM writing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/431
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.1.0...v7.1.1
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago

Battery-Emulator - v7.1.0
What's Changed
This version introduces support for the SMA-BYD protocol. It is now possible to use SMA Sunny Boy Storage inverters with the Battery-Emulator. This release also contains a few bugfixes.
Taking v7.X.X into use
There are new configurable parameters in the USER_SETTINGS files.
The CAN configuration needs to be set incase you are running extra CAN channels attached to the board. Via this new configuration option, you can define what is connected to which CAN channel. Some components are OK with sharing a CAN channel, others need a dedicated channel. The new CAN configuration also allows you to connect normal CAN devices to a CAN-FD interface. Simply enable the USE_CANFD_INTERFACE_AS_CLASSIC_CAN
option in the USER_SETTINGS incase this functionality is desired. There is a whole lot more flexibility with the newconfiguration CAN configuration interface!
Inverters โก
- New protocol: BYD-SMA by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/410
Batteries ๐
- Bugfix: BMW i3, temperature swap + SOC improvement by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/417
- Bugfix: BMW i3, Add skip for CRC incase it fails initially by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/419
- Feature: BMW i3, cellvoltages now supported + small fixes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/381
- Bugfix: eGMP now compiles again, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/411
Housekeeping ๐งน
- Bugfix: Update CAN pins from hard coded to using HAL by @StarkJohan in https://github.com/dalathegreat/Battery-Emulator/pull/424
- Bugfix: SMA Cleanup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/420
- Bugfix: Remove extra closing script tag by @puffnfresh in https://github.com/dalathegreat/Battery-Emulator/pull/425
- Microfeature: User settings for MDNS, WIFI AP, Home Assistant autodiscovery by @paulusbrand in https://github.com/dalathegreat/Battery-Emulator/pull/423
- Cleanup: Remove unused LUNA2000 library by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/428
New Contributors
- @paulusbrand made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/423
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.0.0...v7.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago

Battery-Emulator - v7.0.0
What's Changed
The new 7.0.0 version of the Battery-Emulator is now available. The amount of work put in by everyone involved has been massive. We now have official support for the Stark CMR hardware, and a shiny new CAN handler that will make scaling the project up to the next level way more manageable. Massive thanks to everyone that has been reporting bugs, testing, coding and in other ways contributing to make the emulator shine. ๐
Taking v7.X.X into use
There are new configurable parameters in the USER_SETTINGS files.
The CAN configuration needs to be set incase you are running extra CAN channels attached to the board. Via this new configuration option, you can define what is connected to which CAN channel. Some components are OK with sharing a CAN channel, others need a dedicated channel. The new CAN configuration also allows you to connect normal CAN devices to a CAN-FD interface. Simply enable the USE_CANFD_INTERFACE_AS_CLASSIC_CAN
option in the USER_SETTINGS incase this functionality is desired. There is a whole lot more flexibility with the newconfiguration CAN configuration interface!
Batteries ๐
- BMW i3: Add error about pin usage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/397
- Triplets: Only update values that are sane by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/391
- BMW i3: Fix initialization of WUP_PIN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/408
- BYD Atto 3: Change CAN id and content for contactor by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/409
Inverters โก
- Feature: Configurable solax voltage range by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/402
- Feature: Make pylon more configurable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/399
Housekeeping ๐งน
- Feature: Stark CMR introduction by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/406
- Refactor: CAN abstraction layer by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/400
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.5.0...v7.0.0
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago

Battery-Emulator - v6.5.0
What's Changed
This version adds support for Double Battery setups. It is now possible to use two EV packs at the same time, to get an even larger battery. See this video for the first install using double battery: https://youtu.be/skBhH_EwBUE
๐ Batteries
- New battery! Santa Fe PHEV added and marked stable โ๏ธ @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/392
- Feature: Double battery ๐ ๐ ๐ฅ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/261
โก Inverters
- Status-bits in PYLON-CAN implemented, this improves Growatt support, by @LevinSwe in https://github.com/dalathegreat/Battery-Emulator/pull/393
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.4.0...v6.5.0
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago

Battery-Emulator - v6.4.0
What's Changed
- The Mitsubishi/Citroen/Peugeot triplet batteries are now marked stable! ๐ฅณ
- Added support for FerroAmp EnergyHub inverters! ๐ฅณ
Batteries ๐
- Tesla S/3/X/Y :
- Revert broken SOH% calculation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/375
- Remove misleading info messages by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/382
- BYD Atto 3: Add contactor closing allowed signal by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/378
- Mitsubishi/Citroen/Peugeot Triplets: Add cellvoltage safeties and improved SOC handling. by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/384
Inverters โก
- Pylon CAN has new configurable options in
PYLON-CAN.cpp
- Add function to byte-swap all 16bit values
- Add function to enable 30k offset for currents
- Add function to limit charge/discharge currents from User settings
- Add status bits
by @willyfromtheblock in https://github.com/dalathegreat/Battery-Emulator/pull/359
by @LevinSwe in https://github.com/dalathegreat/Battery-Emulator/pull/287
Housekeeping ๐งน
- Feature: Add SSID/Password writing from webserver! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/376
- Bugfix: Webserver settings page now handles decimals by @GubbJVL in https://github.com/dalathegreat/Battery-Emulator/pull/386
New Contributors
- @willyfromtheblock made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/359
- @GubbJVL made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/386
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.3.0...v6.4.0
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago

Battery-Emulator - v6.3.0
What's Changed
Batteries ๐
- Feature: New battery, Kia Niro Hybrid HEV (Not stable yet!) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/365
- Feature: New battery, Jaguar I-PACE (Not stable yet!) by @obbardc in https://github.com/dalathegreat/Battery-Emulator/pull/368
- Tesla S/3/X/Y: Improve error message on why HVIL blocks contactors by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/367
- BYD Atto 3: Improved value mappings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/352
- CHAdeMO: Shunt support refactor by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/357
- PYLON battery parameters scaled wrong by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/362
Housekeeping ๐งน
- CPU load improvement: Apply less filtering on CAN signals by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/345
- CPU load improvement: Removed unused MQTT subscription functionality by @fspijkerman in https://github.com/dalathegreat/Battery-Emulator/pull/358
- CPU load improvement: Improve performance on LED driver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/364
- Use unsupported but working ESP32 version in PlatformIO to enable using this IDE by @puffnfresh in https://github.com/dalathegreat/Battery-Emulator/pull/361
- Create CONTRIBUTING.md file to instr by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/363
- Bump arduino/setup-arduino-cli from 1 to 2 by @dependabot in https://github.com/dalathegreat/Battery-Emulator/pull/371
New Contributors
- @fspijkerman made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/358
- @puffnfresh made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/361
- @obbardc made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/368
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.2.1...v6.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 10 months ago

Battery-Emulator - v6.2.1
What's Changed โ
This version focuses on improving CPU load, along with some battery fixes. Flaky Wifi connections could result in contactors opening, so the Wifi task is now moved out of the core task to keep batteries satisfied without any CAN interrupts. Who knew embedded real-time was so hard ๐
Taking 6.X.X into use โน๏ธ
When compiling this latest version, you need to update the ESP32 package by Espressif System, in the Arduino IDE, to at least v3.0.0 , failure to do this will result in compilation errors. This is the spot in Arduino IDE to do it:
Housekeeping ๐งน
- Bugfix: CAN overrun events are now cleared to help spot CPU load issues, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/344
- Bugifx: Move WIFI out from the core task by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/346
Batteries ๐
- BYD Atto 3: Rescale voltage, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/347
- Renault Zoe: Split Zoe handling with OVMS info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/343
- 800V E-GMP: Fixed sign on current value by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/349
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.2.0...v6.2.1
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago

Battery-Emulator - v6.2.0
What's Changed โ
This version focuses on improving CPU load, along with some battery fixes. Flaky Wifi connections could result in contactors opening, so the Wifi task is now moved out of the core task to keep batteries satisfied without any CAN interrupts. Who knew embedded real-time was so hard ๐
Taking 6.X.X into use โน๏ธ
When compiling this latest version, you need to update the ESP32 package by Espressif System, in the Arduino IDE, to at least v3.0.0 , failure to do this will result in compilation errors. This is the spot in Arduino IDE to do it:
Housekeeping ๐งน
- Bugfix: CAN overrun events are now cleared to help spot CPU load issues, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/344
- Bugifx: Move WIFI out from the core task by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/346
Batteries ๐
- BYD Atto 3: Rescale voltage, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/347
- Renault Zoe: Split Zoe handling with OVMS info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/343
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.1.0...v6.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago

Battery-Emulator - v6.1.0
What's Changed โ
This version fixes a rare reset issue, adds reset reason to Events view, and adds initial support for BYD Atto 3 batteries! It is a highly recommended update.
Taking 6.X.X into use โน๏ธ
When compiling this latest version, you need to update the ESP32 package by Espressif System, in the Arduino IDE, to at least v3.0.0 , failure to do this will result in compilation errors. This is the spot in Arduino IDE to do it:
Batteries ๐
- Feature: Add initial support for BYD Atto 3 batteries ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/325
- Improved code performance on LEAF and Kia batteries, by copying the cellvoltages in a smarter way, by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/332
Inverters โก
- Bugfix: Division by 0 could crash the emulator. Affected protocols Solax, SMA and BYD. Fixed by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/340
Housekeeping ๐งน
- Feature: The reason a reset happened is now posted in Event view, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/335
- Microfeature: Show which hardware is used in WebUI, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/339
- MQTT Bugfix, calculate number of cell in KIA pack by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/341
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v6.0.0...v6.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago

Battery-Emulator - v6.0.0
What's Changed โ
This is a Major release, which requires user action to take into use. The main driver for this release is to get ESP32 v3.0.0 support. Safety has also been increased significantly, with the inclusion of a dedicated Safety code section (Safety.cpp), which performs safety checks every 5 seconds. A significant amount of new safeties and info events have been added to the emulator! ๐ฅณ
Taking 6.X.X into use โน๏ธ
When compiling this latest version, you need to update the ESP32 package by Espressif System, in the Arduino IDE, to the latest v3.0.0 , failure to do this will result in compilation errors. This is the spot:
Batteries ๐
- Nissan LEAF: Fixed an issue causing automatic contactor closing to not always work, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/328
- CHAdeMO support is staging towards stable and ready for testing. Excellent progress made by @smaresca :
- Rework CHAdeMO support to more fully implement standard by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/304
- Add SimpleISA library for use in measuring current/voltage when using CHAdeMO by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/303
- Improvement - CHAdeMO: Add measured current and voltage via IVT Shunt by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/311
- Added skeleton for MG5 battery integration by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/319
- BMW i3: Remove obsolete codeblocks, by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/294
- Kia/Hundai, Make 12V default value reasonable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/331
Inverters โก
- BYD Modbus: Added info event incase we don't see any Modbus activity. This helps new users troubleshoot wiring, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/305
- All inverters: Added info event for when inverter exceeds battert limits, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/313
- Tweaked by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/327
- Tweaked fully charged event, so it does not continously trigger when battery is full, by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/329
Connectivity ๐
- Wifi stability improved, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/314
- Fixed an issue with CAN-FD getting stuck on startup , by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/317
- MQTT:
- Prevent MQTT to publish cell voltage values before they are populated by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/321
- Nissan LEAF : Only update cellvoltages after all cells have been sampled, by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/324
Housekeeping ๐งน
- Feature: ESP32 Arduino Core v3.0.0 compatibility by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/326
- New feature: Safety.cpp handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/301
- Improvement: Move charge/discharge limiting to Safety file by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/310
- Microfeature: Customizable name on webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/312
Hardware ๐ป
- Added initial support for Stark hardware by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/309
New Contributors
- @amarofarinha made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/321
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.10.0...v6.0.RC
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago

Battery-Emulator - v6.0.RC
What's Changed โ
This is a Major release, which requires user action to take into use. The main driver for this release is to get ESP32 v3.0.0 support. Safety has also been increased significantly, with the inclusion of a dedicated Safety code section (Safety.cpp), which performs safety checks every 5 seconds. A significant amount of new safeties and info events have been added to the emulator! ๐ฅณ
Taking 6.X.X into use โน๏ธ
When compiling this latest version, you need to update the ESP32 package by Espressif System, in the Arduino IDE, to the latest v3.0.0 , failure to do this will result in compilation errors. This is the spot:
Batteries ๐
- Nissan LEAF: Fixed an issue causing automatic contactor closing to not always work, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/328
- CHAdeMO support is getting improved. Not marked as stable yet, but excellent progress made:
- Rework CHAdeMO support to more fully implement standard by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/304
- Add SimpleISA library for use in measuring current/voltage when using CHAdeMO by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/303
- Added skeleton for MG5 battery integration by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/319
- BMW i3: Remove obsolete codeblocks, by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/294
Inverters โก
- BYD Modbus: Added info event incase we don't see any Modbus activity. This helps new users troubleshoot wiring, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/305
- All inverters: Added info event for when inverter exceeds battert limits, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/313
- Tweaked by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/327
Connectivity ๐
- Wifi stability improved, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/314
- Fixed an issue with CAN-FD getting stuck on startup , by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/317
- MQTT:
- Prevent MQTT to publish cell voltage values before they are populated by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/321
- Nissan LEAF : Only update cellvoltages after all cells have been sampled, by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/324
Housekeeping ๐งน
- Feature: ESP32 Arduino Core v3.0.0 compatibility by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/326
- New feature: Safety.cpp handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/301
- Improvement: Move charge/discharge limiting to Safety file by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/310
- Microfeature: Customizable name on webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/312
Hardware ๐ป
- Added initial support for Stark hardware by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/309
New Contributors
- @amarofarinha made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/321
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.10.0...v6.0.RC
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago

Battery-Emulator - v5.10.0
What's Changed
Batteries
- Renault Kangoo: Rescale SOC, Current and Power values by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/218
- Kia/Hyundai E-GMP: Better cellvoltage handling by @JorgenSeemann in https://github.com/dalathegreat/Battery-Emulator/pull/282
- BMW i3: Less likely to go into FAULT incase it hasn't had time to read cellvoltages by @odlg in https://github.com/dalathegreat/Battery-Emulator/pull/299
- All batteries: Added CAN-FD USB printout for easier debugging by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/289
Inverters
- Pylon CAN: Add more battery mappings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/284
- BYD CAN: Make amp value based on actual voltage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/281
- BYD Modbus: Values set in webserver for max charge/discharge in amps is now used by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/290
- BYD Modbus: Significant performance improvements by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/290
- Solax: Correct scaling on kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/297
New Contributors
- @JorgenSeemann made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/282
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.9.0...v5.10.0
Energy Storage - Battery
- C++
Published by dalathegreat 12 months ago

Battery-Emulator - v5.9.0
What's Changed
This release focuses on getting Double LilyGo setups working again. The last version that this feature worked in was 5.5.0. This release also fixes some small bugs and adds minor features.
Batteries
- BMW i3: Added cellvoltage safeties and pack size autodetect by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/279
Inverters
- Feature: Add Event when automatic contactor opening happens by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/271
- Bugfix: Serial-link (Double LilyGo) now works again by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/283
Housekeeping
- Microfeature: Add uptime tracking and display by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/268
- Improvement: Rename BMS to System in webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/273
- Improvement/event uptimestamp by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/272
- Bugfix: Make chargers compile and add to workflow ๐ค by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/274
- Update README.md by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/275
- Consistent library naming by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/278
- Refactor: Inverter handling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/276
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.8.0...v5.9.0
Energy Storage - Battery
- C++
Published by dalathegreat 12 months ago

Battery-Emulator - v5.8.0
What's Changed
This version adds initial support for Pylon ๐ batteries. It also contains many bugfixes and improvements for different battery types. This version also introduces a datalayer, to make future development easier! โก
Batteries
- Support for new battery! Pylon ๐ https://github.com/dalathegreat/Battery-Emulator/pull/265
- Kia/Hyundai64: Battery max charge/discharge values are now read from CAN instead of estimated. This increases safety significantly when using these batteries, https://github.com/dalathegreat/Battery-Emulator/pull/259
- Kia/Hyundai64: Improved startup reliability. We wait until battery is turned ON before starting to send CAN messages towards it, https://github.com/dalathegreat/Battery-Emulator/pull/264
- Nissan LEAF: Three new events added (EVENT_BATTERY_CAUTION, EVENT_BATTERY_REQUESTS_HEAT and EVENT_BATTERY_WARMED_UP). This alerts users incase the battery does something out of the ordinary https://github.com/dalathegreat/Battery-Emulator/pull/257
- BMW i3: Two new events added, we now alert the user incase high voltage interlock not seated / Capacitor missing on HV side. This simplifies troubleshooting https://github.com/dalathegreat/Battery-Emulator/pull/267
- Fixed an issue causing E-GMP batteries not to compile https://github.com/dalathegreat/Battery-Emulator/pull/258
Inverters
- Fixed an issue where if an inverter would switch to 250kbps instead of 500kbps, it would halt the emulator for 2seconds. The board now recovers in 20ms incase it encounters a baud rate switch https://github.com/dalathegreat/Battery-Emulator/pull/260
Housekeeping
- Refactoring: Introduced datalayer and move events to background task by @Cabooman https://github.com/dalathegreat/Battery-Emulator/pull/254
- Bugfix: Make faulted LED solid red again ๐ด https://github.com/dalathegreat/Battery-Emulator/pull/263
- Cleanup: Removed unnecessary USB debug messages https://github.com/dalathegreat/Battery-Emulator/pull/255
- Cleanup: Removed images from the code repository. All images are now hosted on Github Wiki to save space, makes the .zip file 14 MB smaller https://github.com/dalathegreat/Battery-Emulator/pull/256
- Regression in SERIAL-LINK-RECEIVER https://github.com/dalathegreat/Battery-Emulator/pull/269
- Improvement: SERIAL-LINK-RECEIVER added to workflow https://github.com/dalathegreat/Battery-Emulator/pull/270
Contributors
@Cabooman @smaresca @kukumagi @dalathegreat
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.7.1...v5.8.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.7.1
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
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.7.0
What's Changed
This version of the emulator adds two large new features.
- CAN-FD support ๐
- Initial EGMP battery support ๐ (Massive thanks to Priit, @kukumagi , Lux and others on the Discord server ๐ )
Housekeeping
- Bugfix: Further CPU load reductions by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/241
- Improved support for Platformio IDE by @kukumagi in https://github.com/dalathegreat/Battery-Emulator/pull/246
- Improvement: Increase size for data by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/247
Batteries
- Feature: CAN-FD + EGMP batteries! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/244
- Bugfix: Missing include for Volvo by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/245
New Contributors
- @kukumagi made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/246
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.6.0...v5.7.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.6.0
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.
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 https://github.com/dalathegreat/Battery-Emulator/pull/236
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.5.0...v5.6.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.5.0
What's Changed
This release adds support for BMW i3 batteries. Massive thanks to odlg over on the Discord server for testing and logging! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/224
Batteries
- New batteries supported:
- Tesla: The code autodetects incase you have an LFP battery, but the detection method can take up to 5minutes. Incase you want to speed this up for additional safety, it's now possible to define LFP_CHEMISTRY in the TESLA-MODEL-3-BATTERY.h file @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/216
- Kona 40kWh batteries now have functional cellvoltageview @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/213
- Kia/Hyundai: Current value now signed right way, webserver no longer shows discharging while charging, and vice versa. By @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/217
Inverters
- BYD CAN: Swap discharge/charge limits in CAN mapping. This fixes Sungrow inverters limiting charge incorrectly, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/215
Connectivity
- Add mDNS for local device discovery. by @gingofthesouth in https://github.com/dalathegreat/Battery-Emulator/pull/220
New Contributors
- @gingofthesouth made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/220
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.4.0...v5.5.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.4.0
What's Changed
This version adds support for Volvo SPA / Polestar batteries. Massive thanks to niclashedlund over on the Discord server for this amazing work ๐
Batteries
- New batteries supported: Volvo XC40 / Polestar 2 78kWh โ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/211
Webserver
- Auto-refresh settings page on success, alert on error by @smaresca in https://github.com/dalathegreat/Battery-Emulator/pull/209
- Improve visibility on scale_soc setting by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/208
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.3.0...v5.4.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.3.0
What's Changed
โ ๏ธ This update brings some mandatory charging safety updates for Tesla batteries. If you use a Tesla battery, please update to this version asap!
The Webserver now has an improved Cellmonitor page, with a nice graph view. Massive thanks to @Cabooman ๐
Inverters
- New inverter protocol: Added base for SMA Tripower by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/182
- SMA CAN H: Bugfix for charge allowed message by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/183
Batteries
- Tesla: Raise LFP max cell voltage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/184
- Tesla: Add cellamount LFP autodetect by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/189
- Tesla: Tweak plausable SOC% limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/191
- Tesla: Add top balancing for batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/199
- Kangoo: Fix battery voltage scaling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/167
Connectivity
- Better JSON and Mqtt cleanup by @kharnt0x in https://github.com/dalathegreat/Battery-Emulator/pull/178
- Fix SOC Real in mqtt by @kharnt0x in https://github.com/dalathegreat/Battery-Emulator/pull/201
Housekeeping
- Refactor: Battery interface streamlining by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/188
- Bugfix: OTA timeout improvement by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/175
- Refactor: All batteries: Voltage limits as variables by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/190
- Bugfix: Remove char_dis_status variable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/186
- Refactor: Variable naming + RealSOC by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/195
- Bugfix: Fix wrong contactor variable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/197
- DoubleLilyGo: Fix u32 Wh values getting corrupted by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/200
- Increase cellvoltagearray for 800V batteries in the future by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/204
- Feature/cell bars by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/206
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.2.0...v5.3.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.2.0
What's Changed
New features
- This release adds event handling. The webserver can now display a list of events that have triggered in the system. For instance anything out of the ordinary; cell overvoltage, overheating, CAN failures etc. all get logged to the event list. The events are also stored to EEPROM for an additional layer of security. Event handling makes troubleshooting a problematic situation much easier. Massive thanks to @Cabooman for implementing most of it ๐
The event log can show you how many events have occured, when the last event of this type happened, severity of event and data. Events get stored to EEPROM, so if you later on power on the board, it will spit out the last events via serial on bootup. How neat is that? ๐
Note for devs: Events should be used for further development of all battery handlers, since it centralizes the writing of BMS status and handling of LED color and serial printouts.
Inverters
- Add SMA CAN H findings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/174
Batteries
- Kia/Hyundai 64kWh: Fix negative temp handling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/162
- Kia/Hyundai 64kWh: Add cellvoltage mappings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/168
- Bugfix: Clear battery events properly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/177
Connectivity
- Wifi connections are now even more robust, and better error handling.
- Wifi channel can now be configured if desired
- Wifi channel is now shown in Webserver UI
- Add MQTT autoconfig for homeassistant for other data than just cell voltages by @kharnt0x in https://github.com/dalathegreat/Battery-Emulator/pull/166
Misc
- Feature: Webserver cleanup + Event timestamps by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/169
- Bugfix: Beautify eventsview by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/171
- Bugfix/mqtt cell voltage by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/173
- Polishing the EEPROM handling by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/176
Housekeeping for repository
- Unit tests! by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/170
- Add Dependabot by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/163
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/dalathegreat/Battery-Emulator/pull/165
- Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in https://github.com/dalathegreat/Battery-Emulator/pull/164
New Contributors
- @dependabot made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/165
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.0.1...v5.2.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.0.1 release
What's Changed
This is a minor stability update, that fixes the following:
- BYD-CAN: Fixed an issue causing average temperature to become large and stop the inverter, when negative values were calculated by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/158
- Tesla S/3/X/Y batteries: Serialprint is now more human readable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/159
- Nissan LEAF battery: Negative temperature values now human readable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/160
- Improved Wifi connection reliability and troubleshooting printouts @kharnt0x in https://github.com/dalathegreat/Battery-Emulator/pull/157
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v5.0.0...v5.0.1
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v5.0.0 release
What's Changed
โน๏ธ Note, this release has so many new features and functions, that it is mandatory to start over fresh with the USER_SETTINGS file!
New features
-
MQTT support added. See the wiki for more info on how to use MQTT, for example with home automation systems
-
Cellmonitoring added. It's now possible to see each cells voltage in the webserver page. The voltages also change color incase a deviation is noticed. Now you can keep a much more watchful eye on each cell!
-
Battery Settings saved in the webserver page are now stored permanently to flash, and reused on every reboot.
-
The emulator now supports connecting external chargers to the battery, for use with emergency generator charging.
- Chevrolet Volt Gen1 charger support added
- Nissan LEAF 2013-2024 PDM charger support added
Improvements
- Application starts 500ms faster on bootup
- Wifi now reconnects incase network connection is lost
- Webserver values are now shown in kW instead of W when they go over 1000 (ex 12300W -> 12.3kW)
- Tesla S/3/X/Y battery:
- Temperature values are more accurate, decimal is no longer discarded!
- Error debug message added incase inverter blocks contactor closing sequence
- Fixed an issue where some LFP packs would show high voltage outputs as thousands of volt instead of 350
- Reworded SOH% calculation unavailable as a warning instead of error
- Nissan LEAF battery:
- CAN sending route optimized for lower CPU usage
- Added safety for LB_Empty signal. Discharging is now stopped incase this flag is set.
- Protocol, BYD CAN
- The announced inverter brand is now stored into memory, and printed out to USB
- Protocol, Pylon CAN
- Fixed an issue where Sofar inverters would be blocked from charging/discharging
New Contributors
- @smaresca made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/148
- @kharnt0x made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/153
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v4.4.0...v5.0.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago

Battery-Emulator - v4.4.0 release
What's Changed
Batteries
- Added support for new batteries:
- Kia e-Niro 64kWh โ
- Hyundai Kona 64kWh โ
- Hyundai Santa Fe PHEV 14kWh โ ๏ธ (Testers wanted!)
- Nissan LEAF: Improved accuracy on Watt, Voltage & Amperate values
- Nissan LEAF: Added heated battery handling
- Tesla: Added SOH% value and kWh remaining value now shows correctly
Hardware
- Access point wifi broadcasting can now be turned off
- OTA updates are more stable (CAN communication stopped while OTA in progress)
- Webserver can now show more info
- Version number
- Wifi signal strength added (dBm value)
- Reboot button added
- Settings page added, Battery settings can be edited on the fly!
All Pull Requests to this version:
- Add way to disable AP by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/123
- Tesla S/3/X/Y: Fix Wh max/remain values by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/121
- Bugfix: OTA not communicated to inverter/user by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/125
- Bugfix/stable ota by @Cabooman in https://github.com/dalathegreat/Battery-Emulator/pull/127
- Bugfix: Charge/Discharge status bits (+refactoring) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/126
- Feature: Split Zoe and Kangoo by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/124
- Fix compilation error by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/130
- Feature: New battery (Santa Fe PHEV) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/131
- Minor updates of timing by @LevinSwe in https://github.com/dalathegreat/Battery-Emulator/pull/133
- Nissan LEAF: Heated battery handling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/120
- Tesla: Add SOH% value and kWh safety check by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/132
- Feature: New batteries ๐ Kia 64kWh & Hyundai 64kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/135
- Bugfix: Nissan LEAF, increase precision on values by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/137
- Feature: Advanced webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/136
- Bugfix: project doesn't complie if #define DEBUG_VIA_USB is not enabled by @rjsc in https://github.com/dalathegreat/Battery-Emulator/pull/140
New Contributors
- @Cabooman made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/127
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v4.3.0...v4.4.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v4.3.0 release
What's Changed
The 4.3.0 release brings some stability fixes for Tesla packs and improvements to Webserver.
-
New feature: Livedata in Webserver. The webpage will now show livedata from the battery, updated every 10 seconds. The view also shows user settings, LED status etc. By @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/117
-
Tesla: Instant power (W) value is no longer incorrect. This affected both inverter communication, and the UI. By @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/119
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v4.2.0...v4.3.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v4.2.0 release
What's Changed
- New Feature: Webserver by @lenvm in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/98
The Battery-Emulator can now act as a Webserver! You can now remotely check in on what the LilyGo is reporting, and also update software over the air! How cool is that? ๐ When the setting 'WEBSERVER' is enabled, Wifi settings can be tweaked in the 'USER_SETTINGS.cpp' file. For more info on what this feature brings, see the pull request description
- New Feature: Double LilyGo! by @mackelec in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/109
Got a tricky inverter that doesn't like to see automotive CAN messages on the same bus as inverter messages? No worries, you can now use two LilyGo's at the same time! One connected to the battery, the other to the inverter, these then share data between each other via the RS485 pins. Elegant solution to a tricky problem! For more info on how to use this feature, see the pull request description
Inverters
- Fixed an issue causing SOFAR CAN to never update data, by @Dimonlipko in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/113
Batteries
- Tesla
- Misleading min/max voltages removed from USB printout
- Accuracy improved on Amperage value reported by battery
- Contactor closing skipped if inverter says not OK to proceed
New Contributors
- @Dimonlipko made their first contribution in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/113
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v4.1.0...v4.2.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v4.1.0 release
What's Changed
This update fixes some bugs for Solax & Fronius inverters, along with some battery fixes for Tesla & Nissan packs.
Inverters
- Solax: Fixed an issue where cell_max_voltage wasn't mapped properly
- Fronius: Non-LFP packs can now be used in below -10*C conditions. Explained more here: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/112
Batteries
- Added a compilation warning incase user tries compiling without a battery specified in
USER_SETTINGS.h
- Tesla: Tweaked LFP cell voltage limits from user feedback
- Tesla: Charge power now ramped down when SOC% approaches 100%
- Nissan LEAF: Added SOC% plausibility detection. Incase SOC% sent by battery no longer makes sense, charge/discharge stops.
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v4.0.0...v4.1.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v4.0.0 release
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 https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/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
- 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.
- When enabled, the values set in
-
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: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v3.5.0...v4.0.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.5.0 release
What's Changed
- The entire project now has a proper folder structure, instead of having all files in one messy folder. See link for more info
- A GitHub Action is now added, to check that the Arduino sketch compiles. This action is performed on each push/pull request.
Inverters
- Luna2000 Modbus RTU protocol added. This is still work in progress, but testing with Huawei inverters can now begin!
- Inverters using BYD CAN should now show correct kWh size (BYD 19.3 instead of 5.1 for example)
- Alternate Pylon CAN "-1" message sending added, needed for some Sofar inverters
- Sofar CAN protocol added! Testers welcome :) ( Sofar CAN, extended protocol V1.0.001 20201106 )
Batteries
- iMIEV battery support improved, all values now mapped ๐ช
- Tesla Model 3 battery support improved
- Autodetect LFP or NCA/NCM chemistry. ๐ These two battery types have different voltage limits, and the code now can select the correct limits automatically
- 50 new fault codes added! โ ๏ธ The error matrix from 0x3AA is now fully decoded, and the software will alert you if one of them is triggered. Example, "ERROR: Pack discharge current is above the safe max discharge current limit!" and another example, "ERROR: shunt current reading is not available"
- RealSOC now visible in the USB printout. Previously this value was overwritten instantly by the rescaled value heading towards inverter
Pull requests included
- Fix kWh identifier for BYD CAN by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/69
- Imiev fixes by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/71
- Modbus luna2000 by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/72
- Add ID ending with 1 by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/73
- Add Sofar CAN by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/77
- add GitHub Action that compiles Arduino sketch for ESP32 by @lenvm in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/76
- Add folder structure by @lenvm in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/78
- Tesla Model3 debug improvements by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/79
New Contributors
- @lenvm made their first contribution in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/76
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v3.4.0...v3.5.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.4.0 release
What's Changed
- New inverter protocol added! ๐พBYD Battery-Box H, 7x modules. This CAN protocol can be used with the SMA Sunny Boy Storage inverter
- USB Serial printout now runs much faster! ๐ 9600 -> 115200 , remember to set the new baud rate in the serial monitor window!
- Tesla batteries
- Improved serial printout for Tesla batteries
- Nissan LEAF batteries:
- Fixed an issue where signed values wouldn't be handled properly
- USB printing made more user friendly with correct scalings
- Fixed an issue where the Charging/Discharging/Idle field would show wrong values
Pull requests included
- Improvements to debug output for Tesla batteries. by @matvey83 in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/66
- Leaf print refactor by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/67
- SMA BYD CAN by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/68
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v3.3.0...v3.4.0
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.3.0 release
This update fixes some LEAF issues, and improves value scaling on Solax inverters
What's Changed
- Solax inverters:
- Current on screen now scaled properly
- Power value now scaled properly
- Improved CAN mappings and sending routine
- Nissan LEAF batteries:
- Current value (A) now shows real current, previously value was 2x
- Power value (W) now shows real power, previously value was 2x
- Fixed an issue where using Leafspy at the same time could cause Yellow LED on the board, active polling is now paused 100seconds incase it detects Leafspy in use.
- USB output only shows the actual min/max temperature values sent towards inverter
Example of Solax inverters, previous software version and newest one:
Full Changelog: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/compare/v3.2.0...v3.3.0
- Leaf leafspy by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/63
- Update SOLAX-CAN.cpp by @StarkJohan in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/65
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.2.0 release
This update fixes some issues for Tesla Model 3/Y batteries. Model Y batteries are now marked as stable! โ
What's New
- Tesla: CAN still alive now read from BMS message
- Tesla: Add contactor opening incase of a FAULT situation
- Tesla: Added aditional HVIL safety
- Tesla Charge max value for Tesla Model3/Y now estimated
- Tesla & Nissan LEAF: Cell voltages now mapped to inverter values
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.1.0 release
This update adds support for Tesla Model 3 batteries. These batteries are now marked as stable! โ
What's changed
- Fixed a bug where Tesla Model 3 limits were sent as Amperage instead of Watts
- Added cell voltage monitoring and safeties for Tesla Model 3 packs
- HVIL state is now human readable for Tesla Model 3 packs
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v3.0.0 release
This update improves usability. This update adds a new file, 'USER_SETTINGS.h' that now contains all the user configurable settings. You will no longer need to change individual header files when compiling for your setup, all changes are localized to one place! This also makes it easier to update to newer versions in the future, just make a backup of your 'USER_SETTINGS.h' file!
What's changed
- Added 'USER_SETTINGS.h' for easier configuration
- Fixed an issue that caused SOLAX_CAN not to compile
- Tesla Model 3 batteries: Fixed an issue that contactors would not close. Also fixed an issue with board getting stuck in error state.
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.6.0 release
This update adds support for Solax and FoxESS inverters. This is a highly recommended update!
What's changed
- Added support for Solax X1 / X3 inverters โ
- Added support for FoxESS H1/H3 inverters โ (note, second CAN channel needed)
- Added support for dual channel CAN using secondary MCP2515 chip, thanks @rjsc ๐ฅณ https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/wiki/FoxESS-H1---H3
- Added support for PWM control over contactors, thanks @rjsc ๐ฅณ
- Nissan LEAF: Fixed a bug that caused the available charge power to overflow, causing slow charging
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.5.0 release
This release adds support for Tesla Model 3 packs โ (also HVIL bypassing which is NOT recommended, see wiki)
What's changed
- Tesla HVIL bypass by @dalathegreat in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/52
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.4.0 release
This release improves safety by reducing the risk for crashes, plus some minor tweaks. This is a highly recommended update!
What's changed
- Fixed an issue where disconnecting the CAN wires would crash the board https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/48
- Nissan LEAF: Add decimal to LB_Current https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/44
- Modbus server is now turned off incase it is not used. This saves some CPU cycles, reduces dynamic memory usage by 19% and also reduces 1% of program storage space. https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/46
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.3.0 release
This release adds basic compatibility for new batteries. It also improves support for Nissan LEAF batteries
What's changed
- Adds basic support for Kia/Hyundai 64kWh batteries in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/39 ๐ชซ
- Adds basic support for BMW i3 batteries in https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/40 ๐ชซ
- Add inverterAllowsContactorClosing parameter to signal from inverter side incase contactors can be closed โก
- Nissan LEAF improvements: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/pull/43 ๐
- Added an alarm if cell mV difference goes over 500mV (which trigger yellow LED on the board)
- LB_Charge_Power_Limit is now read properly from the CAN data
- Poll all the 0x7BB groups actively from the battery. Detailed current info now sampled from battery
- Fixed battery temperature measurements for ZE0 and ZE1 (previously was only OK on AZE0 batteries)
Known issues
- Disconnecting CAN cables while system is running will result in board freezing https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/issues/27
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.2.0 release
This release adds compatibility for a new inverter!
New features:
- GoodWe models "ET/BT & EH/BH & EHB" are now marked as compatible after getting user feedback โ
Known issues:
- Disconnecting CAN cables while system is running will result in board freezing #27
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year ago

Battery-Emulator - v2.1.0 release
This release adds the following features:
- Sungrow SH-##-RT/RS inverters are now marked as stable โ ๐ฅณ
- BYD CAN now stops transmitting CAN messages incase BMS raises a fault. This is done to signal to the inverter that charging/discharging needs to stop. CAN mapping scaling for BYD CAN also adjusted after user testing
- The supported inverter list has been expanded with more inverters that most likely work with the code
- Automatic contactor closing via LilyGo now implemented โ Added a wiki section on how to use this feature with LEAF batteries
- Basic Chademo support added
- Updated images on how to power the LilyGo board. Recommended way now is via USB port, the external 5-12V connector can cause the board to crash. So USB will be the only recommendation from now on!
- The LED on the board now lights up blue ๐ต , incase CAN wiring is incorrect on startup. Possible causes are swapped High/Low pair, wire disconnected, or wrong terminating resistance. Check CAN wiring if you see this blue LED!
Energy Storage - Battery
- C++
Published by dalathegreat almost 2 years ago

Battery-Emulator - v2.0.0 release
This is a recommended update for all users. It adds the following functionality
- LEAF batteries: CRC checking for CAN messages. Status LED goes yellow if too many CAN messages get corrupted
- LEAF batteries: Cell voltage monitoring. If a cell goes too low or too high, the inverter stops charge/discharge. The voltage limits can be customized, default 2700mV min, 4250mV max
- Sungrow Inverter support (โ ๏ธ Untested)
- Solax Inverter support (โ ๏ธ Untested)
- Tesla Model 3 Battery support (โ ๏ธ Untested)
- Renault Zoe/Kangoo Battery support (โ ๏ธ Untested)
Energy Storage - Battery
- C++
Published by dalathegreat almost 2 years ago

Battery-Emulator - Initial release
Initial release ๐
- Supports LEAF batteries with Fronius Gen24
Energy Storage - Battery
- C++
Published by dalathegreat almost 2 years ago
