Skip to content

Releases: dalathegreat/Battery-Emulator

v7.2.0

15 Sep 20:21
42a51f4
Compare
Choose a tag to compare

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: v7.1.1...v7.2.0

v7.1.1

04 Sep 19:13
2bc8aab
Compare
Choose a tag to compare

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: v7.1.0...v7.1.1

v7.1.0

31 Aug 13:54
2c98596
Compare
Choose a tag to compare

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: v7.0.0...v7.1.0

v7.0.0

15 Aug 10:10
e74bf02
Compare
Choose a tag to compare

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: v6.5.0...v7.0.0

v6.5.0

31 Jul 20:49
a4dba64
Compare
Choose a tag to compare

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

  • Status-bits in PYLON-CAN implemented, this improves Growatt support, by @LevinSwe in #393

Full Changelog: v6.4.0...v6.5.0

v6.4.0

24 Jul 20:33
bb086f3
Compare
Choose a tag to compare

What's Changed

Batteries 🔋

Inverters ⚡

  • Pylon CAN has new configurable options in PYLON-CAN.cpp
    • Add function to byte-swap all 16bit values
    • Add function to enable 30k offset for currents
    • Add function to limit charge/discharge currents from User settings
    • Add status bits
      by @willyfromtheblock in #359
      by @LevinSwe in #287

Housekeeping 🧹

  • Feature: Add SSID/Password writing from webserver! by @dalathegreat in #376
  • Bugfix: Webserver settings page now handles decimals by @GubbJVL in #386

New Contributors

Full Changelog: v6.3.0...v6.4.0

v6.3.0

08 Jul 19:07
fe6586b
Compare
Choose a tag to compare

What's Changed

Batteries 🔋

Housekeeping 🧹

  • CPU load improvement: Apply less filtering on CAN signals by @dalathegreat in #345
  • CPU load improvement: Removed unused MQTT subscription functionality by @fspijkerman in #358
  • CPU load improvement: Improve performance on LED driver by @dalathegreat in #364
  • Use unsupported but working ESP32 version in PlatformIO to enable using this IDE by @puffnfresh in #361
  • Create CONTRIBUTING.md file to instr by @dalathegreat in #363
  • Bump arduino/setup-arduino-cli from 1 to 2 by @dependabot in #371

New Contributors

Full Changelog: v6.2.1...v6.3.0

v6.2.1

16 Jun 20:49
fb1716d
Compare
Choose a tag to compare

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 🧹

  • Bugfix: CAN overrun events are now cleared to help spot CPU load issues, by @dalathegreat in #344
  • Bugifx: Move WIFI out from the core task by @Cabooman in #346

Batteries 🔋

Full Changelog: v6.2.0...v6.2.1

v6.2.0

16 Jun 14:20
fa40746
Compare
Choose a tag to compare
v6.2.0 Pre-release
Pre-release

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 🧹

  • Bugfix: CAN overrun events are now cleared to help spot CPU load issues, by @dalathegreat in #344
  • Bugifx: Move WIFI out from the core task by @Cabooman in #346

Batteries 🔋

Full Changelog: v6.1.0...v6.2.0

v6.1.0

10 Jun 20:43
b7d76a7
Compare
Choose a tag to compare

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 🔋

  • Feature: Add initial support for BYD Atto 3 batteries 🔋 by @dalathegreat in #325
  • Improved code performance on LEAF and Kia batteries, by copying the cellvoltages in a smarter way, by @amarofarinha in #332

Inverters ⚡

  • Bugfix: Division by 0 could crash the emulator. Affected protocols Solax, SMA and BYD. Fixed by @dalathegreat in #340

Housekeeping 🧹

Full Changelog: v6.0.0...v6.1.0