Skip to content

Releases: dalathegreat/Battery-Emulator

v8.0.0

02 Jan 11:21
3bfac77
Compare
Choose a tag to compare

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.

image
The newly supported ESP32 v3.1.0 package, available in Arduino IDE

image

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 🔋

Inverters ⚡

  • Feature: SMA Tripower Smart Energy protocol added by @dalathegreat in #641
  • SMA:
    • For supported hardwares like ESP32DEVkit, the SMA inverters can now indicate when contactor closing is allowed via a LED, by @lenvm in #703
    • Sync SMA inverter coding practices for easier maintainability by @lenvm in #710
  • Solax: Fixed an issue causing SOC% not to appear for the Solax Ultra inverters by @dalathegreat in #704

Hardware 🤖

  • Add support for ESP32 DevKit V1 hardware by @lenvm in #719
    • MCP2515 and MCP2518FD (MCP2517) can now work simultaneously by @lenvm in #700
  • Adding ability to log CAN frames to SD card (requires LilyGo) by @No-Signal in #707
  • Feature: BMW S-BOX support added (Operates as Shunt and Contactor box, useful for DIY batteries and Chademo) by @gwk1 in #728

Housekeeping 🧹

  • Feature: Moving secrets from USER_SETTINGS.cpp to USER_SECRETS by @No-Signal in #662
  • Bugfix: Board bootloops and insta crashes by @dalathegreat in #681
  • Bugfix: avoid that GitHub Action workflow strategy expansion exceeds 256 results by @lenvm in #687
  • Bugfix: ensure code builds for DOUBLE_BATTERY by @lenvm in #711
  • Bugfix: ensure code compiles for hardware that does not have SD card pins by @lenvm in #714
  • Improvement:Change Serial logging to flexible logging by @mvgalen in #690
  • Improvement: Make USER_SETTINGS more simplified by @dalathegreat in #698
  • Improvement: Reword functions names used for CAN communication by @lenvm in #699
  • Improvement: Code refactoring to make the code easier to read by @lenvm in #671
  • Improvement: Skip Duplicate GitHub Actions by @lenvm in #676
  • Improvement: Add hardware to GitHub Actions workflows by @lenvm in #715
  • Improvement: Move check if CAN_ADDON AND CANFD_ADDON are defined simultaneously, to respective hardware by @lenvm in #720
  • Crashfix: Fix Panic Reset caused by percentage char logging by @dalathegreat in #724
  • Crashfix: Add task priority setting for CAN addons by @dalathegreat in #730
  • Crashfix: Restore Async lib, implement Mutex locking by @dalathegreat in #697

New Contributors

Full Changelog: v7.9.2...v8.0.0

v7.9.2

15 Dec 14:46
f8140b1
Compare
Choose a tag to compare

What's Changed

Note

ESP32 v3.0.7 or lower required for this version. If you try to use the latest 3.1.0 you will get a runtime crash (assert failed tcp.c)

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 🔋

Inverters ⚡

  • Feature: Add target voltage settings, configurable via webserver! by @dalathegreat in #647

image

Housekeeping 🧹

Full Changelog: v7.9.1...v7.9.2

v7.9.1

14 Dec 13:37
d4f04ce
Compare
Choose a tag to compare

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:

image

Batteries 🔋

Housekeeping 🧹

  • Add missing battery and inverter options to GitHub workflows by @lenvm in #669

Full Changelog: v7.9.0...v7.9.1

v7.9.0

08 Dec 09:52
e900888
Compare
Choose a tag to compare

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 🔋

Housekeeping 🧹

New Contributors 🦸

Full Changelog: v7.8.0...v7.9.0

v7.8.0

25 Nov 10:58
be257a1
Compare
Choose a tag to compare

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 #463
  • BMW IX i4-i7 platform: Fixed an issue where stale events were triggered incorrectly by @wjcloudy in #629
  • Chademo: Various improvements to Chademo implementation by @NJbubo in #621
  • BMW i3: Swapped raw and dash SOC in More Battery Info page by @dalathegreat in #634
  • Nissan LEAF: Add insulation reading to webserver by @dalathegreat in #636

Inverters ⚡

Housekeeping 🧹

Hardware 🤖

  • Support for controlling contactors via GPIO for two battery packs added (Note, requires 3LB hardware) by @dalathegreat in #619
  • Support for using normally closed (NC, inverter logic) contactors added by @dalathegreat in #619

New Contributors 🦸

Full Changelog: v7.7.0...v7.8.0

v7.7.0

17 Nov 18:08
bfebe18
Compare
Choose a tag to compare

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 #602
  • Feature: New battery, Zoe PH2 50kWh by @dalathegreat in #571
  • Feature: New battery, Range Rover PHEV by @dalathegreat in #611
  • BMW i3:
    • Bugfix: Turn off WUP_PIN when contactor open request active by @dalathegreat in #585
    • Bugfix: Replace faulty cap check with welded contactor check by @dalathegreat in #588
  • EGMP platform: Code cleanup and voltage limits added by @dalathegreat in #486
  • Tesla S/3/X/Y, Feature: entering FAULT mode now opens contactors for increased safety @dalathegreat in #570
  • Nissan LEAF, Feature: Add degradation data reset for 30kWH LEAF batteries by @dalathegreat in #582

Inverters ⚡

Connectivity 📶

Hardware 🤖

  • Feature: Add initial support for v0.1 3LB hardware by @dalathegreat in #600
  • Bugfix: Precharge Contactor Handling in SHUTDOWN_REQUESTED State and Web Interface Enhancement for Contactor Status Display by @amarofarinha in #584

Housekeeping 🧹

New Contributors 🦸

Full Changelog: v7.6.0...v7.7.0

v7.6.0

03 Nov 16:02
190d60e
Compare
Choose a tag to compare

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 🔋

Inverters ⚡

Housekeeping 🧹

  • Improvement: Values now updated every second instead of once every 5seconds @dalathegreat in #577
  • Bugfix: Downgrade SOC check to warning by @dalathegreat in #547
  • Development Environment Setup Documentation Improved by @beadon in #545
  • Feature: scaled remaining capacity by @amarofarinha in #557
    • Calculate scaled remaining capacity using estimated total capacity from SOC by @amarofarinha in #560
  • Improvement: Add ifdef to Modbus server error message printing by @dalathegreat in #563
  • Feature: CAN-FD crystal frequency setting by @kukumagi in #573

Connectivity 📶

  • Enhancement: MQTT topic naming by @amarofarinha in #566
  • Remove "Battery Emulator" Prefix from MQTT Sensor Names and Standardize Cell Object IDs by @amarofarinha in #567
  • Replace BMS status check with CAN communication status for MQTT updates by @amarofarinha in #580
  • Double LilyGo: Increase default Serial_Link baud rate and make it configurable by @mathl79 in #579

New Contributors 🙌

Full Changelog: v7.5.0...v7.6.0

v7.5.0

14 Oct 13:07
667edb8
Compare
Choose a tag to compare

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.

image

Batteries 🔋

  • Feature: It is now possible to use 2x BYD Atto 3 batteries at the same time (Double-Battery support), by @dalathegreat in #518
  • Kia/Hyundai 64/40kWh:

Inverters ⚡

  • New protocol: Add new FoxESS inverter protocol by @dalathegreat in #490
    • Support for Foxess H3 inverters added
  • Solax: Add inverter missing from CAN event, Solax by @dalathegreat in #480
  • RJXZS: Map errors to Battery Emulator events by @puffnfresh in #474
  • All inverters: Add CAN missing safety Event for all inverter protocols by @dalathegreat in #520

Housekeeping 🧹

  • Improvement: Make MCP2515 add-on crystal value easily configurable by @dalathegreat in #515
  • Equipment stop:

Connectivity 📶

Full Changelog: v7.4.1...v7.5.0

v7.4.1

05 Oct 17:31
9b562fa
Compare
Choose a tag to compare

What's Changed

This is a bugfix release, which also improves overall safety due to the addition of mandatory cellvoltage checks.

Inverters ⚡

Hardware 🤖

Housekeeping 🧹

  • Safety: Refactor cellvoltage safeties by @dalathegreat in #508
  • Feature: Support for External Button and Web-Based Equipment Stop Functionality by @amarofarinha in #506
  • Improvement: Clarify usage of webserver authentication setting to prevent compilation errors by @amarofarinha in #509
  • Improvement: Confirmation alert for "Pause Charge/Discharge" added by @amarofarinha in #511

Full Changelog: v7.4.0...v7.4.1

v7.4.0

01 Oct 07:57
af9886a
Compare
Choose a tag to compare

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 #481
  • eGMP: Contactor closing for eGMP now working, by @dalathegreat in #465
  • iMIEV: Make cellvoltages min/max work on webserver by @dalathegreat in #503
  • iMIEV: Fixed an issue causing all 88 cells not appearing on cellmonitor by @dalathegreat in #504
  • Pylon Battery: Add voltage limits, remove faulty safety by @dalathegreat in #489

Housekeeping 🧹

Full Changelog: v7.3.0...v7.4.0