Recent Releases of Battery-Emulator
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/2134
Inverters โก
- New inverter: Add Pylon RS485 support by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2090
- Solax: Fixed an issue where Solax would show "Bat Mismatch IE102" after updating Solax firmware, by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2151
- Pylon: Make manufacturer information configurable for Pylon HV protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2150
Housekeeping ๐งน
- Feature: Add color to Event page background to make it easier to troubleshoot critical events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2142
- Bugfix: Fixed a bug where it was not possible to set IP range to contain 0 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2152
Hardware ๐ค
- Lilygo T2CAN: Support for external WS2812 programmable LED with GRB color order by @mkunsch in https://github.com/dalathegreat/Battery-Emulator/pull/2149
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.3.0...v10.4.0
Energy Storage - Battery
- C++
Published by dalathegreat 2 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1845
- BYD Atto 3: Elevated diagnostic session + SOC/Capacity calibration feature added, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2101
- BYD Atto 3: Fix charge taper being incorrectly applied during low SOC by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2133
- Renault Kangoo: Add SOC estimation, and refactor polling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2104
- BMW i3: Change offline balancing button to new style by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2103
- Bugfix: Double/Triple battery capacity calculations improved, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2125
- Chademo: Fix unit conversion and add page refresh by @drc38 in https://github.com/dalathegreat/Battery-Emulator/pull/2131
Inverter โก
- Solax: Fix remaining capacity being larger than 65kWh not working by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2108
- Fronius: Add configurable checkbox for Primo Gen24, to cap voltage and avoid warnings, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2121
- Pylon-derivatives: Fix typo in capacity AH reading by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2126
- Pylon HV: Make CAN baud rate configurable and UI not always stuck at 500 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2127
Hardware ๐ค
- LEAF PDM Charger: Add missing CAN message sending, blocking charging operation, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2079
- LEAF PDM Charger: Make settings more adjustable (fix issue with max 6A charging) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2128
- Chademo CT Clamp: Auto CT offset and invert CT value by @drc38 in https://github.com/dalathegreat/Battery-Emulator/pull/2115
Connectivity ๐
- Refactor battery status update for multiple batteries in ESPNow configuration by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2078
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.2.0...v10.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/2057
- BMW i3: Add cellbalancing support by @odlg in https://github.com/dalathegreat/Battery-Emulator/pull/2056
- Stellantis ECMP: Add DTC clear button by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2070
- Pylon Battery: Ask battery for cellvoltages by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1891
- Renault Kangoo: Correct PID polling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2064
- Feature: BYD Atto3 calibrate SOC preparation + Unknown PID poll decoding by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2093
Inverter โก
- Afore: Fixed an issue causing slow charging when using Afore protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2094
- Solax: Make battery type configurable again (Regression introduced in v10) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2059
- Improvement: Rename Deye specific fix in webserver to make it more obvious it should be used on Deye by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2076
- BYD CAN: Filter out invalid chars for inverter name by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2086
Hardware ๐ค
- Precharge: Testmode! Add autostart of precharge when running without battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2061
- Add display feature on Lilygo T-CAN485 by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/2063
- Add simple CT clamp option for Chademo by @drc38 in https://github.com/dalathegreat/Battery-Emulator/pull/2081
Connectivity ๐
- Add ESPNow support to broadcast battery data by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/2051
- MQTT: Payload improvements, Uptime added, and CPU temp no longer sent for each battery when running in double/triple mode, by @mkunsch in https://github.com/dalathegreat/Battery-Emulator/pull/2087
- MQTT: Remove decimals from CPU temperature to save space by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2092
Housekeeping ๐งน
- Optimize lower flash size size with better compiler flags by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/2053
- Compile the display on all boards by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/2062
- Improvement: Make core loop run faster by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2073
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2088
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2091
New Contributors
- @mkunsch made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2087
- @drc38 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2081
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.1.0...v10.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1889
- Feature: Add support for double-battery Stellantis CMP Smart Car, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2050
- Rivian: Add more battery info page for Rivian (+ crash detection) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2014
- Ford MachE: Refactor capacity autodetect function, support for 108S Ford batteries, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1904
- Volvo SPA platform: Improve accuracy of values read + general improvements by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2029
- BYD Atto 3: Feature; Add gradual charge taper by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/1967
- BYD Atto 3: Fix initialization of double battery setups by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2045
- Renault Zoe2: Calibrate 12V reading by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2039
- BMW iX: Add more DTC descriptions by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/2042
- All batteries: Ensure the user set battery chemistry is used by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2047
Housekeeping ๐งน
- Library ๐ Update ESP32 to v3.3.7 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2033
- Improvement: Flash usage reduction by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2035
- Improvement: More flash savings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2038
- Improvement: Optimize BMW iX integration for lower flash usage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2040
New Contributors
- @demon1300 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1967
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.0.0...v10.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1946
- New battery, Added "Growatt HV Ark" support, by @ErikssonPer in https://github.com/dalathegreat/Battery-Emulator/pull/2018
- New battery: Added "Emus G1 BMS" support via the PylonHV integration by @ErikssonPer in https://github.com/dalathegreat/Battery-Emulator/pull/1998
- Think City: Several startup reliabaility improvements by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2004
- Stellantis ECMP: Tighten low-voltage chargestop limits to avoid undercharged batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2007
- BMW iX: Added additional DTC descriptions by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/2009
- Bugfix: Pylon Battery, make double-battery support work by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2000
Inverters โก
- Pylon LV: Prevent voltage bouncing due to repeatedly charge/discharge by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/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 https://github.com/dalathegreat/Battery-Emulator/pull/1966
Connectivity ๐
- MQTT: Replace watchdog timer with 60s check to reduce chances of getting watchdog resets @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1893
- MQTT: Improved cell voltage discovery by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/2020
Hardware ๐ค
- Stark CMR: Turbocharge the Stark CMR to become a large flash (8MB) device by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1986
Housekeeping ๐งน
- Feature: Update ESP32 to v3.3.5 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1986
- Improvement: Inform user of low memory situation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1997
- Housekeeping: Bring back -Werror compile flag by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2028
- Improvement: Reduce flash usage further by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1979
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.5...v10.0.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - 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 โก
- Pylon LV: Prevent voltage bouncing due to repeatedly charge/discharge by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/1988
Housekeeping ๐งน
- Improvement: Inform user of low memory situation + ESP downgrade by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1997
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.0.RC3...v10.0.RC4
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1991
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.0.RC2...v10.0.RC3
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
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 https://github.com/dalathegreat/Battery-Emulator/pull/1989
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.0.RC1...v10.0.RC2
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1946
- Bugfix: Think startup voltage initialization by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1960
Connectivity ๐
- MQTT: Replace watchdog timer with 60s check to improve system stability by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1893
Hardware ๐ค
- Feature: Update Stark CMR to 8MB flash by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1986
Housekeeping ๐งน
- Library: Update ESP32 from v3.3.0 -> v3.3.6 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1986
- Improvement: Reduce flash usage further by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1979
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.5...v10.0.RC1
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1957
- Feature: Recovery charge for undercharged batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1948
- MG HS PHEV: Add UDS based BMS reset. An external contactor is no longer required for reliable operation. By @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1903
- Volkswagen MEB: Fix glitched negative reading of celltemps by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1952
- Kia Hybrid: Improvement; Add autodetect between HEV and PHEV by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1950
Inverters โก
- New Inverter โก : Add support for Growatt WIT 50/100kW inverters by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1965
- Add runtime battery model configuration for Sungrow SBRXXX inverter by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/1951
Hardware ๐ค
- Added support for BECom Hardware, by @rjsc in https://github.com/dalathegreat/Battery-Emulator/pull/1712
- Fixed SD Init bug when SD card is missing or is corrupted by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/1943
Housekeeping ๐งน
- Bugfix: CANFD; Begin correct interface by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1964
- Update comment on datalayer by @Almendronman in https://github.com/dalathegreat/Battery-Emulator/pull/1963
New Contributors
- @Almendronman made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1963
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.4...v9.3.5
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1885
- Nissan LEAF: Improve plausible SOC check by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1908
- Feature: Add support for triple ReLion batteries ๐ ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1934
Inverters โก
- Foxess: Add sending of cellvoltages to protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1916
Housekeeping ๐งน
- Critical ๐ : Bugfix to allow checkboxes to be unticked by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1938
- Optimization: Further minify ESPAsyncWebserver library by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1926
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.3...v9.3.4
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1849
- BYD Dolphin: Fix incorrect voltage reading by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1866
- BYD Atto3: Add reading of SOH% by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1895
- BMW iX: Add cell detection for 90s, 94s, 100s, 102s battery configurations by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1883
- Ford MachE: Handle signed current value properly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1901
- Kia64: Add contactor opening in fault modes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1914
- Pylon Battery: Bugfix, Init cellvoltage readings to sane values for LFP by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1927
Vehicle ๐
- Feature: Experimental VCU support ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1917
Inverters โก
- FoxESS - fix Battery not showing in App / Web Portal by @rjsc in https://github.com/dalathegreat/Battery-Emulator/pull/1867
- SMA: Improve pairing for BYD-H and BYD-HVS by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1906
- SMA: Rename SMA protocols and remove obsolete entry by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1912
Hardware ๐ค
- T-CAN485: Configurable BMS Power pin option by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1902
- T-CAN485: Add configurable SMA inverter enable pin by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1909
- Feature: Add HIA4V1 PWM max freq as configurable option by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1894
Housekeeping ๐งน
- Fix missing includes by @madymax in https://github.com/dalathegreat/Battery-Emulator/pull/1873
- Optimization: Fix huge stack allocation in RTUutils::calcCRC by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1887
- Improvement: Unify CRC storage for reduced flash usage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1910
- Pause MQTT publishing during OTA updates to prevent failures by @mccasian in https://github.com/dalathegreat/Battery-Emulator/pull/1881
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1922
- Settings-saving refactor (-1596 bytes) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1921
- GitHub Actions: merge compile workflows and add ESP32 DevKit V1 by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1913
- Optimization: Feature gate MG5 for large flash devices until MG4 is merged by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1924
New Contributors
- @madymax made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1873
- @j0rgst made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1849
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.2...v9.3.3
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1841
- Double/Triple battery:
- Sanity SOC checks now only used if battery is used by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1843
- Now report correct sum of all battery currents towards inverter by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1810
- MG HS: Automatically set battery capacity to 16600Wh by @AndrewRose in https://github.com/dalathegreat/Battery-Emulator/pull/1852
- Added support for double Relion batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1827
Inverters โก
- Software shunt: Fix current decoding on BYD CAN, useful for Chademo integration by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1855
Hardware ๐ค
- Updated display layout to make it more usable, for i2c SSD1306 128x64 displays by @pmajor021 in https://github.com/dalathegreat/Battery-Emulator/pull/1836
Connectivity ๐
- Add configurable MQTT publish interval setting by @mccasian in https://github.com/dalathegreat/Battery-Emulator/pull/1846
Housekeeping ๐งน
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1835
- Bump actions/cache from 4 to 5 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1834
- Improvement: Hide shunt interface if set to None by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1860
- Improvement: Hide access point password field entry by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1859
New Contributors ๐ฆธ
- @AndrewRose made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1852
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.1...v9.3.2
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago
Battery-Emulator - v9.3.1
What's Changed ๐ฆ
This is a small bugfix release, that 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 https://github.com/dalathegreat/Battery-Emulator/pull/1768
- Renault Zoe2: Fixed an issue where capacity would be locked to 0Wh all the time, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1816
Inverters โก
- Sungrow CAN: Add real temperature data to protocol by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/1826
Housekeeping ๐งน
- Remove CSS rules that broke the webpage handling (Cellmonitor page mostly), by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1817
- Bugfix: Fixed a bug where it was impossible to save shunt selection by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1831
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.3.0...v9.3.1
Energy Storage - Battery
- C++
Published by dalathegreat 6 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1748
- Stellantis eCMP: Use High Precision Current Value when avilable by @rjsc in https://github.com/dalathegreat/Battery-Emulator/pull/1793
- Dacia Spring: Switch to constantly sent voltage value + add celltap event for blown fuses by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1789
- Dacia Spring / KZE: Fixed an issue where cellvoltages would show approx 100mV wrong under cellmonitor page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1801
- Renault Zoe Gen2: Add total pack capacity calculation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1811
- Renault Zoe Gen2: Fixed an issue where cellvoltages would show approx 100mV wrong under cellmonitor page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1792
Inverters โก
- Fronius: Safety โ ๏ธ Force SOC% to never go below 1% to avoid overdischarge/disabled battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1805
- Solax: Raised total pack voltage slightly on 60kWh Atto3 to make Solax inverters work properly work by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1808
Housekeeping ๐งน
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1788
- Fixed an issue where storing settings with % value in it would cause webpage to break by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1804
- Fix T-2CAN crashing when MCP2515+MCP2518 were in use by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1798
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.2.4...v9.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 6 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1730
- BMW-iX: Improve contactor control and add cold temperature charge limiter by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1759
- Volvo SPA: Use SOC sent by battery by @NiclasHedis in https://github.com/dalathegreat/Battery-Emulator/pull/1736
- Renault Zoe Gen1: Fix double-battery shared variable bug that caused battery2 to not send CAN messages by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1767
- RJXZS: Fixed a bug where cell count would not populate correctly by @mccasian in https://github.com/dalathegreat/Battery-Emulator/pull/1778
- BMW i3: Added "Clear DTC" button to more battery info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1749
- Stellantis CMP: Fixed an issue where power would always be positive by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1755
Inverters โก
- Sungrow SBR: Implemented Modbus RTU over CAN by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/1774
Hardware ๐ค
- T-2CAN: Add support for 128x64 displays by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1739
- Chademo: Add Chademo pins to T-2CAN HAL file by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1785
- Feature: Added support for NC contactors, with configurable NC contactor option in webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1608
Housekeeping ๐ค
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1765
- Improvement: Reduce flash usage for Modbus library by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1717
New Contributors ๐ฆธ
- @NiclasHedis made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1736
- @mccasian made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1778
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.2.3...v9.2.4
Energy Storage - Battery
- C++
Published by dalathegreat 6 months ago
Battery-Emulator - 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 https://github.com/dalathegreat/Battery-Emulator/pull/1743
- Renault Zoe: Add balancing polling to Zoe Gen1 by @pmihairo in https://github.com/dalathegreat/Battery-Emulator/pull/1707
- Stellantis CMP Smart Car: Add Wakeup(WUP) signal to CMP integration (+ isolation fix) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1724
- Stellantis CMP Smart Car: Filter out invalid startup values to avoid events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1737
- Kia64FD: Improvement, make Kia64FD use user configured charge/discharge values by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1723
- Volvo SPA: Bugfix, handle temperatures below 0*C properly without shutting off battery by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1745
- RJXZS: Add balancing indicator to cellmonitor page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1742
- Relion LV: General bugfixes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1669
- MEB: Allow the precharge to go from COMPLETED->IDLE if the BMS goes standby (Avoids oscillation) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1715
- Safety: Make BMS-reset delay between pause and contactor-open if needed by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1719
- Safety: Tighten DC-bus requirement to 1.5V on Double-Battery installs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1709
Connectivity ๐
- Add overall balancing status for MQTT/HA (+support it on IX battery type) by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1744
- Fix BMSRESET MQTT action by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1714
Housekeeping ๐งน
- Reduce redundancy in Bolt/Zoe2 cellvoltage handling by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1704
- Improvement: Add flag for small flash size feature omitting by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1718
- Fix unit test failing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1728
- Improvement: Reduce flash usage by integrations by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1716
New Contributors ๐ฆธ
- @pmihairo made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1707
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.2.2...v9.2.3
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago
Battery-Emulator - v9.2.2
What's Changed ๐ฆ
This release adds support for Stellantis CMP Smart Car platform, plus some bugfixes
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: New Battery ๐ CMP Smart Car platform by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1700
- ECMP: Add reminder for preconditions when running diagnostic commands by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1672
- BMW iX Platform
- Handle Transport/energy saving mode by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1686
- Implement Balancing Support for iX Battery type by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1685
- Tesla: Bugfix, re-add support for forced charging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1703
Housekeeping ๐งน
- Fixed a bug where it was not possible to save negative values for soc scaling by @frenetic1 in https://github.com/dalathegreat/Battery-Emulator/pull/1678
- Improvement: Optimize AsyncTCPSock library for smaller flash size by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1689
- Improvement: Optimize ESP32Asyncwebserver for lower flash usage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1690
- Improvement: Rewrite LED handler to avoid floating point math by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1691
- Library ๐ Update ESPAsyncWebserver from 3.8.0 -> 3.8.1 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1702
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1683
New Contributors
- @frenetic1 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1678
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.2.1...v9.2.2
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago
Battery-Emulator - v9.2.1
What's Changed ๐ฆ
This is a minor quickfix release that fixes OTA regression with 9.2.0 that affected some users. Due to this bug it was not possible to OTA update from 9.1.4 -> 9.2.0
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 ๐
- Repair BMW iX integration message types + DTC read/clear functionality by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1677
Hardware ๐ค
- Allow using the inverter protocol as a shunt by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/1668
- Bugfix: Stark OTA failure (Dowgrade ESP32) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1681
Housekeeping ๐งน
- Fix Release Assets workflow (esptool went missing) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1671
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.2.0...v9.2.1
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago
Battery-Emulator - v9.2.0
What's Changed ๐ฆ
This release adds support for Ford Mustang Mach-E batteries, Sungrow SBRXXX support, plus tons of bugfixes. It also enforces code warnings as errors, which raises code quality significantly.
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: Ford Mustang Mach-E by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1565
- CMFA: Allow CMFA to work as double-battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1651
- Zoe2 : Add event for balancing start by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1663
- BWM iX: Fixed an issue causing iX selection to revert to i3 battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1638
- Kia64FD: Bugfix, make startup voltage value sane by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1643
- BMW PHEV: Updated implementation to support unified image by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1640
- BMW PHEV: re-add wakeup signal requirement comment by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/1648
- Safety: Implement interconnect contactor opening if voltage diffs appear on runtuime ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1635
Inverters โก
- New Inverter Protocol: Sungrow SBRXXX implementation by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/1644
- Improvement: Fronius real-time capacity display by @pmajor021 in https://github.com/dalathegreat/Battery-Emulator/pull/1645
Hardware ๐ค
- Bugfix: Make devkit build compile properly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1639
Housekeeping ๐งน
- Library: ๐ Update ESP32 version to v3.3.2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1658
- Feature: Add configurable cutoff filter for CAN logging by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1657
- Improvement: Make successful BMS reset increment event counter properly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1632
- Improvement: Handle SSID/password via main settings panel by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1615
- Remove/refactor redundant MEB-BATTERY code to reduce code size by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1527
- Annotate all floating literals with f suffix to avoid double promotion. by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1659
- Improvement: Lower flash usage even more by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1646
- Improvement: Enable Wextra compiler flag by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1647
- Improvement: Enable -Wall and -Werror compiler flag by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1653
Notable changes from compiler Werror
- BMW iX: Fixed DLC check (== instead of =), which improves intent of the if-checks
- Tesla: Make dayOfYearToDate function safer
- Volvo SPA: Rewrite cellvoltage handler to avoid warnings
- Volvo Hybrid: Refactor cellvoltage handler to avoid compilation warning
- Hardware: Fix missing switch case options for CAN interfaces
- Daly BMS: Added parenthesis around if-check to make it more clear what it is doing
- Kostal RS485: Added parenthesis around if-check to make it more clear what it checks
- Solax CAN: Refactor handling of 1871 incoming message
New Contributors
- @aferrara made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1644
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.1.4...v9.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 7 months ago
Battery-Emulator - v9.1.4
What's Changed ๐ฆ
This is a recommended stability update. 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
[!IMPORTANT]
Some Stark CRM users reported issues with OTA updating, causing settings to be restored to factory. Always be prepared to use USB update if OTA update fails!
Batteries ๐
- BMW iX: Fix incorrectly applied min/max voltages to get BMW iX1 batteries working by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1620
- Bugfix: Make BMW PHEV configurable in the Settings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1626
Inverters โก
- Ferroamp: Make capacity writing simplified and configurable via UI by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1609
- Pylon HV: Feature, add configurable option for HV Pylon send 0/1 (Needed for ZCS Azzurro inverter) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1627
- Feature: Prevent Kostal contactor opening, configurable option in UI added by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1628
- Feature: Added Deye offgrid configuration option by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1629
- Pylon HV: Make offsets and byteorder configurable in Settings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1631
Hardware ๐ค
- Precharge: Fixed an issue causingn precharge to get stuck at 110V without timing out by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1610
- T-2CAN: Swap RS485 TX/RX pins back due to reported issues. by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1630
- All HW: Rename the CAN interfaces and hide irrelevant options per-HW by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1603
Connectivity ๐
- Adding the ability to set a temporary maximum charge or discharge limit via MQTT by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1453
Housekeeping ๐งน
- Bugfix: Make it possible to save 0% as Min Percentage for Scaled SOC feature by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1607
- Improvement: Increase CAN add-on buffer size to 32 to avoid buffer full issue by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1590
- Improvement: Disable noisy WiFi status logging to keep log quieter by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1624
- Improvement: Implement HTML escaping on index/settings, relax validation a bit by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1614
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1619
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.1.3...v9.1.4
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago
Battery-Emulator - v9.1.3
What's Changed ๐ฆ
This is a mandatory stability update for Tesla users! 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
[!IMPORTANT]
Some Stark CRM users reported issues with OTA updating, causing settings to be restored to factory. Always be prepared to use USB update if OTA update fails!
Batteries ๐
- Tesla: Fixed a bug that caused contactors to go into WELDED state randomly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1593
Hardware ๐ค
- Stark CMR: Make BMS power on by default by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1592
- LilyGo T-2CAN: Updated pin assignments for easier use by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1597
Housekeeping ๐งน
- Bugfix: Allow dash as special character in usernames/passwords by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1587
- Fix three select-case-fallthrough bugs (and enable compile warning flag) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1600
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.1.2...v9.1.3
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago
Battery-Emulator - v9.1.2
What's Changed ๐ฆ
This is a recommended stability update. 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
[!IMPORTANT]
Some users reported issues with OTA updating, causing settings to be restored to factory. Always be prepared to use USB update if OTA update fails!
Batteries ๐
- Tesla: Feature: Add initial events for things that previously required extensive log reading @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/1575
Housekeeping ๐งน
- Fixed an issue where it was not possible to enter hostname/MQTT settings by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1580
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.1.1...v9.1.2
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago
Battery-Emulator - v9.1.1
What's Changed ๐ฆ
This is a recommended stability update. 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
[!IMPORTANT]
Some users reported issues with OTA updating, causing settings to be restored to factory. Always be prepared to use USB update if OTA update fails!
Batteries ๐
- Tesla: Fix GTW 0x7FF frame incorrect value written by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/1563
- Kia E-GMP: Update valid cellvoltage filter by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1567
Housekeeping ๐งน
- Performance: Reduce likelyhood of TASK_OVERRUN when using Debug settings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1568
- Improvement: Add more input field validation on Settings page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1572
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.1.0...v9.1.1
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago
Battery-Emulator - v9.1.0
What's Changed ๐ฆ
This is a recommended stability update. 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: Make contactor opening take 9s instead of 60s by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1545
- Kia eGMP: Add configurable option to use estimated SOC by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1546
- Volvo SPA: Add low 12V voltage safety, to avoid contactors bouncing on/off if 12V runs out by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1548
- Improvement: Stellantis CAN mappings improved for 50/75kWh VANs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1491
- Bugfix: Tweak pack voltage limits for Zoe1 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1540
Inverters โก
- Kostal: Revert startup counter (regression in 9.0.0) by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/1554
- SMA: Rename protocol to make it more clear it is SMA by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1555
Connectivity ๐
- Improvement: Make AP name configurable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1557
- Bugfix: Stop erroneous events when saving an empty SSID/pw by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1541
- Bugfix: Fixed an issue causing 8 character WiFi passwords not to work by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1543
Housekeeping ๐งน
- Improvement: Reduce flash usage by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1531
- Improvement: Repackage OTA html file with zopfli to save space by @korhojoa in https://github.com/dalathegreat/Battery-Emulator/pull/1535
- Enable QIO and 80mhz flash on Lilygo T-CAN485 build (50-80% more perf) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1559
- Enable QIO and 80MHZ flash on Stark CMR (50-80% more perf) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1560
New Contributors ๐ฆธ
- @korhojoa made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1535
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.0...v9.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 8 months ago
Battery-Emulator - v9.0.0
What's Changed ๐ฆ
This is a major new release of the Battery-Emulator software. Users are no longer required to compile software, just use the attached file and flash it to your board (Either via USB or Over-The-Air update!)
Setting up a board for the first time? Use this webpage to flash the board!
Quickstart video: COMING SOON
Batteries ๐
- New Battery! ๐ Add support for Rivian batteries ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1517
- New Battery! ๐ Add support for RELiยณON LV battery protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1442
- New Battery! ๐ Add support for Kia 64kWh FD battery (37501-AO050) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1452
- New Battery! ๐ Add support for Samsung SDI LV by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1379
- New Battery! ๐ Add support for Ioniq 28kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1268
- Stellantis: Add initial support for 50/75kWh vans by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1484
- Tesla: Add SOC reset feature under More Battery Info page by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/1456
- Tesla: Configurable GTW settings via Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1466
- Tesla: Simulate entire vehicle CAN network towards battery, first step towards getting Tesla batteries to balance properly, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1314
- Volkswagen MEB: Add Init/Error display for temperatre to more battery info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1323
- Volkswagen MEB: Fix CAN still alive handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1502
- MG HS PHEV: General integration improvements by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1305
- KIA EGMP: Added More Battery Info page and startup values by @Gerwaz3 in https://github.com/dalathegreat/Battery-Emulator/pull/1352
- Stellantis: Add SOH candidate and contactor opening event by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1370
- Kia/Hyundai 40/62: Add more info to "More Battery Info" page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1380
- Kia/Hyundai 40/64: Respect inverter_allows_contactor_closing on startup by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/1366
- BMW PHEV: Fix multiple bugs with native change_can_speed operation by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1494
- Hyundai Ioniq 28: Correct SOH reading. Add isolation resistance to More Battery Info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1464
- Nissan LEAF: Add all 4x temperature measurements to More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1430
- Nissan LEAF: Improve CAN message handling for 2018+ batteries, hopefully they balance better now! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1403
- BYD Atto 3:
- Add support for 50kWh contactor closing by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1444
- Default SOC method changed to measured, to encourage people to try and crash unlock by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1436
- Volvo SPA:
- Add HVIL status to More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1446
- Swap mislabeled precharge/positive state in More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1461
- Value reading made more robust by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1392
- Correct datatype for current value in More Battery Info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1373
- BMW iX, i4โi7: Reduce incorrect startup events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1405
- RangeRoverPHEV: Add voltage limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1411
- Renault Zoe Gen2: Make NVROL actually work, and CAN handler better by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1416
- Renault Zoe Gen2: Make double battery write correctly to balancing status by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1469
- Renault Zoe Gen2: Bugfix; Double Renault Zoe2 not initializing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1516
- Increase max capacity of batteries you can have, 120kWh -> 400kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1407
- Feature: Add user configurable max charge/discharge values for integrations without properly decoded ones by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1487
- Change several batteries to only flag CAN aliveness on relevant messages by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1504
- Safety: Improve stopping charge/discharge when battery is full/empty by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1364
Inverters โก
- New Inverter! โก Sol-Ark LV CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1399
- New Inverter! โก Add initial support for Growatt Wit CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1367
- Solax: Fixed an issue where sending too many CAN messages could overflow CAN buffer by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1346
- Kostal: change how inverter controls contactor closing by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/1365
- SMA (all): Add cellvoltages/temps/voltages/energy amount by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1300
- SMA (All protocols): Improve pairing success rate by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1400
- Sofar CAN: Reduced CAN sending rate, improved inverter response by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1408
- Kostal: Inverter contactor sequence improved, by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/1448
Hardware ๐ค
- Hardware: Add support for Lilygo T_2CAN board by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1384
- Precharge: Avoid oscillation in precharge pin incase it fails/timeouts by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1439
- Raised CPU temperature setpoint from 80->87*C to avoid false positive events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1431
- Add autodetection method for Stark V1 / V2 (No more HAL editing for V1!) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1454
Connectivity ๐
- MQTT: Added event_level and event_level_color to mqtt information by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1450
Housekeeping ๐งน
- Fixed an issue where events would show wrong date and time if over 50 days had passed, by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1347
- Improvement: Remove old method to compile, all is now Common Image by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1476
- Bugfix: Increase CAN TX buffer to avoid dropping messages (Noticed especially on BMW i3) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1483
- Bugfix: Make setup() unable to return early by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1503
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1508
- Improvement: Add configurable static IP by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1481
- Improvement: Heavily improved UI visualization of contactor states by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1433
- Improvement: Optimize LED library for maximum performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1428
- Improvement: Make LED handler compatible with ESP-IDF v5.x by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1426
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1434
- Library ๐ Update ESP32AsyncWebServer to v3.8.0 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1413
- Library ๐ Update ArduinoJson to v7.4.2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1368
- Cleanup ๐งน Remove obsolete uptime library by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1417
- Make Modbus inverters allocate their own register memory to save RAM by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1378
- Add static constexpr to lots of static battery CAN_frames to save RAM by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1402
- Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1409
- Read watchdog (re)initialization code, disable idle timeouts by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1396
Unit testing ๐งช
- CAN log based unit testing by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1443
- Add unit tests to make sure batteries aren't renewing aliveness on bogus CAN frames by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1509
- Tidy up parameterized test names by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1505
- Make CAN log base tests check for aliveness by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1506
- Tweak CAN still-alive tests to more reliably construct batteries by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1510
New Contributors
- @mbuhansen made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1448
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.16.0...v9.0.0
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC9
What's Changed ๐ฆ
This is a release candidate (RC9) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Setting up a board for the first time? Use this webpage to flash the board!
Batteries ๐
- New Battery! ๐ Add support for Rivian batteries ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1517
- BMW PHEV: Fix multiple bugs with native change_can_speed operation by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1494
- Bugfix: Double Renault Zoe2 not initializing by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1516
Housekeeping ๐งน
- Fixed an issue causing T-2CAN factory image to not build correctly by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1518 https://github.com/dalathegreat/Battery-Emulator/pull/1522
- Bugfix: Add AP password to settings page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1514
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC8...v9.0.RC9
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC8
What's Changed ๐ฆ
This is a release candidate (RC8) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Setting up a board for the first time? Use this webpage to flash the board!
Batteries ๐
- MEB: Fix CAN still alive handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1502
- Fix cellvoltages index on RJXZS population by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1507
- Change several batteries to only flag CAN aliveness on relevant messages by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1504
Housekeeping ๐งน
- Improvement: Make CAN-FD frequency configurable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1512
- Bugfix: Make setup() unable to return early by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1503
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1508
Unit testing ๐งช
- Add unit tests to make sure batteries aren't renewing aliveness on bogus CAN frames by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1509
- Tidy up parameterized test names by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1505
- Make CAN log base tests check for aliveness by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1506
- Tweak CAN still-alive tests to more reliably construct batteries by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1510
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC7...v9.0.RC8
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC7
What's Changed ๐ฆ
This is a release candidate (RC6) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Setting up a board for the first time? Use this webpage to flash the board!
Batteries ๐
- Improvement: Add estimated charge setting for Kia eGMP by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1489
- Fix RJXZS cell count population (and tidy up code) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1496
Housekeeping ๐งน
- Bugfix: Fix underflow regression bug when scaling SOC negatively by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1492
- Crashfix: remove faulty Sofar print causing crash by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1498
- Remove the duplicate CanBattery constructor. by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1495
- CAN log based unit testing by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1443
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC6...v9.0.RC7
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC6
What's Changed ๐ฆ
This is a release candidate (RC6) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Setting up a board for the first time? Use this webpage to flash the board!
Batteries ๐
- Stellantis: Add initial support for 50/75kWh vans by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1484
Housekeeping ๐งน
- Bugfix: Increase CAN TX buffer to avoid dropping messages (Noticed especially on BMW i3) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1483
- Bugfix: Fixed an issue where using MQTT would crash the board by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1485
- Feature: Add user configurable max charge/discharge values for integrations without properly decoded ones by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1487
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC5...v9.0.RC6
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC5
What's Changed ๐ฆ
This is a release candidate (RC5) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Setting up a board for the first time? Use this webpage to flash the board!
Battery ๐
- Hyundai Ioniq 28: Correct SOH reading. Add isolation resistance to More Battery Info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1464
Housekeeping ๐งน
- Improvement: Add configurable static IP by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1481
- Improvement: Remove old method to compile, all is now Common Image by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1476
- Restore CAN-FD library to v2.1.4 to avoid crashes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1480
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1477
Progress towards Common Image
- Improvement: More settings webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1474
- Improvement: Move Contactor settings to common-image by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1475
- Improvement: Remove USER_SETTINGS entirely by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1478
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC4...v9.0.RC5
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC4
What's Changed ๐ฆ
This is a release candidate (RC4) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is for users to just Over-The-Air update their boards with the automatically built files below, so that everything can be tuned on the fly instead of at compile time. Testers welcome!
Recommended ESP32 version: 3.3.0
Batteries ๐
- New Battery ๐ Add support for RELiยณON LV battery protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1442
- Tesla: Add SOC reset feature under More Battery Info page by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/1456
- Tesla: Configurable GTW settings via Webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1466
- Renault Zoe Gen2: Make double battery write correctly to balancing status by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1469
Inverters โก
- Kostal: Inverter contactor sequence improved, by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/1448
Hardware ๐ค
- Hardware: Add support for Lilygo T_2CAN board by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1384
- Precharge: Avoid oscillation in precharge pin incase it fails/timeouts by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1439
Housekeeping ๐งน
- Library ๐ Update ACAN2517FD to version 2.1.16 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1437
Common Image progress
- Improvement: Debug Web/USB as configurable setting by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1468
- Bugfix: Make tests pass after 2_CAN board merge by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1470
- Feature: Build common image on release for LilyGo T-2CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1471
- Common Image: Fix crash for some integrations by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1472
New Contributors ๐ฆธ
- @mbuhansen made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1448
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC3...v9.0.RC4
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC3
What's Changed ๐ฆ
This is a release candidate (RC3) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is to compile all combinations of hardware into a common image, so that parameters can be tuned on the fly instead of at compile time. Testers welcome!
Recommended ESP32 version: 3.3.0
Batteries ๐
- New battery ๐ Add support for Kia 64kWh FD battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1452
- Nissan LEAF: Add all 4x temperature measurements to More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1430
- BYD Atto 3:
- Add support for 50kWh contactor closing by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1444
- Default SOC method changed to measured, to encourage people to try and crash unlock by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1436
- Volvo SPA:
- Add HVIL status to More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1446
- Swap mislabeled precharge/positive state in More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1461
Housekeeping ๐งน
- Improvement: Heavily improved UI visualization of contactor states by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1433
- Improvement: Optimize LED library for maximum performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1428
- Improvement: Make LED handler compatible with ESP-IDF v5.x by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1426
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1434
Connectivity ๐
- MQTT: Added event_level and event_level_color to mqtt information by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1450
Hardware ๐ค
- Raised CPU temperature setpoint from 80->87*C to avoid false positive events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1431
- Add autodetection method for Stark V1 / V2 (No more HAL editing for V1!) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1454
Common Image progress
- Make custom-BMS voltage limits configurable via settings by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1424
- Make more inverter settings configurable by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1425
- Remove hardcoded cell counts from custom-BMS batteries by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1423
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0RC2...v9.0.RC3
Energy Storage - Battery
- C++
Published by dalathegreat 9 months ago
Battery-Emulator - v9.0.RC2
What's Changed ๐ฆ
This is a release candidate (RC2) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is to compile all combinations of hardware into a common image, so that parameters can be tuned on the fly instead of at compile time. Testers welcome!
Recommended ESP32 version: 3.3.0
Batteries ๐
- Increase max capacity of batteries you can have, 120kWh -> 400kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1407
- Nissan LEAF: Improve CAN message handling for 2018+ batteries, hopefully they balance better now! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1403
- Volvo SPA: Value reading made more robust by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1392
- BMW iX, i4โi7: Reduce incorrect startup events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1405
- RangeRoverPHEV: Add voltage limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1411
- Renault ZoePH2: Make NVROL actually work, and CAN handler better by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1416
Inverters โก
- New inverter protocol โก Sol-Ark LV CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1399
- SMA (All protocols): Improve pairing success rate by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1400
- Sofar CAN: Reduced CAN sending rate, improved inverter response by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1408
Housekeeping ๐งน
- Library ๐ Update ESP32AsyncWebServer to v3.8.0 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1413
- Cleanup ๐งน Remove obsolete uptime library by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1417
- Make Modbus inverters allocate their own register memory to save RAM by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1378
- Add static constexpr to lots of static battery CAN_frames to save RAM by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1402
- Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1409
- Read watchdog (re)initialization code, disable idle timeouts by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1396
Common Image progress
- Update secret name by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1401
- Back to using GITHUB_TOKEN but with more permissions by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1404
- Add release assets workflow by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1394
- Fix double battery contactor control settings by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1397
- Add factory builds and push to web installer by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1412
- Keep factory images out of release assets by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1415
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v9.0.RC1...v9.0RC2
Energy Storage - Battery
- C++
Published by dalathegreat 10 months ago
Battery-Emulator - v9.0.RC1
What's Changed ๐ฆ
This is a release candidate (RC1) for the 9.0.0 release. Please keep in mind that this release contains lots of new features, and is not considered fully stable and production ready yet. The end goal of the 9.0.0 release is to compile all combinations of hardware into a common image, so that parameters can be tuned on the fly instead of at compile time. Testers welcome!
Recommended ESP32 version: 3.3.0
Batteries ๐
- New Battery ๐ : Add support for Samsung SDI LV by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1379
- New Battery ๐ : Add support for Ioniq 28kWh by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1268
- Tesla: Simulate entire vehicle CAN network towards battery, first step towards getting Tesla batteries to balance properly, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1314
- Volkswagen MEB: Add Init/Error display for temperatre to more battery info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1323
- MG HS PHEV: General integration improvements by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1305
- KIA EGMP: Added More Battery Info page and startup values by @Gerwaz3 in https://github.com/dalathegreat/Battery-Emulator/pull/1352
- Volvo SPA: Correct datatype for current value in More Battery Info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1373
- Stellantis: Add SOH candidate and contactor opening event by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1370
- Kia/Hyundai 40/62: Add more info to "More Battery Info" page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1380
- Kia/Hyundai 40/64: Respect inverter_allows_contactor_closing on startup by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/1366
- Safety: Improve stopping charge/discharge when battery is full/empty by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1364
Inverters โก
- New Inverter โก Add initial support for Growatt Wit CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1367
- Solax: Fixed an issue where sending too many CAN messages could overflow CAN buffer by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1346
- Kostal: change how inverter controls contactor closing by @gwk1 in https://github.com/dalathegreat/Battery-Emulator/pull/1365
- SMA (all): Add cellvoltages/temps/voltages/energy amount by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1300
Housekeeping ๐งน
- Fixed an issue where events would show wrong date and time if over 50 days had passed, by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1347
- Make CAN log output show in correct order on Webserver by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1357
- Feature: Add user configurable BMS reset off time by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1343
- Use ESP 3.3.0 and build only common image with Platform IO by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1363
- Library ๐ Update ArduinoJson to v7.4.2 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1368
- Library ๐ Update ESPAsyncWebServer to v3.7.10 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1369
- Unit tests by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1358
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1390
Progress towards common image ๐จ
- Hal refactoring and GPIO allocations by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1287
- Build fail: Fix build system for common image with Solxpow protocl by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1339
- Reduce direct usage of global can_config by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1345
- Tidy up MG-HS-PHEV include/ifdefs and add to BATTERIES.cpp by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1356
- Eliminate include.h by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1353
- Fix crash when saving settings by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1344
- Fix WiFi to use settings by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1359
- Fix build when logging enabled and add workflow that uses logging by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1360
- Stark and Wifi fixes by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1362
- Fix equipment stop button and remove dupe code by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1371
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.16.0...v9.0.RC1
Energy Storage - Battery
- C++
Published by dalathegreat 10 months ago
Battery-Emulator - v8.16.0
What's Changed ๐ฆ
This is a small bugfix release, that also adds support for the Sofar CAN protocol (useful for putting multiple batteries in parallel towards Sofar inverters), and it also includes a dedicated CAN protocol for Solxpow inverters.
Recommended ESP32 version: 3.2.0
Batteries ๐
- Atto 3: Added ramp down of discharge power by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1315
- Atto 3: Max discharge power, charge power scaling and unknown values now decoded in More Battery Info page by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1328
- GM BEV2: Added SOC estimation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1301
- GM BEV2: Add rest of missing values needed for stable integration by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1298
- Volkswagen MEB: Fixed an issue causing contactors to open after 49 days of operation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1308
- BMW i3: Handle WUP pin better for reboots by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1318
Inverters โก
- Regression: Fixed RS485 inverters by proper registration of a receiver by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1320
- Feature: Sofar CAN protocol โก by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1277
- Feature: Solxpow CAN protocol โก by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1307
Housekeeping ๐งน
- Library ๐ : Update eModbus and ESP32 core (v3.2.0 -> 3.2.1) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1325
- Fixed compiler warning for overflow on Sono by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1324
- Fixed display of event dates getting messed up after 49 days of uptime by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1327
- Fixed erroneous 53.3C CPU temperature value that ESP32 often returns by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1333
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/1296
New Contributors
- @jonny5532 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1333
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.15.0...v8.16.0
Energy Storage - Battery
- C++
Published by dalathegreat 10 months ago
Battery-Emulator - v8.15.0
What's Changed ๐ฆ
Important info for Double Battery setups running automatic GPIO control! This version simplifies the handling of the secondary battery handling, requiring only 1 output to activate the POS+NEG contactor when the second battery joins. This will require wiring changes if you already wired this up. See https://github.com/dalathegreat/Battery-Emulator/pull/1232 for more info
This version also adds basic support for the MG HS PHEV battery
This version also adds double battery support for CMFA-EV and ZoePH2 batteries ๐ ๐
Batteries ๐
- New Battery: MG HS PHEV Battery support ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1292
- Feature: Add support for Double CMFA-EV batteries ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1233
- Feature: Add support for Double ZoePH2 batteries ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1234
- BYD Atto3:
- Improvement: Always show correct estimated SOC in more battery info page by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1246
- Feature: Add charged/discharged energy to more battery info page by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1251
- Kia-64/40: Fixed an issue where 90/98S detection would incorrectly count theh cells by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1249
- Chademo:
- Bugfix: Improve startup to throw less events by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1240
- Feature: Add "More battery info" page for Chademo by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1264
- BMW i3: Fixed a crash that could occur with double battery setups by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1258
- Volvo SPA: Fixed a bug that caused the More battery info page to be missing by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1270
- Stellantis eCMP: Fixed current sign, and improved CAN sending to be less resource intensive by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1238
Hardware ๐ค
- Feature: Simplify GPIO for secondary battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1232
Connectivity ๐
- Add cell balancing data to MQTT publishing by @copilot-swe-agent in https://github.com/dalathegreat/Battery-Emulator/pull/1290
- Add feature to set a custom device hostname to improve Wifi management by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1288
Housekeeping ๐งน
- Improvement: Make Webserver More Battery Info page more crash proof by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1221
- Improvement: Update USER_SETTINGS.h note by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1265
- Eliminate BMW i3 extended datalayer by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1271
- Eliminate BMW IX extended datalayer by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1291
- Progress towards Common Image:
- Experimental common image by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1247
- Fixed an issue where 8.15.dev version would drop can speed to 250kbps by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1284
- Use const to eliminate compiler warnings by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1279
New Contributors ๐ฆธ
- @copilot-swe-agent made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1290
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.14.1...v8.15.0
Energy Storage - Battery
- C++
Published by dalathegreat 11 months ago
Battery-Emulator - v8.14.1
What's Changed ๐ฆ
This is a small optional bugfix release, mainly deployed to fix the MQTT crashing on startup.
Batteries ๐
- Improvement: ECMP contactors now possible to close via CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1177
- Added support for Double ZoeGen1 batteries ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1231
- Renault Zoe PH2:
- Correct location of balancing status info by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1226
- Bugfix, Make NVROL reset survive WDT trigger by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1236
Housekeeping ๐งน
- Fix MQTT-related startup crash by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1242
- Improvement: Make Webserver UI more compact by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1244
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.14.0...v8.14.1
Energy Storage - Battery
- C++
Published by dalathegreat 12 months ago
Battery-Emulator - v8.14.0
What's Changed ๐ฆ
This is mainly a bugfix release, aiming to fix problems with specific batteries and inverters. Please read these notes, and if you see mentions of any component that you are using, it is a good idea to update to this version.
This release introduces cell balancing status overview for Nissan LEAF and Renault Zoe PH2 batteries. You can now see in the Cellmonitor webpage which cells are being actively balanced. Same method can potentially be added to other battery integrations!
Batteries ๐
- Feature: Add balancing status (Nissan LEAF & ZoeGen2) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1186
- Zoe Gen1: Added More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1153
- Tesla: Increase voltage precision by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1180
- Tesla: Fix regression where "More Battery Info" page was not accessible by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1185
- Chademo: Correct SOC and capacity scaling by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1181
- Nissan LEAF: Make fully charged kWh capacity scale according to SOH% by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1199
- BYD Atto 3: Add feature to changing SOC method (Estimated/Measured) in More Battery Info page by @freddanastrom in https://github.com/dalathegreat/Battery-Emulator/pull/1212
- Kia/Hyundai 40/64: Made 90S celldetection method more reliable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1219
Inverters โก
- Bugfix: Discharge below 1% SOC was not possible on any inverter by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1178
- SMA BYD H: Add content previously added to SMA_BYD_HVS by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1169
- SMA BYD HVS: Split up pairing sending into batches to improve success rate by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1156
- SMA (all): Add event for pairing event to aid troubleshooting by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1216
- Pylon: Fix for allowing high capacity >255Ah batteries by @Morris3190 in https://github.com/dalathegreat/Battery-Emulator/pull/1192
- Pylon: Better handling of charge/discharge allowed flags by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1179
- Ferroamp: Fix for allowing large capacity > 255Ah batteries by @Morris3190 in https://github.com/dalathegreat/Battery-Emulator/pull/1194
- Sofar CAN: Now formatting CAN messages properly by @Gerwaz3 in https://github.com/dalathegreat/Battery-Emulator/pull/1207
Hardware ๐ค
- Improvement: Increase stack size for add on ACAN2515 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1172
Housekeeping ๐งน
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/dalathegreat/Battery-Emulator/pull/1200
- Update readme to remove confusing diagrams by @jymbob in https://github.com/dalathegreat/Battery-Emulator/pull/1205
- Bugfix: Add Daly to build system by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1206
- Progress towards Common Image
- Convert two remaining batteries to use the base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1189
- Fix Ferroamp/Pylon CAN send conflict by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1197
- Batteries implement HTML renderers for status and commands by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1193
- fix RS485Battery::transmit_rs485 not being defined/used correctly by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/1201
- Generalize comm 'transmit' and introduce common class for shunts by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1208
- Fix compiler warning/error by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1217
- Batteries and inverter protocols receive data using run-time registered interfaces by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1214
- Fix Geely battery compilation by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1218
New Contributors
- @Morris3190 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1192
- @jymbob made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1205
- @Gerwaz3 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1207
- @freddanastrom made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1212
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.13.0...v8.14.0
Energy Storage - Battery
- C++
Published by dalathegreat 12 months ago
Battery-Emulator -
What's Changed
This is an optional bugfix release. Please read the release notes, and see if there are any improvements for the components you are using.
Recommended ESP32 version: 3.2.0
Batteries ๐
- New Battery: Add starting point for Geely Geometry C battery ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1049
- Renault Zoe 52kWh: Fixed some CAN sending issues and added all cellvoltages to monitor page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1159
- Stellantis eCMP: Add more CAN mappings. Integration almost complete now! by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1120
- Pylon Battery: Added startup values for SOH and SOC to avoid false positive events on startup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1157
- BMW iX: Add functionality to close and open contactors by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1130
- Chademo: Bugfix, add missing break; to CAN handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1168
Inverters โก
- SMA: BYD-HVS protocol, Update battery error handling, and CAN inverter still alive by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1129
- Ferroamp: Bugfix, Now possible to set TOTAL_CELL_AMOUNT over 255 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1161
Hardware ๐ค
- Stark: Updated MEB precharge control logic to support Stark CMR by defauly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1137
Connectivity ๐
- MQTT: CPU temperature now available via MQTT by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1154
- MQTT: Bugfix for MQTT memory leak overtime by @No-Signal in https://github.com/dalathegreat/Battery-Emulator/pull/1125
Housekeeping ๐งน
- Improvement: Reduce millis() calls to improve performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1128
- Improvement: Add emojis to make builds more identifiable by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1139
- Library: Update ArduinoJSON to 7.4.1 ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1142
- Progress towards Common Image:
- The remaining 21 batteries and BMS converted to use the base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1162
- Contactor closing variable fix and more double batteries converter to use the base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1152
- Convert the remaining inverter protocols to use the common base class and build them all by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1143
- Kostal inverter class and RS485/Modbus refactoring by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1135
- Nissan Leaf battery class with double battery support by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1114
- All chargers built regardless of build-time selection by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1124
- BYD CAN inverter protocol class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1117
- Use common base class for Afore CAN inverter protocol by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1121
- Chargers use a base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1122
- Ferroamp CAN inverter protocol code converter to use the base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1127
- BYD Atto 3 battery converted to use the base class by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1140
- BMW I3 battery implemented as a class with double battery support by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1126
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.12.0...v8.13.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago
Battery-Emulator - v8.12.0
What's Changed ๐ฆ
This version is a highly suggested upgrade for BYD Atto 3 owners, since it improves safety significantly by using the Allowed charge power signal coming directly from the BMS (instead of an estimated value). For other users, please read if any of the following improvements are applicable to your system.
Recommended ESP32 version: 3.2.0
Battery ๐
- BMW i3: Proper time format now sent towards battery, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1086
- Volvo SPA: Added support for 64 kWh (96S) battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1093
- BYD Atto 3:
- Add crashed BMS unlocking via "More Battery Info" page ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1057
- Integration now uses allowed charge power sent by BMS for safer operation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1101
- Tweaked SOC voltage estimation lookup tables by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1101
- Added More PID polls to the "More Battery Info" page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1101
- Renault Zoe Gen2 50kWh: Added NVROL reset function via "More Battery Info" page by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1017
- Renault Kangoo: Add battery closing allowed flag on startup for a few batteries that were missing this, preventing GPIO contactor control to function by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1112
Inverter โก
- SMA: Add Event for missing enable line, to simplify troubleshooting, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1094
Hardware ๐ค
- Bugfix: Edit SMA inverter input pin for Stark CMR hardware by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1095
Housekeeping ๐งน
- Microfeature: Added CPU temperature grossly overheated fault event ๐ก๏ธ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1106
- Refactoring: Simplify CAN sending routine and improve performance by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1090
- Bugfix: Scaled capacity overhaul by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1110
- Progress towards Common Image:
- Common base class for batteries by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1096
- Use common battery base class for Jaguar Ipace battery by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1100
- Common base class for inverter protocols by @kyberias in https://github.com/dalathegreat/Battery-Emulator/pull/1098
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/dalathegreat/Battery-Emulator/pull/1109
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.11.0...v8.12.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago
Battery-Emulator - v8.11.0
What's Changed ๐ฆ
This update mainly aims to fix an issue with the newly released Fronius "1.36.5-1" software, causing the Battery-Emulator to stop functioning. So if you have a Fronius inverter, this is a mandatory update!
Recommended ESP32 version: 3.2.0
Batteries ๐
- CMFA-EV: Improved scaling of raw SOC value by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1052
- BMW iX: Improve CAN message sending to make BMS throw less error codes by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/1045
- E-GMP: Improved SoC estimation algorithm by @ilia92 in https://github.com/dalathegreat/Battery-Emulator/pull/1060
Inverters โก
- BYD Modbus: Update FW and Serial number to pass Fronius new Modbus requirements, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1085
- Safety: Write charge/discharge power to 0 incase packvoltage get out of hand โ ๏ธ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1067
Housekeeping ๐งน
- Microfeature: Added event incase ESP32 CPU overheats, by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1064
- Improvement: Made the event description for Equipment Stop easier to understand by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/1068
New Contributors ๐ฆธ
- @ilia92 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/1060
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v8.10.0...v8.11.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 year ago
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 about 1 year 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 year 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 year 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 1 year 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 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 bigcompilation 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year ago
Battery-Emulator - v7.2.1
What's Changed
This release fixes pausing of CAN messages during OTA, and introduces support for a new battery type: DIY battery via RJXZS BMS . This enables totally custom batteries to be used with the Battery-Emulator, no longer are EV batteries a requirement!
Batteries ๐
- New battery ๐ : DIY battery via RJXZS BMS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/451
Housekeeping ๐งน
- Bug fix for PR#457 (disable send CAN when pause for update) by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/459
- Events on Webserver are now displayed in reverse chronological order by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/460
- Add Loading Animation During OTA Firmware and Hardware Info Retrieval by @amarofarinha in https://github.com/dalathegreat/Battery-Emulator/pull/461
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v7.2.0...v7.2.1
Energy Storage - Battery
- C++
Published by dalathegreat over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 about 2 years 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 about 2 years 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 about 2 years 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 2 years 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.hfile, 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 over 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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.cppwill 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 2 years ago