Update EG4 LL-V2 component to v1.1.0 (fixes zero-value BMS readings) (#315)

* Update EG4 LL-V2 component to v1.1.0

Fixes RAR/esphome-eg4-bms#7: some EG4 LL-V2 units intermittently answer
with a CRC-valid function-03 response whose register data area is
entirely zero. The component published those zeroes as a real reading,
collapsing SoC, pack voltage and capacity for one poll cycle.

v1.1.0 rejects implausible blocks and no longer lets them refresh the
online tracker, so a unit stuck returning zeroes now goes offline
instead of reporting a flat-zero battery.

No YamBMS-side changes are required: neither EG4 package uses the
removed designed_capacity sensor, and both already use the
cell_average_voltage key.
This commit is contained in:
Andrew Rankin authored and Sleeper85 committed 2026-11-08 23:08:32 +01:00
1 parent fa9f101d1b
commit 40daa229b5
3 files changed
+7 -6

No files matched your search

+1
View File
@@ -18,6 +18,7 @@
* The CCL/DCL auto-limiting globals are now reset at the start of every cycle instead of only being overwritten by their owning function, preventing a past derating reason/value from getting silently stuck if the condition that caused it disappears
* Fixed incorrect Max/Min Cell Voltage scaling (×100 instead of ×1000) sent on the CAN bus for the Deye PCS protocol
* Improved PACE BMS Modbus : power is now computed from current × voltage instead of a raw register (fixes incorrect readings), improved offline detection
* Updated EG4 LL-V2 component to [v1.1.0](https://github.com/RAR/esphome-eg4-bms/releases/tag/v1.1.0) : fixes [issue 7](https://github.com/RAR/esphome-eg4-bms/issues/7), some EG4 LL-V2 units intermittently answer with a CRC-valid response whose register data is entirely zero, which was published as a real reading and collapsed SoC / voltage / capacity for one poll cycle ; those blocks are now rejected and no longer refresh the online tracker
* Reworked Modbus timing options : `send_wait_time` is now a response timeout (default lowered from 2000ms to 200ms) and a new `turnaround_time` option was added; shared multi-node settings (`yambms_config.yaml`) updated accordingly
* New `loop_task_stack_size` option (8192/16384/32768) available on every board, to prevent stack overflow with a large number of BMS/entities, see [documentation](documents/README/LOOP_TASK_STACK.md)
* Updated default PSRAM options for ESP-IDF 5.5+, see [documentation](documents/README/PSRAM_options.md)
@@ -1,5 +1,5 @@
# Updated : 2026.08.14
# Version : 2.0.1
# Updated : 2026.08.15
# Version : 2.0.2
# GitHub : https://github.com/RAR/esphome-eg4-bms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -22,7 +22,7 @@ substitutions:
eg4_modbus_id: modbus_eg4
external_components:
- source: github://RAR/esphome-eg4-bms@v1.0.1
- source: github://RAR/esphome-eg4-bms@v1.1.0
refresh: 0s
uart:
@@ -1,5 +1,5 @@
# Updated : 2026.02.05
# Version : 2.0.3
# Updated : 2026.08.15
# Version : 2.0.4
# GitHub : https://github.com/RAR/esphome-eg4-bms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -27,7 +27,7 @@ packages:
# +--------------------------------------+
external_components:
- source: github://RAR/esphome-eg4-bms@v1.0.1
- source: github://RAR/esphome-eg4-bms@v1.1.0
refresh: 0s
eg4_bms: