What's Changed 📦
This release focuses on low-level performance improvements. It replaces the MCP2515 CAN library with a more SPI efficient version coded by @jonny5532 The release also updates the ESP32 backbone, along with several smaller performannce improvements to avoid TASK_OVERRUN events, and high RAM usage.
Taking this release into use ⚙️
Important
In order to OTA update to this version, you already need to be on a v10 release!
Note that v10 was a major new release of the Battery-Emulator software. The first time when taking a v10 version into use, you are required to perform an initial one time USB setup via this webpage! This is because we changed the flash frequencies, partitioning layouts and other under the hood changes to ensure longterm system stability. After any v10 has been installed via USB, following 10.X.X releases can be updated over the air.
Quickstart video: https://youtu.be/sR3t7j0R9Z0
Battery 🔋
- New battery 🔋 Initial implementation of Stellantis SmallWide4x4 by @dalathegreat in #2302
- Tesla S/3/X/Y: Optimize transmit_can into phases to reduce worst-case runtime. Avoids occasional TASK_OVERRUNs seen, by @jonny5532 in #2286
- Nissan LEAF: Add crude low 12V warning for Nissan LEAF by @dalathegreat in #2291
- Feature: Add double MG HS PHEV support 🔋 🔋 by @dalathegreat in #2231
- BMW i3: Set startup voltage limit wide to avoid fake events on startup by @dalathegreat in #2303
- Zoe2: Remove general battery caution event that incorrectly triggered by @dalathegreat in #2307
Inverter ⚡
- Bugfix: Pylon HV CAN, Fixed an issue where temperatures sent to inverter would be -80*C lower than they should. This was seen especially on Deye inverters running Pylon HV CAN. @dalathegreat in #2311
- All inverters: Feature; It is now possible to apply a low pass filter to allowed charge/discharge power, to avoid oscillations when approaching 0W allowed, by @mbuhansen in #2219
Connectivity 🛜
- Crashfix: Fixed a section of code that could case a WiFi crash and board reset by @malec1984 in #2305
- MQTT: Bugfix; Added 'sensor.' prefix for default_entity_id to make new MQTT setups smoother by @GerritPost in #2312
- MQTT: Tesla: Add PCS DC-DC metrics support by @gegere in #2250
Housekeeping 🧹
- Library: Replace ACAN2515 with a new higher performing MCP2515_Lite CAN library by @jonny5532 in #2278
- Library 📚 Update ESP32 to v3.3.8 by @dalathegreat in #2270
- Optimization: -15680 bytes RAM usage by @jonny5532 in #2285
- nvm: Replace Preferences to stop missing key errors by @jonny5532 in #2296
- Fix: Reduce TASK_OVERRUNs by phasing tasks by @jonny5532 in #2282
- Bugfix: Remove unreliable CPU overheat events and safeties by @dalathegreat in #2308
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2287
New Contributors
- @gegere made their first contribution in #2250
- @malec1984 made their first contribution in #2305
- @GerritPost made their first contribution in #2312
Full Changelog: v10.7.0...v10.8.0