Recent Releases of Battery-Emulator
Battery-Emulator - v12.3.0
What's Changed ๐ฆ
DFRobot Edge101
This release adds support for the new "DFRobot Edge101" hardware.
ESPNow v2
The release also updates the ESPNow protocol for external displays from v1 -> v2. External projects connecting to BE will need to update to the v2 protocol off ESPNow to continue functioning
General fixes
The release also significantly improves Wifi strength on multi-AP installs, lots of fixes for BYD Vehicle, Nissan LEAF and Tesla batteries, and significantly improves the MQTT-HomeAutomation integration. Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes below before updating
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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- BYD Vehicle: Improvement; Source BYD power limits and temperatures from raw CAN datastream for faster update rate by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2718
- Stellantis e-CMP: Triple battery support ๐ ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2772
- Nissan LEAF: Balancing status detection based on reported shunts by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2662
- Nissan LEAF: Show detected vehicle generation on the main status page by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2794
- Nissan LEAF: Fixed Hx value being unavailable on on ZE0/AZE0; exposed Hx over MQTT; add QC & AC charge count; remove BMS ID; faster startup; cosmetics by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2790
- Tesla S/3/X/Y: Stop overwriting Tesla gateway message defaults with zeros on fresh installs by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2724
- Tesla S/3/X/Y: Fix BMS signal values by @greenoem in https://github.com/dalathegreat/Battery-Emulator/pull/2807
- Tesla Legacy: Allow deeper discharge on Legacy Tesla by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2814
- Improvement: Add config option to allow tuning of charge limits (Ford/CMFA/Kangoo) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2796
- BMW iX, DTC: Add DTC 21F151 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2815
Inverters :zap
- Fronius: Add total energy amount & BMS temperature to BYD protocol registers by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2781
Hardware ๐ค
- Added "DFRobot Edge101" new Battery-Emulator hardware support by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2722
- LilyGo T-2CAN: Move BMS Power to GPIO45 on "T-2CAN FD" to avoid pin conflict by @brynrichards in https://github.com/dalathegreat/Battery-Emulator/pull/2789
Connectivity :w
- BETA: Streaming CAN logging over WiFi by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2769
- ESPNow: Upgrade ESP-NOW from v1 to v2 by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2700
- Wi-Fi: Log AP device connections by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2787
- Wi-Fi ๐: Significantly improved signal strength on multi AP networks by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2797
- Wi-Fi: UI and Logs enhancements around how Wi-Fi information is displayed by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2805
- MQTT: Log publish failures once per outage, fix mislabelled event log by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2792
- MQTT: Added HW name and SW version, mark emulator entities as diagnostic type by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2795
- MQTT: HX value from Nissan LEAF available via MQTT by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2790
- MQTT: Publish optional heap metric diagnostics for Home Assistant if user desires so by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2811
- MQTT: Run Home Assistant autodiscovery only on demand and after firmware updates by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2803
Housekeeping ๐งน
- Safety: โ ๏ธ Make UPDATE events lower priority than ERROR ones by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2786
- Library ๐ Update ESP32 to v3.3.11 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2766
- Improvement: Comment out logging for verbose MQTT errors and messages by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2767
- Improvement: Calculate uptime strings without ctime by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2771
- Improvement: Make core time arithmetic width-deterministic (uint32_t) by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2709
- Improvement: Fix two test-order dependencies, and make CI able to see them by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2785
- Improvement: Change identify_build.py to generate a header instead of using defines by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2791
- Improvement: Logging: Remove duplicate log entries and add syslog notice severity by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2798
- Improvement: Performance; Gate time measurement macros on the profiling setting by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2802
- Improvement: Sync settings-page defaults with boot defaults (6 mismatches) by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2697
- Improvement: Link the status page title to the documentation site by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2812
- Github: Add size report to job summary by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2768
- Github: Autodetect build version by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2788
- Github: Build speedup by removing compiler build, move werror to all builds by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2806
- Unit test: Cover the contactor closing sequence, its startup inhibit and its fault latch by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2776
New Contributors
- @brynrichards made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2789
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v12.2.0...v12.3.0
Energy Storage - Battery
- C++
Published by dalathegreat 12 days ago
Battery-Emulator - v12.2.0
What's Changed ๐ฆ
๐ This release adds support for new batteries: Volkswagen MQB support & MG 50kWh LFP support & Double battery MG Gen1 support
๐ฅ This version also adds collision reset for Volkswagen MEB, removing the need to connect ODIS tool to perform collision clear!
โก BYD Vehicle batteries also no longer throw serious electrical leakage DTC error codes, with the introduction of the new iso-disable feature!
๐ DTC reading via More Battery Info is also added for Volvo SPA, and CMFA EV Platform
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes below before updating
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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- New battery ๐ VW MQB Evo 2024+ based on MEB by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2754
- Volkswagen MEB: Implement BMS crash reset, ODIS no longer required to clear crashed batteries by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2730
- Volkswagen MEB: Optimize CRC8 calculation by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2744
- Volkswagen MEB: Optimize MEB HTML strings by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2757
- Safety โ ๏ธ Double/Triple battery setups now clamp power down to inverter sent value properly. Risk of exceeding battery limits without this fix! By @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2739
- Nissan LEAF: Under the hood changes to DTC reads by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2734
- BYD Vehicle: Feature - Added turning off batteries own isolation testing by default, to avoid P1A0000 "Serious Electrical Leakage Fault" and reduced charge/discharge power by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2755
- BYD Vehicle: Added few DTC-descriptions by @germanfrau in https://github.com/dalathegreat/Battery-Emulator/pull/2743 & https://github.com/dalathegreat/Battery-Emulator/pull/2747
- Volvo SPA: Added DTC Code reading to More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2721
- CMFA Platform: Added DTC Code reading to More Battery Info page by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2741
- MG HS/MG5/MarvelR UDS refactor: Rebases the MG HS integration on the new UdsCanBattery subclass. It also renames it MG-GEN1 since it now supports ZS/MG5/MarvelR by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/1941
- MG Gen1: Add support for 50kWh LFP pack by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2764
- Renault Zoe Gen1: Fixed a bug that caused total pack voltage to be ~3V too large by @Dibblah1 in https://github.com/dalathegreat/Battery-Emulator/pull/2753
- Battery polling improvements under the hood to reduce codesize
- ISOTP/UDS library tweaks (const-ing the things) by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2735
- UdsCanBattery superclass by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2738
Inverters โก
- Add "Inverter is offgrid" checkbox that downgrades some faults to warnings to make offgrid operation more reliable by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2726
Hardware ๐ค
- Refactor SD support to use SPI for significantly lower resource usage by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2761
Housekeeping ๐งน
- Add a favicon to the web UI by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2727
- Github: Ignore the per-environment sdkconfig files by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2742
- Github: Give every environment the same managed-component set by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2740
- Github:Add shared ESP32 and ESP32S3 targets by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2746
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2748
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v12.1.0...v12.2.0
Energy Storage - Battery
- C++
Published by dalathegreat 19 days ago
Battery-Emulator - v12.1.0
What's Changed ๐ฆ
This release adds DTC reading for Nissan LEAF and Ford EV batteries. This functionality is available from the "More Battery Info" page.
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes below before updating
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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Nissan LEAF: Feature: Added Read battery DTCs via More Battery Info page by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2681
- Ford Mach-E: Feature: Added Read battery DTCs via More Battery Info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2690
- Ford Mach-E: Add more CAN sending towards battery to reduce amount of DTCs active by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2702
- BYD Vehicle: Improvement: Source cell min/max from 0x446 broadcast, drop redundant UDS polls by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2706
- BYD vehicle: Add P1A4800 & U012100 DTC-description by @germanfrau in https://github.com/dalathegreat/Battery-Emulator/pull/2695 & https://github.com/dalathegreat/Battery-Emulator/pull/2696
- FoxESS battery: Refresh CAN keep-alive properly and stop overwriting BMS-reported voltage limits by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2710
- Allow BMS reset off time up to 600 seconds instead of 60 seconds max by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2685
Inverters โก
- Sungrow SBRXXX: Report charge stop status properly by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/2719
Hardware ๐ค
- Basic support for Stark LED RGB addon by @StarkJohan in https://github.com/dalathegreat/Battery-Emulator/pull/2676
- Equipment stop: Safety โ ๏ธ Wait 7seconds max for zero current before opening contactors, to avoid welded contactors when using equipment stop by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2713
Connectivity ๐
- MQTT: Bugfix, value_template include default handling for missing keys by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2698
Housekeeping ๐งน
- Github Actions: Cache custom_sdkconfig image for faster builds by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2704
- Github Actions: Fix failure reporting in the build step by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2720
- Cleanup: Remove dead build_cxxflags lines: RTTI is already disabled by the IDF default by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2693
- Bugfix: Deduplicate CAN aliveness checks and fix shared corrupted-CAN warning being cleared by healthy batteries by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2688
- Improvement: Make absolute millis() comparisons wrap-safe (49.7-day rollover) by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2707
New Contributors
- @germanfrau made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2695
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v12.0.0...v12.1.0
Energy Storage - Battery
- C++
Published by dalathegreat 23 days ago
Battery-Emulator - v12.0.0
What's Changed ๐ฆ
Version 12 is a new major release of the Battery-Emulator, with many enhancements and MQTT changes that might require attention when updating. Please familiarize yourself with the release notes carefully before OTA updating to this version.
-MQTT: reduced memory usage and improved reliability
This release significantly lowers the heap usage of the MQTT module, with the biggest gains on double and triple battery setups, and fixes a bug where batteries 2 and 3 reported battery 1's charged and discharged energy totals. Cell voltages and balancing states are now published every 60 seconds instead of every 5, combined into a single message, while all live values โ power, current, battery voltage, SOC, and cell min/max/delta โ continue to update at the normal publish interval. Availability on the /status topic is now published retained once on connect, following the standard last-will pattern.
Two changes affect existing setups. Battery 2 and 3 values have moved from suffixed keys on <name>/info (such as SOC_2) to their own topics, <name>/info_2 and <name>/info_3, using plain un-suffixed keys. The separate balancing_data* topics have been removed, with that data now included in spec_data* under the cell_balancing key, ensuring perfect sync with cell_voltages. Home Assistant autodiscovery users need to take no action, as entities migrate automatically; only manually configured MQTT sensors, Node-RED flows, and similar integrations need updating.
-Inverter Charge Taper ๐
This releases implements an optional, battery-integration-independent charge power taper based on scaled SOC: the allowed charge power is linearly reduced from full at (100% โ band) down to 0 W at 100% scaled SOC, with an optional configurable floor (minimum charge power held through the tail of the band). Configurable via a new checkbox next to the existing low pass filter setting, with taper band (percent) and floor (W) fields shown only when enabled.
โ ๏ธ IMPORTANT NOTE: For integrations using estiamated charge power (Tesla S/3/X/Y, Relion LV, BMW iX, BMW PHEV, Kia64FD, RJXZS, GEELY SEA) This new charge taper is MANDATORY and will automatically be enabled. It replaces the old method of ramping down the allowed charge power at high SOC that was individually implemented in each feature. Users should pay close attention to the new settings, since on an estimated charge power install you are the deciding factor how much power can be extracted from the battery. Estimated integrations are inherently less safe to operate due to this. Checkout the instructions here:
-Periodic BMS reset improvements
Periodic BMS reset can now be performed at either 24h (default), or a 48h interval. There are now also two optional guards, shown in the web UI only when the periodic reset is enabled. Why do we need the setting? It's observed that for example AZE0 likes to finish balancing. If BMS rebooted during balance, it won't restart. ZE1 can overbalance, so it may be wise to intrerrupt it daily. The user has to have a choice here to improve battery balancing operation
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes 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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Ford: Adjust cell temperature offset to make temperatures more reasonable by @TheOfficialBatteryMan in https://github.com/dalathegreat/Battery-Emulator/pull/2583
- Ford: Safety โ ๏ธ Use actual battery charge/discharge limits instead of user estimated values by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2580
- MEB Battery: Implement BMS Reset from webserver interface by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2638
- Nissan LEAF: Safety; Adjust battery voltage limits for top charge by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2657
- Nissan LEAF: Bugfix: Fixed a bug where info for double/triple batteries would not be visible on the More Battery Info page by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2670
- BYD Vehicle: Speed up sourcing of pack voltage & current from CAN / add insulation resistance by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2656
- Dyness Pylon: Corrected calculation of cell voltages by @tekampe-oss in https://github.com/dalathegreat/Battery-Emulator/pull/2679
- Safety: โ ๏ธ Make interconnect check more reliable for double/triple batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2357
- Improvement: Add guards to periodic BMS reset and add 48h option by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2668
- Fake battery: Support triple setup, mirror pack voltage, fake balancing by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2659
- Fake battery: A bit more realistic by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2669
Inverters โก
- Feature: ๐จ๐๐SOC-based, universal charge power taper towards inverter by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2628
- Make SOC-based charge taper ๐จ๐๐ mandatory for estimated power battery integrations by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2637
- Improvement: Remove old charge power rampdowns in favour of the new inverter based "SOC-based charge taper" by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2678
- Added "Inverter detected" event for Modbus and RS485 inverters by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2634
- Solax: Tidy log output by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2631
- Fronius: Allow faster reboots by reporting STANDBY until DC bus is live by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2666
- VCU Zombie: VCU mode bitmapping fixes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2647
- Sungrow: SBR cleanup and updates by @aferrara in https://github.com/dalathegreat/Battery-Emulator/pull/2675
Connectivity ๐
- MQTT: Significantly reduce heap usage, especially on double/triple battery setups by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2643
- MQTT: Improvement: Add generic MQTT autodiscovered Insulation Resistance sensor by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2671
- MQTT: Add configurable Home Assistant MQTT discovery topic by @StarkJohan in https://github.com/dalathegreat/Battery-Emulator/pull/2592
- Syslog: Allow syslog server to run on low flash boards by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2645
Housekeeping ๐งน
- Feature: Make CPU temperature configurable, with an offset by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2639
- Improvement: Remove obsolete "Use CanFD as classic CAN:" setting by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2646
- Improvement: Apply user current caps to low pass filter input by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2627
- Improvement: Skip unchanged values in NVS settings store to reduce flash writes and prevent task overruns by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2625
- Improvement: Web UI: Only offer double/triple battery for integrations that support it by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2661
- Improvement: Make core-task CAN logging non-blocking to prevent task overruns by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2624
- Bugfix, NVM: allow max charge/discharge to be set to 0 by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2633
- Improvement: Make sure we don't try to send to uninitialized CAN interfaces by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2630
- Fix measure-firmware-size artifact filter by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2642
- Make USB debug logging non-blocking to prevent task overruns by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2640
- Unifiy build & release (uncompressed) by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2615
- Remove checkprogsize rebuild by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2653
- Update gitignore file by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2667
- Fix inverter CAN alive-event handling in update_machineryprotection by @ekholm in https://github.com/dalathegreat/Battery-Emulator/pull/2677
- Bugfix: missing newline on truncated log lines by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2680
- Bump actions/setup-python from 6 to 7 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2682
New Contributors ๐ฆธ
- @TheOfficialBatteryMan made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2583
- @ekholm made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2677
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v11.1.0...v12.0.0
Energy Storage - Battery
- C++
Published by dalathegreat 30 days ago
Battery-Emulator - v11.1.0
What's Changed ๐ฆ
This release adds initial support for CCS charging. It also significantly improves connectivity, and Volkswagen MEB platform support with DTC reading.
Stark CMR, a chargebyte CCF and a 4kW Fronius Primo working together
Volkswagen MEB, diagnosing DTCs without ODIS directly in Webserver
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes 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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- FEATURE: Add support for bidirectional charging via CCS by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/2460
- MEB Battery: Add DTC reading via More Battery Info page by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2573
- MEB Battery: Read SoH from BMS by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2614
- MEB Battery: Add sending of Klima_07 message to reduce number of DTCs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2589
- Nissan Leaf: Improvement, balancing status now properly reported by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2588
- Pylon HV: Fix Pylon protocol compatibility with GCE and similar BMS by @BatteryPlug in https://github.com/dalathegreat/Battery-Emulator/pull/2622
- Tesla S/3/X/Y: 106s cell detect + Lower flash usage (Digital HVIL optimized) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2578
- Flash optimization: Combine BYD/MEB DTC renderers together to save resources by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2579
Connectivity ๐
- Improvement: Wipe RF PHY calibration data on factory reset and network reset by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2598
- Improvement: Static IP single-field IP entry, add missing DNS server setting by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2581
- Improvement: Cybersecurity, warn when AP starts with default password, log provisioning window expiry by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2593
- Bugfix: Disable WiFi driver persistence which may cause task stalls by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2591
- Bugfix: MQTT HA entity discovery issues and add third battery support for MQTT by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2577
- Bugfix: Remove double mDNS init ๐ by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2616
- Feature: Adds the "Battery charging! (Inverter limiting)" info via MQTT sensors by @StarkJohan in https://github.com/dalathegreat/Battery-Emulator/pull/2604
Inverters :zap
- Bugfix: ๐ Apply inverter limits low pass filter to power limits by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2621
Hardware ๐ค
- Safety: โ ๏ธ Hold BMS_POWER pins active across reset/OTA reboot by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2525
Housekeeping ๐งน
- Improvement/Syslog ๐ pre-connectivity log backlog; task name as app name by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2585
- Improvement: Reduce header dependencies by moving #includes about, also save flash by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2609
- GitHub: Bump marocchino/sticky-pull-request-comment from 2 to 3 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2595
- GitHub: Bump actions/download-artifact from 4 to 8 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2596
- GitHub: Remove extraneous + signs from measure action by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2610
- GitHub: Improve binary size tracking v3 by @ngehrsitz in https://github.com/dalathegreat/Battery-Emulator/pull/2594
- GitHub: Make firmware size report clearer, add links by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2606
New Contributors
- @ngehrsitz made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2561
- @BatteryPlug made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2622
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v11.0.0...v11.1.0
Energy Storage - Battery
- C++
Published by dalathegreat about 1 month ago
Battery-Emulator - v11.0.0
What's Changed ๐ฆ
Version 11 is a new major release of the Battery-Emulator, with many wireless cybersecurity enhancements and MQTT changes that might require attention when updating. Please familiarize yourself with the release notes before OTA updating to this version.
-
This release brings us several cybersecurity improvements. From now on, when the Wi-Fi access point (AP) is running with the factory-default password (123456789), and no client connects to it, it is automatically disabled after 5 minutes (raising a corresponding event). If a custom AP password has been set, behavior is unchanged and the AP stays enabled indefinitely. Limiting the default-password AP to a short provisioning window mitigates the attack vector while keeping first-time setup and recovery access fully functional. The log window had Wi-Fi/AP passwords printed in cleartext, in the settings UI the Wi-Fi/AP/MQTT/HTTP-auth password fields rendered the stored value into their HTML value attribute making it possible for malicious actors to read them. This has changed so that these fields remain empty, and when submitting the form without any of these filled, they will not be changed.
-
Long-pressing the board BOOT/FLA button at runtime brings three new features useful for on-site work and troubleshooting: long-press 5 to 15s starts the AP if it's not on (perfect to restart the provisioning window introduced above); 15s to 30s will wipe the Wi-Fi client settings and reboot with AP on (useful when local network changes, or runs in trouble); long-press more than 30s will perform a full factory reset and reboot (a physical, UI-independent recovery of last resort). All actions are decided on button release, based on how long it was held. Color led blinks white at various speeeds to confirm the selected stage (slow-, mid-, and fast blink respectively).
-
MQTT possible breaking change โ ๏ธ From now on Battery Emulator always sets a hostname, which defaults to
battery-emulator-xxxx(the last two bytes of its MAC address lowercase). This value is used to identify the device on all the supported platforms: this will be the SSID of the AP, the broadcasted mDNS name, the identifier in the DHCP lease request, the value for "MQTT topic name", "Prefix for MQTT object ID," "HA device name", "HA device ID", and the host identifier in the syslog messages. Consequently, the "Customized MQTT topics" checkbox and its four dependent fields ("MQTT topic name", "Prefix for MQTT object ID," "HA device name", "HA device ID"), the "Access point name:" field were removed from the web interface. This counts as a breaking change: if you rely on MQTT for your automations related to Battery Emulator, prepare for the potential adjustments (tip: if you used the same value for the four custom MQTT topics, you'll likely get away easy by setting that as Hostname from now on). This not only makes long term usage more straightforward especially when multiple emulators are in use, but also significantly reduced flash space requirements. -
Display support (128x64 OLED) has been removed for "LilyGo TโCAN485". This breaking change also frees up the GPIOs - but please don't be disappointed by this - support for ESPNow v2 is in the works, which has many more advantages for display usage: a plethora of full-color display types will be able to show data even from multiple nearby emulators, much more data (including individual cell voltages) in a customizable interactive form, in a safer manner without physical connection.
-
A new logging backend has been added: syslog. This self-contained solution introduces no new libraries, no new sink patterns: reuses the same engine that was already in for USB / web / SD logging thus it was very cheap to add. The big benefit here is that events happening in Battery Emulator can be logged independently from the system (even on a NAS which supports log receiving for free) making troubleshooting easier on long term.
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes 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 version > v10.0.0 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- BYD vehicle: Add U014100 description by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2538
- Volkswagen MEB: Open contactors if inverter demands so by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2533
- VCU: Always assume inverter is alive to avoid fault mode by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2546
- Double/Triple battery: Add hysteresis to out of sync voltage event by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2536
- CMFA platform: Add support for triple battery operation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2542
- Tesla S/3/X/Y: Full CAN alert-matrix (DTC) decoding by @hpetersen in https://github.com/dalathegreat/Battery-Emulator/pull/2558
- Tesla S/3/X/Y: Reduce USB debugging string length, comment out unused code to save flash by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2574
Hardware ๐ค
- Feature: Add CAN bus error detection and handling, and allow NativeCAN bus-off recovery by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2568
- Safety: Wait for Battery3 current to drop to 0A to pause/reset checks by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2553
- Safety: Make Equipment Stop STOP/RESUME explicit by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2554
- Safety: Skip BMS reset incase Equipment Stop is active by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2549
- Safety: Do a graceful restart for reboot/MQTT/OTA, keeping CAN active to avoid any welded contactors by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2551
Connectivity
- Improvement: MQTT and AP UI reductions, settings page UI by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2562
- Feature: long-press board BOOT button to start AP or factory reset by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2541
- Cybersecurity: Don't expose passwords in web log and settings page by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2534
- Cybersecurity: Provisioning window for AP with default pass by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2566
Housekeeping ๐งน
- Feature: Add general logging to a syslog server by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2555
- Update short SHA length in firmware rename step by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2548
- Improvement: Flash reduction by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2550
- Improvement: Guard display against SMALL_FLASH_DEVICE to save flash usage by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2565
- Improvement: Union datalayer entries, rejig constructors, to save Flash+RAM by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2570
- Improvement: Remove unnecessary initializations for extended_datalayer by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2572
- Github: Make compile action use more caches for faster builds by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2559
- GitHub: Fix PR measure action to use correct base commit by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2569
- Github: New GitHub action to measure and report firmware size of PRs by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2547
New Contributors
- @hpetersen made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2558
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.13.0...v11.0.0
Energy Storage - Battery
- C++
Published by dalathegreat about 2 months ago
Battery-Emulator - v10.13.0
What's Changed ๐ฆ
This release contains several MQTT improvements. MQTT users especially should check out each PR listed below for more information. In particular for cell voltages display precision to be 3 in HA, BE device instance needs to be deleted from HA MQTT integration, and then BE needs to be rebooted, in order to be re-discovered with the new entity settings
This release also adds DTC reading and clearing for BYD Vehicles, which will help develop the integration further, and aid troubleshooting misbehaving BYD packs.
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Nissan LEAF: Avoid false temperature warning events on AZE0 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2500
- BYD Vehicle: Live DTC Read & Erase by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2519 & https://github.com/dalathegreat/Battery-Emulator/pull/2485
- BMW i3: Significant protocol improvements, battery now estimates SOC% more like it would in vehicle. by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2506
- BMW i3: DTC JSON list added by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2529
- Volkswagen MEB: Avoid high temperature diff on reboot by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2530
- Zoe Gen2: Filter out incorrect startup readings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2531
Hardware ๐ค
- Fix BEcom -> BECom in release_assets by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2498
- Waveshare: Add secondary battery contactor pin by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2514
- T2CAN: CAN-FD bugfix; Fix autodetection to use correct TCDO value, validation by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2522
Connectivity
- MQTT: Fixed an issue where
SET_LIMITSdischarge limit compared against wrong (charge) setpoint by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2509 - MQTT: Set suggested display precision to 3 and proper icon for cell voltages in HA discovery by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2510
- MQTT: Add
state_classassignment forbalancing_active_cellsautodiscovery sensor by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2508 - MQTT: Feature; Complete MDI icon coverage for HA autodiscovery entities by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2516
Housekeeping ๐งน
- DTC feature: JSON files documentation by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2504
- Bump actions/cache from 5 to 6 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2515
- Actions improvement: rename firmware.bin inside ZIP with PR# and short SHA for clarity by @nagyrobi in https://github.com/dalathegreat/Battery-Emulator/pull/2523
New Contributors
- @nagyrobi made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2509
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.12.0...v10.13.0
Energy Storage - Battery
- C++
Published by dalathegreat about 2 months ago
Battery-Emulator - v10.12.0
What's Changed ๐ฆ
This release adds support for running 2x CAN-FD interfaces at same time. This enabled triple CAN support on several hardware boards. Notably the Stark CMR can now be retrofitted with a MCP2518FD chip, to make it a 3-CAN board (and 2xFD interfaces at same time!) ๐ ๐ ๐
This release also adds the first official stable version for the BEcom hardware ๐ค
โ ๏ธ This release also fixes critical bugs related to contactor control in triple battery setups, along with improving overall safety by now waiting until communication with battery has been established before engaging GPIO controlled contactors.
We also added a notification system inside the webserver, where users will be notified once a new version of Battery-Emulator is available.
There is also a new checkbox for extending the CAN inverter communication timeout. Some inverters (Like Sungrow and offgrid Deye), need a longer than 60 second timeout. If you encounter CAN_INVERTER_MISSING and you are sure communication works, you can now enable the new "Allow longer CAN timeout" option, which triples the timeout period
Apart from all this, there are several other bugfixes and enhancements. Please check out the full list of changes 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Tesla S/3/X/Y: Bugfix; Fix initialization for double battery by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2471
- Kia EGMP: Allow float charging between 99-100% by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2432
- Bugfix: Interconnect contactor battery 3 was not working on triple battery setups by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2493
- Safety โ ๏ธ We now wait with engaging GPIO controlled contactors until battery communication is established by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2494
- BMW SBOX: Speed up CAN sending from 20ms to 10ms by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2495
Inverters โก
- All inverters: Added "Long inverter CAN timeout" config option to webserver by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2466
- Safety โ ๏ธ Added 20 mV hysteresis to per-cell overvoltage charge cut to avoid inverters constantly charge/stop/charge/stop cycling by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2486
- Solax: Fix inverter contactor webserver save workaround by @frenetic1 in https://github.com/dalathegreat/Battery-Emulator/pull/2477
- SMA: Startup grace period for SMA inverter CAN watchdog by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/2483
Hardware ๐ค
- T-2CAN: Add-on MCP2518FD for T-2CAN board, freq autodetection by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2469
- Stark CMR: Add-on MCP2518FD for Stark board by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2492
- All HW: Add-on CAN Crystal frequency now autodetected, configuration removed from webserver by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2469
- BEcom: Add BEcom images to release, update python version to latest by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2478
- Add SMA contactor input for Waveshare by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2496
Housekeeping ๐งน
- Feature: Add notification in Webserver when new BE release is available by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2481
- OTA: Pause battery usage before OTA restarting to avoid contactor wear by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2489
- Cybersecurity: Improve Webserver interface logout handling by @DeadmaroZ-TLOTL in https://github.com/dalathegreat/Battery-Emulator/pull/2480
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2490
- Unit test: ensure compatibility with AppleClang/macOS by @lenvm in https://github.com/dalathegreat/Battery-Emulator/pull/2482
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.11.0...v10.12.0
Energy Storage - Battery
- C++
Published by dalathegreat 2 months ago
Battery-Emulator - v10.11.0
What's Changed ๐ฆ
This release improves cybersecurity, by adding the possibility to lock the webserver behind an username/paassword. It also adds new features such as contactor control for BYD batteries, support for double-Tesla battery setups, and much more. It also starts the Diagnostic Trouble Code (DTC) refactoring project, which aims to offload DTC descriptions to the repository, instead of consuming precious flash storage space. This means the old flash limited ESP32 boards like LilyGo T-CAN485 will now benefit from the previously featuregated DTC descriptions in integrations such as BMW iX / PHEV. DTC information is read from the internet instead of from flash. Massive thanks to @malec1984 & @jonny5532 for the work!
The new option to enable username/password for the webserver
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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Added support for Double Tesla S/3/X/Y Battery + Cellmonitor fix by @nizmot in https://github.com/dalathegreat/Battery-Emulator/pull/2378
- Tesla S/3/X/Y: Hide NOT_ACTIVE faults on Tesla HTML by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2410
- Relion LV: Add contactor control via CAN by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2361
- Relion LV: Bugfix, handle battery3 contactor closing properly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2413
- MG5/ZS/MarvelR general stability fixes by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2417
- BYD Batteries: Added full contactor control via CAN/Webserver (previosly we could only close contactors and never open them) by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2453
- BYD Batteries: Fixed crash that occured when double battery was enabled by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2427
- BYD Batteries: Feature: Extend BYD auto-SOC-calibration and diagnostics to second battery by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2431
- Ford: Improve scaling of values in more battery info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2418
- Ford: Add missing enumeration for rebalance status by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2452
- Tesla Legacy: Add more BMS reset commands by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2425
- Feature: Add DTC clearing for many battteries (Nissan/Renault/etc.) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2443
- BMW PHEV: Contactor control, balancing, isolation & DTCs implemented by @wjcloudy in https://github.com/dalathegreat/Battery-Emulator/pull/2462
Inverters โก
- Solax: Multiple tesla batteries now possible to run with new contactor control dropdown option by @frenetic1 in https://github.com/dalathegreat/Battery-Emulator/pull/2211
- Kostal: Fixed an issue where battery->update_values() was called too often by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2463
Hardware ๐ค
- Waveshare: Add GPIO 1/2 configurable option for status LED or I2C display by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2412
- Waveshare: Add MEB precharge pins to HAL by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2421
- BECom: Add second MCP2518 (CAN-FD2) interface option by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2068
Housekeeping ๐งน
- Cybersecurity: Added password protection for web interface, by @DeadmaroZ-TLOTL in https://github.com/dalathegreat/Battery-Emulator/pull/2449
- Library ๐ Update ESP32 to v3.3.9 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2440
- Bugfix: CANFD restart not working by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2423
- DTC refactoring:
- Enhancement: DTC description files by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2437
- Feature: ISO-TP library by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2451
- DTC: Add initial DTC JSONs (Ford & Volvo SPA & Nissan LEAF) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2424
- Enhancement: DTC descriptions based on JSON file by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2430
- Improvement: Reduce number of duplicate builds by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2459
- Feature: Add component detection events to make system easier to troubleshoot by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2455
New Contributors
- @DeadmaroZ-TLOTL made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2449
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.10.1...v10.11.0
Energy Storage - Battery
- C++
Published by dalathegreat 2 months ago
Battery-Emulator - v10.10.1
What's Changed ๐ฆ
NOTE: Same release note as v10.10.1, this release just fixes the broken More Battery Info page
This release adds support for Dyness Tower batteries, adds support for automatic SOC calibration for BYD batteries, and turbocharges the Ford Mustang MachE integration with More Battery Info+DTC clear. The release also contains many improvements, see 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Added support for Dyness Tower ๐ by @tekampe-oss in https://github.com/dalathegreat/Battery-Emulator/pull/2120
- BYD Vehicle: Feature: Automatic SOC Calibration by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2241
- BYD Vehicle: Add support for 172S BYD batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2374
- Ford MachE: Add More Battery Info page + DTC reset button by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2391
- MEB: Improve MEB code readability by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2353 & https://github.com/dalathegreat/Battery-Emulator/pull/2388
- CMFA: Improve current resolution, tidy FP math by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2358
- BMW i3: Contactor close change in logic by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2356
- Zoe Gen1: Improve current resolution, tidy FP math by @Dibblah1 in https://github.com/dalathegreat/Battery-Emulator/pull/2385
- Tesla S/3/X/Y: Don't show lines with "NOT_ACTIVE" in More Battery Info by @nizmot in https://github.com/dalathegreat/Battery-Emulator/pull/2368
Inverters โก
- Foxess: Reduce flash usage and add reverse engineering comments by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2402
- Solax: Add MAC-derived battery identities, which improves Solax Cloud visibility by @Dibblah1 in https://github.com/dalathegreat/Battery-Emulator/pull/2383
Connectivity ๐
- MQTT: Improve balancing visualization via MQTT by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2363
Hardware ๐ค
- Waveshare: Add support for GPIO contactor control by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2362
- Waveshare: Make sure included in build release directory by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2351
- Waveshare: Added Waveshare hardware identifier to main landing page by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2379
Housekeeping ๐งน
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2394
- Bugfix: Logging improvements by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2373
- Improvement: Add hysteresis to low heap event by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2404
New Contributors
- @Dibblah1 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2385
- @nizmot made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2368
- @tekampe-oss made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2120
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.9.0...v10.10.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - v10.10.0
What's Changed ๐ฆ
This release adds support for Dyness Tower batteries, adds support for automatic SOC calibration for BYD batteries, and turbocharges the Ford Mustang MachE integration with More Battery Info+DTC clear. The release also contains many improvements, see 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- Added support for Dyness Tower ๐ by @tekampe-oss in https://github.com/dalathegreat/Battery-Emulator/pull/2120
- BYD Vehicle: Feature: Automatic SOC Calibration by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2241
- BYD Vehicle: Add support for 172S BYD batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2374
- Ford MachE: Add More Battery Info page + DTC reset button by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2391
- MEB: Improve MEB code readability by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2353 & https://github.com/dalathegreat/Battery-Emulator/pull/2388
- CMFA: Improve current resolution, tidy FP math by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2358
- BMW i3: Contactor close change in logic by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2356
- Zoe Gen1: Improve current resolution, tidy FP math by @Dibblah1 in https://github.com/dalathegreat/Battery-Emulator/pull/2385
- Tesla S/3/X/Y: Don't show lines with "NOT_ACTIVE" in More Battery Info by @nizmot in https://github.com/dalathegreat/Battery-Emulator/pull/2368
Inverters โก
- Foxess: Reduce flash usage and add reverse engineering comments by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2402
- Solax: Add MAC-derived battery identities, which improves Solax Cloud visibility by @Dibblah1 in https://github.com/dalathegreat/Battery-Emulator/pull/2383
Connectivity ๐
- MQTT: Improve balancing visualization via MQTT by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2363
Hardware ๐ค
- Waveshare: Add support for GPIO contactor control by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2362
- Waveshare: Make sure included in build release directory by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2351
- Waveshare: Added Waveshare hardware identifier to main landing page by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2379
Housekeeping ๐งน
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2394
- Bugfix: Logging improvements by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2373
- Improvement: Add hysteresis to low heap event by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2404
New Contributors
- @Dibblah1 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2385
- @nizmot made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2368
- @tekampe-oss made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2120
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.9.0...v10.10.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - v10.9.0
What's Changed ๐ฆ
This release adds support for a new hardware option. Say hello to the Waveshare ESP32-S3 RS485 CAN hardware The release also contains many improvements, see 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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Batteries ๐
- BMW i3: Improve robustness of automatic AH detection for 60AH packs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2346
- BMW i3: Filter out unavailable values doing startup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2325
- Renault Zoe Gen2: Invert shunt balancing status order by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2338
- Dacia Spring: Add override charge/discharge power setting for locked CMFA platform batteries by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2326
- BYD vehicles: Make it less likely for user to overwrite current AH capacity when doing SOC calibration by @demon1300 in https://github.com/dalathegreat/Battery-Emulator/pull/2337
Inverters :zap
- BYD CAN: Add message 0x191 to handler by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2349
- BYD-CAN: Compute rated/remaining Ah from nominal voltage to improve Deye support by @vitalii-ch in https://github.com/dalathegreat/Battery-Emulator/pull/2344
- Sofar CAN: Remove CAN timeout by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2345
Hardware ๐ค
- Added support for Waveshare ESP32-S3 RS485 CAN hardware by @cray9000 in https://github.com/dalathegreat/Battery-Emulator/pull/2339
- Stark CMR: Support for add-on MCP2515 (Makes the Stark a 3-CAN board!) by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2301
- Stark CMR: Make BMS power pin / Precharge pin configurable to allow for 7A power hungry BMSes by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2320
Housekeeping ๐งน
- Improvement: Update compiler warning check ESP32 version to 3.3.8 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2317
- Refactor: Rename bms_status -> system_status by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2321
- Library: MCP2515_Lite fixes: type conversion, risk of dropping frames, dlc limit, speed change by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2324
- Improvement: Make fno-rtti a cxxflag only by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2348
- Refactor: Minor; move parallel_safety to safety folder by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2342
New Contributors ๐ฆธ
- @cray9000 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2339
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.8.0...v10.9.0
Energy Storage - Battery
- C++
Published by dalathegreat 3 months ago
Battery-Emulator - v10.8.0
What's Changed ๐ฆ
This release focuses on low-level performance improvements. It replaces the MCP2515 CAN library with a more SPI efficient version coded by @jonny5532 The release also updates the ESP32 backbone, along with several smaller performannce improvements to avoid TASK_OVERRUN events, and high RAM usage.
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.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Battery ๐
- New battery ๐ Initial implementation of Stellantis SmallWide4x4 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2302
- Tesla S/3/X/Y: Optimize transmit_can into phases to reduce worst-case runtime. Avoids occasional TASK_OVERRUNs seen, by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2286
- Nissan LEAF: Add crude low 12V warning for Nissan LEAF by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2291
- Feature: Add double MG HS PHEV support ๐ ๐ by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2231
- BMW i3: Set startup voltage limit wide to avoid fake events on startup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2303
- Zoe2: Remove general battery caution event that incorrectly triggered by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2307
Inverter โก
- Bugfix: Pylon HV CAN, Fixed an issue where temperatures sent to inverter would be -80*C lower than they should. This was seen especially on Deye inverters running Pylon HV CAN. @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2311
- All inverters: Feature; It is now possible to apply a low pass filter to allowed charge/discharge power, to avoid oscillations when approaching 0W allowed, by @mbuhansen in https://github.com/dalathegreat/Battery-Emulator/pull/2219
Connectivity ๐
- Crashfix: Fixed a section of code that could case a WiFi crash and board reset by @malec1984 in https://github.com/dalathegreat/Battery-Emulator/pull/2305
- MQTT: Bugfix; Added 'sensor.' prefix for default_entity_id to make new MQTT setups smoother by @GerritPost in https://github.com/dalathegreat/Battery-Emulator/pull/2312
- MQTT: Tesla: Add PCS DC-DC metrics support by @gegere in https://github.com/dalathegreat/Battery-Emulator/pull/2250
Housekeeping ๐งน
- Library: Replace ACAN2515 with a new higher performing MCP2515_Lite CAN library by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2278
- Library ๐ Update ESP32 to v3.3.8 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2270
- Optimization: -15680 bytes RAM usage by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2285
- nvm: Replace Preferences to stop missing key errors by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2296
- Fix: Reduce TASK_OVERRUNs by phasing tasks by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2282
- Bugfix: Remove unreliable CPU overheat events and safeties by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2308
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2287
New Contributors
- @gegere made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2250
- @malec1984 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2305
- @GerritPost made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2312
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.7.0...v10.8.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - v10.7.0
What's Changed ๐ฆ
This release is a stability update, checkout the notes for more information on what changes are included
Taking this release into use โ๏ธ
[!IMPORTANT]
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery ๐
- Legacy Tesla: Add BMS reset to More Battery Info page, to allow recovery of faulted BMS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2259
- Tesla S/3/X/Y: Change how low 12V is triggered by @roy13 in https://github.com/dalathegreat/Battery-Emulator/pull/2263
- Tesla S/3/X/Y: Add automatic capacity writing based on vehicle selection by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2218
- Feature: Make rampdown start-% configurable for all integrations using estimated charge/discharge by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2159
- Geely SEA: Add estimated charge/discharge setting until CAN values can be found by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2159
Inverter โก
- Fronius: Increase comm timeout from 3min to 5min by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2276
- SMA: Increase CAN timeout on SMA integrations to avoid contactor opening by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2275
- Pylon RS485: Make integration always send current set charge/discharge limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2267
Hardware ๐ค
- Screen add-on: Fix missing SOC% for double/triple battery setups by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2256
Housekeeping ๐งน
- Library ๐ Update ArduinoJson to v7.4.3 by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2258
- Improvement: Add Events page link for totally faulted systems by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2269
- Bugfix: Stop Preferences reporting bogus errors via serial on boot by @jonny5532 in https://github.com/dalathegreat/Battery-Emulator/pull/2281
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.6.0...v10.7.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - v10.6.0
What's Changed ๐ฆ
This release is a stability update, that contains mostly fixes but also important SAFETY โ ๏ธ updates
Taking this release into use โ๏ธ
[!IMPORTANT]
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery ๐
- Kia/Hyundai 40-64kWh: SAFETY: โ ๏ธ Make allowed charge power limit safer on top end by scaling it correctly by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2208
- Zoe Gen1: Fixed a bug where cellvoltage reading would be incorrect during startup by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2015
- SimpBMS: Correct scaling of battery current value by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2227
- Tesla: NMC packs, allow discharging to lower voltage levels by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2246
- Rivian: Add estimated SOC for locked packs by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2207
- Feature: Make Stellantis ECMP double-battery compatible by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2242
Connectivity ๐
- Update MQTT implementation to stop using deprecated option "object_id". This fixes so that Home assistant no longer throws a warning when using MQTT towards Battery-Emulator by @roy13 in https://github.com/dalathegreat/Battery-Emulator/pull/2174
Inverters โก
- SMA: Add SBS compatible SMA protocol by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2206
- DALY: Allow modifying DALY charge/discharge limit parameters by @M4GNV5 in https://github.com/dalathegreat/Battery-Emulator/pull/2186
Housekeeping ๐งน
- SAFETY: โ ๏ธ Make charge-discharge stop when user set voltage limits are reached by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2137
- SAFETY: โ ๏ธ Treat missing inverter as FAULT which leads to contactor opening by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2248
- Bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2224
New Contributors ๐ฆธ
- @roy13 made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2174
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.5.0...v10.6.0
Energy Storage - Battery
- C++
Published by dalathegreat 4 months ago
Battery-Emulator - v10.5.0
What's Changed ๐ฆ
This release adds support for Ennoid BMS, and also contains a bunch of improvements for various integrations. Read the full release notes to see if any changes are applicable for your hardware.
Taking this release into use โ๏ธ
[!IMPORTANT]
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air. Sorry for the inconvenience!
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Setting up a board for the first time? Use this webpage to flash the board!
Battery ๐
- New Battery ๐ Add support for Ennoid BMS by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2046
- Tesla S/3/X/Y: Improve reading of temperatures from PCS by @josiahhiggs in https://github.com/dalathegreat/Battery-Emulator/pull/2105
- BMW i3: Adjust max voltage for 120AH pack by @odlg in https://github.com/dalathegreat/Battery-Emulator/pull/2162
- BYD: Add more temperature sensors, and filter out unused ones by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2166
- Dacia/Spring K-ZE: Add offset to min/max cellvoltage readings by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2178
- Renault Zoe2: Improve visibility on temporisation by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2176
- Kia EGMP: Add DTC reset button to More Battery info page by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2200
- Double/Triple battery: Fix voltage drift timeout never triggering for battery2/battery3 by @vitalii-ch in https://github.com/dalathegreat/Battery-Emulator/pull/2184
- Feature: Double BOLT-AMPERA battery support ๐๐ by @vitalii-ch in https://github.com/dalathegreat/Battery-Emulator/pull/2181
Inverter โก
- Fronius: Use actual battery voltage for calculating charge/discharge limits by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2177
Housekeeping ๐งน
- Crashfix: prevent LoadProhibited core panic on /advanced page with multiplโฆ by @DevNar in https://github.com/dalathegreat/Battery-Emulator/pull/2189
- Crashfix: Don't start if we fail MQTT initialization by @dalathegreat in https://github.com/dalathegreat/Battery-Emulator/pull/2196
- Automatically refresh Event page by @drc38 in https://github.com/dalathegreat/Battery-Emulator/pull/2170
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/dalathegreat/Battery-Emulator/pull/2204
New Contributors
- @DevNar made their first contribution in https://github.com/dalathegreat/Battery-Emulator/pull/2189
Full Changelog: https://github.com/dalathegreat/Battery-Emulator/compare/v10.4.0...v10.5.0
Energy Storage - Battery
- C++
Published by dalathegreat 5 months ago
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 5 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 5 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 6 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 6 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 6 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 7 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 7 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 7 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 7 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 7 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 8 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 8 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 8 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 8 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 9 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 9 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 9 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 10 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 10 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 10 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 11 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 11 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 11 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 11 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 11 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 11 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 12 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 12 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 12 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 12 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 12 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 12 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 12 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 about 1 year 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 about 1 year 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 about 1 year 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 about 1 year 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 about 1 year 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 about 1 year 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 over 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 over 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 over 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 over 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 over 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 over 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 over 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 over 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 almost 2 years 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 about 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 about 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 about 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 about 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 about 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 about 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 about 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 about 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 over 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 over 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 over 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 over 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 over 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 over 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 over 2 years ago