Releases: dalathegreat/Battery-Emulator
v10.0.RC2
What's Changed 📦
This release focuses on longterm stability, by improving the ESP32 library base used, partitioning schemes, flash frequencies and flash size.
Taking this release into use ⚙️
Caution
USB reflash required to take v10.0.0 into use!
Note that v10.X.X is a major new release of the Battery-Emulator software. The first time when taking 10.X.X into use, you are required to perform an initial USB setup via this webpage! This is because we are changing the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After 10.X.X has been initially installed via USB, following 10.X.X releases can be updated over the air normally.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
What's Changed
- Fix offset for bootloader for Stark CMR image by @dalathegreat in #1989
Full Changelog: v10.0.RC1...v10.0.RC2
v10.0.RC1
What's Changed 📦
This release focuses on longterm stability, by improving the ESP32 library base used, partitioning schemes, flash frequencies and flash size.
Taking this release into use ⚙️
Caution
USB reflash required to take v10.0.0 into use!
Note that v10.X.X is a major new release of the Battery-Emulator software. The first time when taking 10.X.X into use, you are required to perform an initial USB setup via this webpage! This is because we are changing the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After 10.X.X has been initially installed via USB, following 10.X.X releases can be updated over the air normally.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Batteries 🔋
- New battery: Support for older 2012-2020 Tesla S/X batteries by @dalathegreat in #1946
- Bugfix: Think startup voltage initialization by @dalathegreat in #1960
Connectivity 🛜
- MQTT: Replace watchdog timer with 60s check to improve system stability by @jonny5532 in #1893
Hardware 🤖
- Feature: Update Stark CMR to 8MB flash by @dalathegreat in #1986
Housekeeping 🧹
- Library: Update ESP32 from v3.3.0 -> v3.3.6 by @dalathegreat in #1986
- Improvement: Reduce flash usage further by @dalathegreat in #1979
Full Changelog: v9.3.5...v10.0.RC1
v9.3.5
What's Changed 📦
This release adds support for new batteries and inverters. It also adds a new recovery mode for deeply discharged batteries.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- New battery: Kia Ceed PHEV by @dalathegreat in #1957
- Feature: Recovery charge for undercharged batteries by @dalathegreat in #1948
- MG HS PHEV: Add UDS based BMS reset. An external contactor is no longer required for reliable operation. By @jonny5532 in #1903
- Volkswagen MEB: Fix glitched negative reading of celltemps by @dalathegreat in #1952
- Kia Hybrid: Improvement; Add autodetect between HEV and PHEV by @dalathegreat in #1950
Inverters ⚡
- New Inverter ⚡ : Add support for Growatt WIT 50/100kW inverters by @dalathegreat in #1965
- Add runtime battery model configuration for Sungrow SBRXXX inverter by @aferrara in #1951
Hardware 🤖
- Added support for BECom Hardware, by @rjsc in #1712
- Fixed SD Init bug when SD card is missing or is corrupted by @madymax in #1943
Housekeeping 🧹
- Bugfix: CANFD; Begin correct interface by @dalathegreat in #1964
- Update comment on datalayer by @Almendronman in #1963
New Contributors
- @Almendronman made their first contribution in #1963
Full Changelog: v9.3.4...v9.3.5
v9.3.4
What's Changed 📦
This is a small bugfix release, which aims to fix a very annoying bug introduced in last 9.3.3 version, which is that it was not possible to check/uncheck any settings in the webserver. This is a highly recommended update, especially if you already installed 9.3.3
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- Tesla S3XY: Add low 12V warning event + refactor 3A1 by @dalathegreat in #1885
- Nissan LEAF: Improve plausible SOC check by @dalathegreat in #1908
- Feature: Add support for triple ReLion batteries 🔋 🔋 🔋 by @dalathegreat in #1934
Inverters ⚡
- Foxess: Add sending of cellvoltages to protocol by @dalathegreat in #1916
Housekeeping 🧹
- Critical 🐛 : Bugfix to allow checkboxes to be unticked by @jonny5532 in #1938
- Optimization: Further minify ESPAsyncWebserver library by @dalathegreat in #1926
Full Changelog: v9.3.3...v9.3.4
v9.3.3
What's Changed 📦
This release adds support for MG5 batteries, and also adds an experimental VCU mode. The release also contains several bugfixes and general improvements.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- Add support for MG5 battery by @j0rgst in #1849
- BYD Dolphin: Fix incorrect voltage reading by @dalathegreat in #1866
- BYD Atto3: Add reading of SOH% by @dalathegreat in #1895
- BMW iX: Add cell detection for 90s, 94s, 100s, 102s battery configurations by @lenvm in #1883
- Ford MachE: Handle signed current value properly by @dalathegreat in #1901
- Kia64: Add contactor opening in fault modes by @dalathegreat in #1914
- Pylon Battery: Bugfix, Init cellvoltage readings to sane values for LFP by @dalathegreat in #1927
Vehicle 🚗
- Feature: Experimental VCU support 🚗 by @dalathegreat in #1917
Inverters ⚡
- FoxESS - fix Battery not showing in App / Web Portal by @rjsc in #1867
- SMA: Improve pairing for BYD-H and BYD-HVS by @lenvm in #1906
- SMA: Rename SMA protocols and remove obsolete entry by @lenvm in #1912
Hardware 🤖
- T-CAN485: Configurable BMS Power pin option by @dalathegreat in #1902
- T-CAN485: Add configurable SMA inverter enable pin by @dalathegreat in #1909
- Feature: Add HIA4V1 PWM max freq as configurable option by @dalathegreat in #1894
Housekeeping 🧹
- Fix missing includes by @madymax in #1873
- Optimization: Fix huge stack allocation in RTUutils::calcCRC by @dalathegreat in #1887
- Improvement: Unify CRC storage for reduced flash usage by @dalathegreat in #1910
- Pause MQTT publishing during OTA updates to prevent failures by @mccasian in #1881
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #1922
- Settings-saving refactor (-1596 bytes) by @jonny5532 in #1921
- GitHub Actions: merge compile workflows and add ESP32 DevKit V1 by @lenvm in #1913
- Optimization: Feature gate MG5 for large flash devices until MG4 is merged by @dalathegreat in #1924
New Contributors
Full Changelog: v9.3.2...v9.3.3
v9.3.2
What's Changed 📦
This is a small bugfix release, that contains several bugfixes and improvements.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- BMW iX-4-7: Fix negative temperature readings no longer reported as +600*C 🥶 by @dalathegreat in #1841
- Double/Triple battery:
- Sanity SOC checks now only used if battery is used by @dalathegreat in #1843
- Now report correct sum of all battery currents towards inverter by @dalathegreat in #1810
- MG HS: Automatically set battery capacity to 16600Wh by @AndrewRose in #1852
- Added support for double Relion batteries by @dalathegreat in #1827
Inverters ⚡
- Software shunt: Fix current decoding on BYD CAN, useful for Chademo integration by @dalathegreat in #1855
Hardware 🤖
- Updated display layout to make it more usable, for i2c SSD1306 128x64 displays by @pmajor021 in #1836
Connectivity 🛜
Housekeeping 🧹
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #1835
- Bump actions/cache from 4 to 5 by @dependabot[bot] in #1834
- Improvement: Hide shunt interface if set to None by @dalathegreat in #1860
- Improvement: Hide access point password field entry by @dalathegreat in #1859
New Contributors 🦸
- @AndrewRose made their first contribution in #1852
Full Changelog: v9.3.1...v9.3.2
v9.3.1
What's Changed 📦
This is a small bugfix release, that contains several bugfixes and improvements.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- New battery 🔋 : Add initial support for Think City 🔋 by @dalathegreat in #1768
- Renault Zoe2: Fixed an issue where capacity would be locked to 0Wh all the time, by @dalathegreat in #1816
Inverters ⚡
Housekeeping 🧹
- Remove CSS rules that broke the webpage handling (Cellmonitor page mostly), by @jonny5532 in #1817
- Bugfix: Fixed a bug where it was impossible to save shunt selection by @dalathegreat in #1831
Full Changelog: v9.3.0...v9.3.1
v9.3.0
What's Changed 📦
This version adds support for operating 3 batteries at once . It also introduces the necessary support for running 3-CAN channels at once, initially supported on the LilyGo T-2CAN hardware. The release also contains several other bugfixes and improvements.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- Feature: Triple Battery Support 🔋 🔋 🔋 by @dalathegreat in #1748
- Stellantis eCMP: Use High Precision Current Value when avilable by @rjsc in #1793
- Dacia Spring: Switch to constantly sent voltage value + add celltap event for blown fuses by @dalathegreat in #1789
- Dacia Spring / KZE: Fixed an issue where cellvoltages would show approx 100mV wrong under cellmonitor page by @dalathegreat in #1801
- Renault Zoe Gen2: Add total pack capacity calculation by @dalathegreat in #1811
- Renault Zoe Gen2: Fixed an issue where cellvoltages would show approx 100mV wrong under cellmonitor page by @dalathegreat in #1792
Inverters ⚡
- Fronius: Safety
⚠️ Force SOC% to never go below 1% to avoid overdischarge/disabled battery by @dalathegreat in #1805 - Solax: Raised total pack voltage slightly on 60kWh Atto3 to make Solax inverters work properly work by @dalathegreat in #1808
Housekeeping 🧹
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #1788
- Fixed an issue where storing settings with % value in it would cause webpage to break by @jonny5532 in #1804
- Fix T-2CAN crashing when MCP2515+MCP2518 were in use by @jonny5532 in #1798
Full Changelog: v9.2.4...v9.3.0
v9.2.4
What's Changed 📦
This version adds support for screens on the T-2CAN board . You can now add a 128x64pixel 2.42" screen, that displays SOC, events, voltages and all the normal statistics you would see on the Webserver. This enables a more secure offline experience. The release also contains several other bugfixes and improvements.
2.42" screen in action!
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- Feature: Add base for Maxus EV80 battery 🔋 by @dalathegreat in #1730
- BMW-iX: Improve contactor control and add cold temperature charge limiter by @wjcloudy in #1759
- Volvo SPA: Use SOC sent by battery by @NiclasHedis in #1736
- Renault Zoe Gen1: Fix double-battery shared variable bug that caused battery2 to not send CAN messages by @dalathegreat in #1767
- RJXZS: Fixed a bug where cell count would not populate correctly by @mccasian in #1778
- BMW i3: Added "Clear DTC" button to more battery info page by @dalathegreat in #1749
- Stellantis CMP: Fixed an issue where power would always be positive by @dalathegreat in #1755
Inverters ⚡
Hardware 🤖
- T-2CAN: Add support for 128x64 displays by @jonny5532 in #1739
- Chademo: Add Chademo pins to T-2CAN HAL file by @dalathegreat in #1785
- Feature: Added support for NC contactors, with configurable NC contactor option in webserver by @dalathegreat in #1608
Housekeeping 🤖
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #1765
- Improvement: Reduce flash usage for Modbus library by @dalathegreat in #1717
New Contributors 🦸
- @NiclasHedis made their first contribution in #1736
- @mccasian made their first contribution in #1778
Full Changelog: v9.2.3...v9.2.4
v9.2.3
What's Changed 📦
This bugfix focuses on safety. To avoid contactor arcing/welding, we now requiring more tight control of voltages on double-battery installs, and waiting for current to drop down to 0 when opening contactors during periodic BMS resets. There are also some other fixes included.
Taking this release into use ⚙️
Note that v9.X.X is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached .bin file at the bottom of this page, and flash it to your board (Either via USB first time setup or Over-The-Air(OTA) update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries 🔋
- SIMPBMS: Fix conversion of mA to dA by @dalathegreat in #1743
- Renault Zoe: Add balancing polling to Zoe Gen1 by @pmihairo in #1707
- Stellantis CMP Smart Car: Add Wakeup(WUP) signal to CMP integration (+ isolation fix) by @dalathegreat in #1724
- Stellantis CMP Smart Car: Filter out invalid startup values to avoid events by @dalathegreat in #1737
- Kia64FD: Improvement, make Kia64FD use user configured charge/discharge values by @dalathegreat in #1723
- Volvo SPA: Bugfix, handle temperatures below 0*C properly without shutting off battery by @jonny5532 in #1745
- RJXZS: Add balancing indicator to cellmonitor page by @dalathegreat in #1742
- Relion LV: General bugfixes by @dalathegreat in #1669
- MEB: Allow the precharge to go from COMPLETED->IDLE if the BMS goes standby (Avoids oscillation) by @jonny5532 in #1715
- Safety: Make BMS-reset delay between pause and contactor-open if needed by @jonny5532 in #1719
- Safety: Tighten DC-bus requirement to 1.5V on Double-Battery installs by @dalathegreat in #1709
Connectivity 🛜
- Add overall balancing status for MQTT/HA (+support it on IX battery type) by @wjcloudy in #1744
- Fix BMSRESET MQTT action by @jonny5532 in #1714
Housekeeping 🧹
- Reduce redundancy in Bolt/Zoe2 cellvoltage handling by @jonny5532 in #1704
- Improvement: Add flag for small flash size feature omitting by @dalathegreat in #1718
- Fix unit test failing by @dalathegreat in #1728
- Improvement: Reduce flash usage by integrations by @dalathegreat in #1716
New Contributors 🦸
Full Changelog: v9.2.2...v9.2.3