Releases: dalathegreat/Battery-Emulator
v7.9.2
What's Changed
Caution
It is highly recommended to update to this version if you use PWM control
This is another small release, primarily aiming to fix another contactor-PWM related bug
Batteries 🔋
- Feature: Add double battery support for Santa Fe PHEV by @dalathegreat in #596
Inverters ⚡
- Feature: Add target voltage settings, configurable via webserver! by @dalathegreat in #647
Housekeeping 🧹
- Bugfix: Add startup delay for contactors, fix PWM sequence by @dalathegreat in #673
- Bugfix: Add messages needed for Solax Ultra by @dalathegreat in #656
Full Changelog: v7.9.1...v7.9.2
v7.9.1
What's Changed
Caution
It is highly recommended to update to this version if you use PWM control
This hotfix resolves a major issue that affected users that had PWM enabled. If PWM controlled contactors were in use, the Precharge pin would never activate. This caused one user to blow two contactors and a fuse:
- Bugfix: PWM causes precharge to break by @dalathegreat in #668
Batteries 🔋
- BMW i3: Secondary battery fix for cellvoltages, by @beadon in #665
- BYD Atto 3: Update scaling on real SOC by @dalathegreat in #666
Housekeeping 🧹
Full Changelog: v7.9.0...v7.9.1
v7.9.0
What's Changed
This release adds support for the Volkswagen MEB platform. This platform is used across the brands of the Volkswagen Group (VW/ŠKODA/CUPRA/AUDI), used in over 18 different vehicle models.
Batteries 🔋
- New battery: Volkswagen MEB platform support by @dalathegreat and @mvgalen in #405
- Tesla S3XY: Content under "More battery info" greatly extended by @josiahhiggs in #623
Housekeeping 🧹
- Feature: Add initial version of web based CAN logger by @dalathegreat in #639
- Docs: Update README.md by @eltociear in #649
New Contributors 🦸
- @josiahhiggs made their first contribution in #623
- @eltociear made their first contribution in #649
Full Changelog: v7.8.0...v7.9.0
v7.8.0
What's Changed
This release adds support for many new inverter protocols, plus heaps of bugfixes. Massive thanks to all contributors! 🙏
Batteries 🔋
- BYD Atto 3: Add way to use SOC% sent by battery by @dalathegreat in #463
- BMW IX i4-i7 platform: Fixed an issue where stale events were triggered incorrectly by @wjcloudy in #629
- Chademo: Various improvements to Chademo implementation by @NJbubo in #621
- BMW i3: Swapped raw and dash SOC in More Battery Info page by @dalathegreat in #634
- Nissan LEAF: Add insulation reading to webserver by @dalathegreat in #636
Inverters ⚡
- New inverter protocol: Schneider CAN inverter protocol by @dalathegreat in #616
- New inverter protocol: Kostal RS485 protocol by @dalathegreat in #426
- New inverter protocol: SMA Low Voltage 48V CAN protocol by @dalathegreat in #631
Housekeeping 🧹
- Bugfix: Webserver did not reflect paused state on reboot by @dalathegreat in #628
- Bugfix: Scaled Remaining Capacity no longer underflows by @amarofarinha in #637
Hardware 🤖
- Support for controlling contactors via GPIO for two battery packs added (Note, requires 3LB hardware) by @dalathegreat in #619
- Support for using normally closed (NC, inverter logic) contactors added by @dalathegreat in #619
New Contributors 🦸
Full Changelog: v7.7.0...v7.8.0
v7.7.0
What's Changed
This release adds support for new batteries, new inverter protocols, and tons of bugfixes. Massive thanks to all contributors! 🙏
Batteries 🔋
- Feature: New battery, BMW iX and i4-7 platform support by @wjcloudy in #602
- Feature: New battery, Zoe PH2 50kWh by @dalathegreat in #571
- Feature: New battery, Range Rover PHEV by @dalathegreat in #611
- BMW i3:
- Bugfix: Turn off WUP_PIN when contactor open request active by @dalathegreat in #585
- Bugfix: Replace faulty cap check with welded contactor check by @dalathegreat in #588
- EGMP platform: Code cleanup and voltage limits added by @dalathegreat in #486
- Tesla S/3/X/Y, Feature: entering FAULT mode now opens contactors for increased safety @dalathegreat in #570
- Nissan LEAF, Feature: Add degradation data reset for 30kWH LEAF batteries by @dalathegreat in #582
Inverters ⚡
- New inverter implementation "Pylontech LV" by @M4GNV5 in #541
- Pylon CAN: Add remaining capacity writing by @dalathegreat in #594
- Foxess: Fixed an issue causing Inverter missing event to trigger incorrectly by @dalathegreat in #609
- BYD CAN:
- Bugfix: Update reported BYD FW number to 3.29 by @dalathegreat in #598
- Bugfix: Fixed endianess & simplify inverter brand read by @dalathegreat in #613
- Feature: Added more inverter mappings by @dalathegreat in #618
Connectivity 📶
- Added Support for Double-Battery in MQTT Integrations by @amarofarinha in #591
- Improvement: Add charge/discharge current to Webserver by @dalathegreat in #603
Hardware 🤖
- Feature: Add initial support for v0.1 3LB hardware by @dalathegreat in #600
- Bugfix: Precharge Contactor Handling in SHUTDOWN_REQUESTED State and Web Interface Enhancement for Contactor Status Display by @amarofarinha in #584
Housekeeping 🧹
- Feature: CAN logging via serial simplified, by @dalathegreat in #607
- Scalability: Centralize active_power_w writing by @dalathegreat in #615
- Scalability: Webserver / integration simplification by @dalathegreat in #617
New Contributors 🦸
Full Changelog: v7.6.0...v7.7.0
v7.6.0
What's Changed
This update adds support for new batteries and new inverter protocols.
Important
Important note for MQTT users. This release contains breaking changes for MQTT parameter naming. See this link for more info on how to migrate to this release
Batteries 🔋
- Added support for new battery: Renault Twizy (LV) by @M4GNV5 in #537
- Added support for new battery: Cellpower BMS by @dalathegreat in #575
- Tesla S/3/X/Y:
- Tesla SX 2021+ batteries support by @vitalii-ch in #551
- Added extra data enumeration for "More battery info" page by @clowrey in #540
- Nissan LEAF: Add event for unavailable value by @dalathegreat in #559
- Microfeature: Add more battery info for BMW i3 by @dalathegreat in #556
- Microfeature: Add more info page for Atto3 by @dalathegreat in #561
Inverters ⚡
- Added support for Afore inverters
- New inverter protocol: Afore CAN by @dalathegreat in #542
- Bugfix: Add battery capacity writing to BYD CAN by @dalathegreat in #568
Housekeeping 🧹
- Improvement: Values now updated every second instead of once every 5seconds @dalathegreat in #577
- Bugfix: Downgrade SOC check to warning by @dalathegreat in #547
- Development Environment Setup Documentation Improved by @beadon in #545
- Feature: scaled remaining capacity by @amarofarinha in #557
- Calculate scaled remaining capacity using estimated total capacity from SOC by @amarofarinha in #560
- Improvement: Add ifdef to Modbus server error message printing by @dalathegreat in #563
- Feature: CAN-FD crystal frequency setting by @kukumagi in #573
Connectivity 📶
- Enhancement: MQTT topic naming by @amarofarinha in #566
- Remove "Battery Emulator" Prefix from MQTT Sensor Names and Standardize Cell Object IDs by @amarofarinha in #567
- Replace BMS status check with CAN communication status for MQTT updates by @amarofarinha in #580
- Double LilyGo: Increase default Serial_Link baud rate and make it configurable by @mathl79 in #579
New Contributors 🙌
- @M4GNV5 made their first contribution in #537
- @clowrey made their first contribution in #540
- @beadon made their first contribution in #545
- @vitalii-ch made their first contribution in #551
- @mathl79 made their first contribution in #579
Full Changelog: v7.5.0...v7.6.0
v7.5.0
What's Changed
The main driver for this release is support for the Foxess protocol. Massive thanks to TheOfficialBatteryMan on Discord for testing this! Foxess H3 inverters are now supported ✔️
The release also adds a new way to see more battery info in the Webserver. The "More Battery Info" page is a new way to get info without using USB Debug. More development on this will follow in later releases, for now only Nissan LEAF and Tesla batteries have more info.
Batteries 🔋
- Feature: It is now possible to use 2x BYD Atto 3 batteries at the same time (Double-Battery support), by @dalathegreat in #518
- Kia/Hyundai 64/40kWh:
- Fixed an issue that prevented 64kWh batteries from charging over 95%, by @dalathegreat in #528
- kWh size now autodetected, by @dalathegreat in #531
Inverters ⚡
- New protocol: Add new FoxESS inverter protocol by @dalathegreat in #490
- Support for Foxess H3 inverters added
- Solax: Add inverter missing from CAN event, Solax by @dalathegreat in #480
- RJXZS: Map errors to Battery Emulator events by @puffnfresh in #474
- All inverters: Add CAN missing safety Event for all inverter protocols by @dalathegreat in #520
Housekeeping 🧹
- Improvement: Make MCP2515 add-on crystal value easily configurable by @dalathegreat in #515
- Equipment stop:
- Add Debounced Equipment Stop Button Functionality by @amarofarinha in #516
- Keep CAN communications active during Equipment Stop by @amarofarinha in #535
Connectivity 📶
- Microfeature: Add cellmV diff to webserver by @dalathegreat in #525
- Feature: More Battery Info Webpage by @dalathegreat in #530
Full Changelog: v7.4.1...v7.5.0
v7.4.1
What's Changed
This is a bugfix release, which also improves overall safety due to the addition of mandatory cellvoltage checks.
Inverters ⚡
- Solax: Now respects user set charge max limits by @dalathegreat in #513
Hardware 🤖
- Stark CMR: Fix broken RX for CANFD native by @dalathegreat in #512
Housekeeping 🧹
- Safety: Refactor cellvoltage safeties by @dalathegreat in #508
- Feature: Support for External Button and Web-Based Equipment Stop Functionality by @amarofarinha in #506
- Improvement: Clarify usage of webserver authentication setting to prevent compilation errors by @amarofarinha in #509
- Improvement: Confirmation alert for "Pause Charge/Discharge" added by @amarofarinha in #511
Full Changelog: v7.4.0...v7.4.1
v7.4.0
What's Changed
This is a bugfix release with many small fixes. It is essential for smooth OTA updates.
Batteries 🔋
- Bugfix: PWM_CONTACTOR_CONTROL now actually engages contactors by @obbardc in #481
- eGMP: Contactor closing for eGMP now working, by @dalathegreat in #465
- iMIEV: Make cellvoltages min/max work on webserver by @dalathegreat in #503
- iMIEV: Fixed an issue causing all 88 cells not appearing on cellmonitor by @dalathegreat in #504
- Pylon Battery: Add voltage limits, remove faulty safety by @dalathegreat in #489
Housekeeping 🧹
- Feature: Clear events via webpage, by @dalathegreat in #487
- Microfeature: Improved DEBUG_CANFD_DATA output ... MORE! by @StarkJohan in #498
- Bugfix: Compilation issue - order_events declared inside wrong #ifdef by @amarofarinha in #491
- Bugfix: Disable Chained CAN Sending During OTA Updates by @amarofarinha in #497
- Bugfix: Panic issue and pause function terminology by @amarofarinha in #499
- Improvement: OTA Update improved by removing delay and immediate CAN Control by @amarofarinha in #505
Full Changelog: v7.3.0...v7.4.0
v7.3.0
What's Changed
This version adds support for Gen1 Renault Zoe batteries, plus many small bugfixes.
Batteries 🔋
- Renault Zoe Gen1 22/41kWh batteries marked stable, by @dalathegreat in #455
- RJXZS BMS:
- Add ramping charge power + settings by @dalathegreat in #464
- Fixed a bug in an event that could crash the board when inspecting the event list on webserver, by @dalathegreat in #478
Housekeeping 🧹
-
Feature: Added support for fixed IP configuration + refactoring, by @amarofarinha in #466
-
Microfeature: Show CONTACTOR_CONTROL status in the Webserver by @obbardc in #438
-
Improvement: Wi-Fi events handling for disconnect/connect by @amarofarinha in #467
-
Improvement: Compilation Fix for Undefined WiFi Variables by @amarofarinha in #468
-
Improvement: Optimize Event Ordering by Storing Milliseconds and Handling Rollovers by @amarofarinha in #469
-
Bugfix: Fixed an issue preventing MQTT to be used without Webserver @amarofarinha in #470
-
Improvement: MQTT Connection Resilience and Add Event Tracking for Diagnos… by @amarofarinha in #473
-
Improvement: Add initial GitHub Issue/PR templates by @obbardc in #456
-
Bugfix: Pause state update was in wrong place. by @amarofarinha in #476
Full Changelog: v7.2.1...v7.3.0