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 ๐Ÿ”‹

Inverters :zap

Hardware ๐Ÿค–

Connectivity :w

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Connectivity ๐Ÿ›œ

Inverters :zap

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Hardware ๐Ÿค–

Connectivity

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Hardware ๐Ÿค–

Connectivity

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters :zap

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverter โšก

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverter โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Connectivity ๐Ÿ›œ

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverter โšก

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Hardware ๐Ÿค–

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 ๐Ÿ”‹

Inverter โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

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 ๐Ÿ”‹

Inverter โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 โšก

Housekeeping ๐Ÿงน

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

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

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 ๐Ÿ”‹

Connectivity ๐Ÿ›œ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Vehicle ๐Ÿš—

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿค–

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

Unit testing ๐Ÿงช

New Contributors

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

Unit testing ๐Ÿงช

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

Progress towards Common Image

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

Common Image progress

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

Connectivity ๐Ÿ›œ

Hardware ๐Ÿค–

Common Image progress

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Common Image progress

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Progress towards common image ๐ŸŽจ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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!

image

Batteries ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverter โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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:

Batteries ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Houskeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 a Sketch too big compilation error. See the picture below on where to set it:

image

Batteries ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ“ถ

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverters โšก

Houskeeping ๐Ÿงน

New Contributors

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

image

Batteries ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ“ถ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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.

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

image

[!IMPORTANT]
To take into use 8.0.0 version, Copy/Rename the USER_SECRETS.TEMPLATE.h file to USER_SECRETS.h and update connectivity settings inside this file. This is a new mandatory step to increase cybersecurity, to make it less likely for developers to commit sensitive credentials during software development

Batteries ๐Ÿ”‹

Inverters โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Inverters โšก

image

Housekeeping ๐Ÿงน

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:

image

Batteries ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Hardware ๐Ÿค–

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ“ถ

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

New Contributors ๐Ÿฆธ

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Connectivity ๐Ÿ“ถ

New Contributors ๐Ÿ™Œ

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.

image

Batteries ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

Connectivity ๐Ÿ“ถ

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 โšก

Hardware ๐Ÿค–

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

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 ๐Ÿ”‹

Inverter โšก

Connectivity ๐Ÿ“ถ

Housekeeping ๐Ÿงน

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.

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.

image

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 โšก

Batteries ๐Ÿ”‹

Housekeeping ๐Ÿงน

New Contributors

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.

image

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 ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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

โšก Inverters

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

Batteries ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

New Contributors

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 ๐Ÿ”‹

Housekeeping ๐Ÿงน

New Contributors

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:

bild

Housekeeping ๐Ÿงน

Batteries ๐Ÿ”‹

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:

bild

Housekeeping ๐Ÿงน

Batteries ๐Ÿ”‹

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:

bild

Batteries ๐Ÿ”‹

Inverters โšก

Housekeeping ๐Ÿงน

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:

bild

Batteries ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

Hardware ๐Ÿ’ป

New Contributors

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:

bild

Batteries ๐Ÿ”‹

Inverters โšก

Connectivity ๐Ÿ›œ

Housekeeping ๐Ÿงน

Hardware ๐Ÿ’ป

New Contributors

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

Inverters

New Contributors

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

Inverters

Housekeeping

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

Inverters

Housekeeping

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

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.h file, 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 )

bild

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.

bild

Housekeeping

Batteries

New Contributors

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.

317531654-444c20b1-c2bf-45ff-8e0c-cc180169ddcc

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

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:
    • BMW i3 60AH (2014 - 2016) โœ…
    • BMW i3 94AH (2017 - 2018) โœ…
    • BMW i3 120AH (2019 - 2022) โœ…

Inverters

Connectivity

New Contributors

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