Releases: dalathegreat/Battery-Emulator
v10.7.0
What's Changed 📦
This release is a stability update, checkout the notes for more information on what changes are included
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- Legacy Tesla: Add BMS reset to More Battery Info page, to allow recovery of faulted BMS by @dalathegreat in #2259
- Tesla S/3/X/Y: Change how low 12V is triggered by @roy13 in #2263
- Tesla S/3/X/Y: Add automatic capacity writing based on vehicle selection by @dalathegreat in #2218
- Feature: Make rampdown start-% configurable for all integrations using estimated charge/discharge by @dalathegreat in #2159
- Geely SEA: Add estimated charge/discharge setting until CAN values can be found by @dalathegreat in #2159
Inverter ⚡
- Fronius: Increase comm timeout from 3min to 5min by @dalathegreat in #2276
- SMA: Increase CAN timeout on SMA integrations to avoid contactor opening by @dalathegreat in #2275
- Pylon RS485: Make integration always send current set charge/discharge limits by @dalathegreat in #2267
Hardware 🤖
- Screen add-on: Fix missing SOC% for double/triple battery setups by @dalathegreat in #2256
Housekeeping 🧹
- Library 📚 Update ArduinoJson to v7.4.3 by @dalathegreat in #2258
- Improvement: Add Events page link for totally faulted systems by @dalathegreat in #2269
- Bugfix: Stop Preferences reporting bogus errors via serial on boot by @jonny5532 in #2281
Full Changelog: v10.6.0...v10.7.0
v10.6.0
What's Changed 📦
This release is a stability update, that contains mostly fixes but also important SAFETY
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- Kia/Hyundai 40-64kWh: SAFETY:
⚠️ Make allowed charge power limit safer on top end by scaling it correctly by @dalathegreat in #2208 - Zoe Gen1: Fixed a bug where cellvoltage reading would be incorrect during startup by @dalathegreat in #2015
- SimpBMS: Correct scaling of battery current value by @dalathegreat in #2227
- Tesla: NMC packs, allow discharging to lower voltage levels by @dalathegreat in #2246
- Rivian: Add estimated SOC for locked packs by @dalathegreat in #2207
- Feature: Make Stellantis ECMP double-battery compatible by @dalathegreat in #2242
Connectivity 🛜
- Update MQTT implementation to stop using deprecated option "object_id". This fixes so that Home assistant no longer throws a warning when using MQTT towards Battery-Emulator by @roy13 in #2174
Inverters ⚡
- SMA: Add SBS compatible SMA protocol by @dalathegreat in #2206
- DALY: Allow modifying DALY charge/discharge limit parameters by @M4GNV5 in #2186
Housekeeping 🧹
- SAFETY:
⚠️ Make charge-discharge stop when user set voltage limits are reached by @dalathegreat in #2137 - SAFETY:
⚠️ Treat missing inverter as FAULT which leads to contactor opening by @dalathegreat in #2248 - Bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #2224
New Contributors 🦸
Full Changelog: v10.5.0...v10.6.0
v10.5.0
What's Changed 📦
This release adds support for Ennoid BMS, and also contains a bunch of improvements for various integrations. Read the full release notes to see if any changes are applicable for your hardware.
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- New Battery 🔋 Add support for Ennoid BMS by @dalathegreat in #2046
- Tesla S/3/X/Y: Improve reading of temperatures from PCS by @josiahhiggs in #2105
- BMW i3: Adjust max voltage for 120AH pack by @odlg in #2162
- BYD: Add more temperature sensors, and filter out unused ones by @dalathegreat in #2166
- Dacia/Spring K-ZE: Add offset to min/max cellvoltage readings by @dalathegreat in #2178
- Renault Zoe2: Improve visibility on temporisation by @dalathegreat in #2176
- Kia EGMP: Add DTC reset button to More Battery info page by @dalathegreat in #2200
- Double/Triple battery: Fix voltage drift timeout never triggering for battery2/battery3 by @vitalii-ch in #2184
- Feature: Double BOLT-AMPERA battery support 🔋🔋 by @vitalii-ch in #2181
Inverter ⚡
- Fronius: Use actual battery voltage for calculating charge/discharge limits by @dalathegreat in #2177
Housekeeping 🧹
- Crashfix: prevent LoadProhibited core panic on /advanced page with multipl… by @DevNar in #2189
- Crashfix: Don't start if we fail MQTT initialization by @dalathegreat in #2196
- Automatically refresh Event page by @drc38 in #2170
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2204
New Contributors
Full Changelog: v10.4.0...v10.5.0
v10.4.0
What's Changed 📦
This version adds support for multiple new BYD batteries (Seal, Seagull, Dolphin +more). It notably also fixes a bug where Solax would show an IE102 error after updating the Solax firmware. There are also tons of other new features and bugfixes.
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- BYD: Refactor BYD handling to be pack agnostic. Add support for BYD Dolphin, Seal, Sealgull etc. by @dalathegreat in #2134
Inverters ⚡
- New inverter: Add Pylon RS485 support by @dalathegreat in #2090
- Solax: Fixed an issue where Solax would show "Bat Mismatch IE102" after updating Solax firmware, by @jonny5532 in #2151
- Pylon: Make manufacturer information configurable for Pylon HV protocol by @dalathegreat in #2150
Housekeeping 🧹
- Feature: Add color to Event page background to make it easier to troubleshoot critical events by @dalathegreat in #2142
- Bugfix: Fixed a bug where it was not possible to set IP range to contain 0 by @dalathegreat in #2152
Hardware 🤖
- Lilygo T2CAN: Support for external WS2812 programmable LED with GRB color order by @mkunsch in #2149
Full Changelog: v10.3.0...v10.4.0
v10.3.0
What's Changed 📦
This version brings many improvements, most notably it adds initial support for Thunderstruck BMS, adds SOC% calibration for BYD batteries, and makes LEAF PDM chargers finally work as they should. Checkout the full release notes below!
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- New battery: Thunderstruck BMS 🔋 by @dalathegreat in #1845
- BYD Atto 3: Elevated diagnostic session + SOC/Capacity calibration feature added, by @dalathegreat in #2101
- BYD Atto 3: Fix charge taper being incorrectly applied during low SOC by @demon1300 in #2133
- Renault Kangoo: Add SOC estimation, and refactor polling by @dalathegreat in #2104
- BMW i3: Change offline balancing button to new style by @mbuhansen in #2103
- Bugfix: Double/Triple battery capacity calculations improved, by @dalathegreat in #2125
- Chademo: Fix unit conversion and add page refresh by @drc38 in #2131
Inverter ⚡
- Solax: Fix remaining capacity being larger than 65kWh not working by @dalathegreat in #2108
- Fronius: Add configurable checkbox for Primo Gen24, to cap voltage and avoid warnings, by @dalathegreat in #2121
- Pylon-derivatives: Fix typo in capacity AH reading by @dalathegreat in #2126
- Pylon HV: Make CAN baud rate configurable and UI not always stuck at 500 by @dalathegreat in #2127
Hardware 🤖
- LEAF PDM Charger: Add missing CAN message sending, blocking charging operation, by @dalathegreat in #2079
- LEAF PDM Charger: Make settings more adjustable (fix issue with max 6A charging) by @dalathegreat in #2128
- Chademo CT Clamp: Auto CT offset and invert CT value by @drc38 in #2115
Connectivity 🛜
- Refactor battery status update for multiple batteries in ESPNow configuration by @mbuhansen in #2078
Full Changelog: v10.2.0...v10.3.0
v10.2.0
What's Changed 📦
This release focuses on bugfixes all around. It also adds support for cellbalancing on BMW i3, Adds CT clamp support for Chademo, and adds support for ESPNow for visualizing battery info on another microcontroller. This means MQTT is no longer the only way to visualize data externally! Massive thanks to @madymax for adding this, along with the flash savings 🙌
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery 🔋
- Volvo SPA: Bugfix, invert current direction (Regression introduced in v10.1.0) by @dalathegreat in #2057
- BMW i3: Add cellbalancing support by @odlg in #2056
- Stellantis ECMP: Add DTC clear button by @dalathegreat in #2070
- Pylon Battery: Ask battery for cellvoltages by @dalathegreat in #1891
- Renault Kangoo: Correct PID polling by @dalathegreat in #2064
- Feature: BYD Atto3 calibrate SOC preparation + Unknown PID poll decoding by @dalathegreat in #2093
Inverter ⚡
- Afore: Fixed an issue causing slow charging when using Afore protocol by @dalathegreat in #2094
- Solax: Make battery type configurable again (Regression introduced in v10) by @dalathegreat in #2059
- Improvement: Rename Deye specific fix in webserver to make it more obvious it should be used on Deye by @dalathegreat in #2076
- BYD CAN: Filter out invalid chars for inverter name by @dalathegreat in #2086
Hardware 🤖
- Precharge: Testmode! Add autostart of precharge when running without battery by @dalathegreat in #2061
- Add display feature on Lilygo T-CAN485 by @madymax in #2063
- Add simple CT clamp option for Chademo by @drc38 in #2081
Connectivity 🛜
- Add ESPNow support to broadcast battery data by @madymax in #2051
- MQTT: Payload improvements, Uptime added, and CPU temp no longer sent for each battery when running in double/triple mode, by @mkunsch in #2087
- MQTT: Remove decimals from CPU temperature to save space by @dalathegreat in #2092
Housekeeping 🧹
- Optimize lower flash size size with better compiler flags by @madymax in #2053
- Compile the display on all boards by @madymax in #2062
- Improvement: Make core loop run faster by @dalathegreat in #2073
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #2088
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2091
New Contributors
Full Changelog: v10.1.0...v10.2.0
v10.1.0
What's Changed 📦
This release adds support for Volvo EX30 batteries (Geely SEA platform), and lots of bugfixes for various battery integrations.
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Batteries 🔋
- New Battery 🔋 Add support for Geely SEA platform (Volvo EX30, Zeekr, etc) by @dalathegreat in #1889
- Feature: Add support for double-battery Stellantis CMP Smart Car, by @dalathegreat in #2050
- Rivian: Add more battery info page for Rivian (+ crash detection) by @dalathegreat in #2014
- Ford MachE: Refactor capacity autodetect function, support for 108S Ford batteries, by @dalathegreat in #1904
- Volvo SPA platform: Improve accuracy of values read + general improvements by @dalathegreat in #2029
- BYD Atto 3: Feature; Add gradual charge taper by @demon1300 in #1967
- BYD Atto 3: Fix initialization of double battery setups by @dalathegreat in #2045
- Renault Zoe2: Calibrate 12V reading by @dalathegreat in #2039
- BMW iX: Add more DTC descriptions by @lenvm in #2042
- All batteries: Ensure the user set battery chemistry is used by @jonny5532 in #2047
Housekeeping 🧹
- Library 📚 Update ESP32 to v3.3.7 by @dalathegreat in #2033
- Improvement: Flash usage reduction by @dalathegreat in #2035
- Improvement: More flash savings by @dalathegreat in #2038
- Improvement: Optimize BMW iX integration for lower flash usage by @dalathegreat in #2040
New Contributors
- @demon1300 made their first contribution in #1967
Full Changelog: v10.0.0...v10.1.0
v10.0.0
What's Changed 📦
This release focuses on longterm stability, by improving the ESP32 library base, partitioning schemes, flash frequencies and flash size. It turbocharges the Stark CMR hardware, unlocking the full potential of the board as a large 8MB memory device.
Taking this release into use ⚙️
Caution
USB reflash required to take v10 into use!
Note that v10 is a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time 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 any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for any inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
What's Changed
Batteries 🔋
- New battery: Added support for 2012-2020 Tesla S/X batteries, Legacy Tesla integration , by @dalathegreat in #1946
- New battery, Added "Growatt HV Ark" support, by @ErikssonPer in #2018
- New battery: Added "Emus G1 BMS" support via the PylonHV integration by @ErikssonPer in #1998
- Think City: Several startup reliabaility improvements by @dalathegreat in #2004
- Stellantis ECMP: Tighten low-voltage chargestop limits to avoid undercharged batteries by @dalathegreat in #2007
- BMW iX: Added additional DTC descriptions by @lenvm in #2009
- Bugfix: Pylon Battery, make double-battery support work by @dalathegreat in #2000
Inverters ⚡
- Pylon LV: Prevent voltage bouncing due to repeatedly charge/discharge by @M4GNV5 in #1988
- Fronius: Changed how voltages/capacity is written towards inverter, to avoid false positive warnings when using BYD Atto3 batteries or simialar ones, by @pmajor021 in #1966
Connectivity 🛜
- MQTT: Replace watchdog timer with 60s check to reduce chances of getting watchdog resets @jonny5532 in #1893
- MQTT: Improved cell voltage discovery by @No-Signal in #2020
Hardware 🤖
- Stark CMR: Turbocharge the Stark CMR to become a large flash (8MB) device by @dalathegreat in #1986
Housekeeping 🧹
- Feature: Update ESP32 to v3.3.5 by @dalathegreat in #1986
- Improvement: Inform user of low memory situation by @dalathegreat in #1997
- Housekeeping: Bring back -Werror compile flag by @dalathegreat in #2028
- Improvement: Reduce flash usage further by @dalathegreat in #1979
Full Changelog: v9.3.5...v10.0.0
v10.0.RC4
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
Inverters ⚡
Housekeeping 🧹
- Improvement: Inform user of low memory situation + ESP downgrade by @dalathegreat in #1997
Full Changelog: v10.0.RC3...v10.0.RC4
v10.0.RC3
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
- Bugfix: Bootloop after flashing factory bin by @dalathegreat in #1991
Full Changelog: v10.0.RC2...v10.0.RC3