Commit Graph
757 Commits
Author SHA1 Message Date
Sleeper85 b7bb2e93ea Moved Auto CCL Current Taper section 2026-11-08 23:08:33 +01:00
Sleeper85 e4b8aacc0a Fixed 6h reboot on networks that filter the ESP32 outbound traffic
http_request runs on the loop task, which has a 4s budget before the
5s task WDT panics. A dropped connect() blocks for 4.5s (the ESPHome
default timeout) and a filtered port 53 blocks for a fixed 7s, which
timeout does not cover.

- timeout 3s and watchdog_timeout 60s cover the two blocking paths
- a failure counter stops the service after 3 network-level failures,
  instead of freezing the loop 14s every 6h forever
- the POST is now skipped when the GET failed

Reproduced and measured on OPNsense.
See Design_decisions.md.
2026-11-08 23:08:33 +01:00
Sleeper85 9f90436849 Multi-inverter support, division of CCL/DCL by the number of inverters/chargers 2026-11-08 23:08:33 +01:00
Sleeper85 96ddd2a075 Fixed Combiner stall detector false positive and dashboards
The detector compared var_to_combine_bms/shunt_number with its value on
the previous round, but samples it before the STEP 2 reset - so in a
healthy setup the sampled value is identical every round and was read as
a stall ("Shunt id 2 of 1 declared").

Replaced by an exact completeness test: a chain is complete once its
number is past the number of declared devices. Threshold raised to 5
rounds to absorb interval phase offsets at boot.
2026-11-08 23:08:33 +01:00
Sleeper85 23384f4677 Rollback : don't reset Auto functions vars in core 2026-11-08 23:08:33 +01:00
Sleeper85 803c84d7da Sensors published to NAN when no BMS is combined 2026-11-08 23:08:33 +01:00
Sleeper85 807c9ed841 refactor: convert pylontech_rs485 to list format 2026-11-08 23:08:33 +01:00
Sleeper85 4d4d11e832 Auto CVL - Float / Stop (suspended) 2026-11-08 23:08:32 +01:00
Andrew Rankin 40daa229b5 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.
2026-11-08 23:08:32 +01:00
Sleeper85 fa9f101d1b Move vars bms_model & bms_protocol 2026-11-08 23:08:32 +01:00
Sleeper85 3394976529 New vars Communication Bus & Protocol 2026-11-08 23:08:32 +01:00
Sleeper85 da0e5c8c23 Updated secrets.yaml examples 2026-11-08 23:08:32 +01:00
Sleeper85 bfa36fb15f Added dev README 2026-11-08 23:08:32 +01:00
Sleeper85 6e23ffe202 Added Combiner stall detector 2026-11-08 23:08:32 +01:00
Sleeper85 2cdc61e8b4 Fixed Auto CVL Float lockup at Rebulk threshold
Rewrote Auto CVL from template sensor lambdas to interval
lambdas, splitting each into a value sensor and a delta sensor.

Fixed a bug confirmed in production: Auto CVL's Float floor coincided
exactly with the Rebulk V. threshold, letting it trigger its own rebulk.
The floor is now capped relative to the live target instead of a fixed
chemistry constant, the Float/Stop integral term can no longer get stuck
once clamped, and PI state now resets when crossing the Bulk <-> Float/Stop
boundary.
2026-11-08 23:08:32 +01:00
Sleeper85 5226455f76 Auto Float adapted and reorganized to an interval lambda
Rewrote Auto Float from template sensor lambdas to interval
lambdas, splitting each into a value sensor and a delta sensor.
2026-11-08 23:08:32 +01:00
Sleeper85 717503e73a Added HA entities cleanup readme 2026-11-08 23:08:32 +01:00
Sleeper85 4c2776508c Dashboards 1.8.0 - Fixed Current Taper switch 2026-11-08 23:08:32 +01:00
Sleeper85 485fd8f7a4 YamBMS 1.8.0 changelog 2026-11-08 23:08:32 +01:00
Sleeper85 4bf2362723 Delete YamBMS_multi-node_RS485_modbus_solution.md 2026-11-08 23:08:32 +01:00
Sleeper85 20dd8bcd23 Updated README 2026-11-08 23:08:32 +01:00
Sleeper85 ace139dec0 Moved README 2026-11-08 23:08:32 +01:00
Sleeper85 fd4ee6e903 Current Taper - Compliance with YamBMS core 1.8.0
See Changelog_Auto_CCL_Current_Taper_1.1.2.md
2026-11-08 23:08:32 +01:00
Sleeper85 ab3633b0d9 Auto CVL - Compliance with YamBMS core 1.8.0
Updated to support `Float` and `Stop` CVL.
See Changelog_YamBMS_1.8.0_Auto_CVL.md
2026-11-08 23:08:32 +01:00
Sleeper85 b050aa95a3 Auto Float - Compliance with YamBMS core 1.8.0
Returns `0` if `charging_instruction` is different from `Float`.
2026-11-08 23:08:32 +01:00
Sleeper85 31314847d9 YamBMS core 1.8.0 - CVL, CCL and DCL code improvements 2026-11-08 23:08:32 +01:00
Sleeper85 bd01a127ab YamBMS 1.8.0 examples 2026-11-08 23:08:32 +01:00
Sleeper85 5b424a529b Auto max_index 2026-11-08 23:08:32 +01:00
haysdb a927f7c9b3 Auto CCL Current Taper (#303)
This YAML file implements the Auto CCL Current Taper feature for the YamBMS project, defining various parameters and logic for charge current tapering during battery charging.
2026-11-08 23:08:32 +01:00
Sleeper85 ecfa08c4ae Update yambms_config.yaml 2026-11-08 23:08:32 +01:00
Sleeper85 0003d97614 Update yambms_custom.yaml 2026-11-08 23:08:32 +01:00
Sleeper85 e758b96c95 Allow a negative charger_offset_v 2026-11-08 23:08:32 +01:00
Sleeper85 80ccf671f3 Create Understanding_ESPHome_Modbus.md 2026-11-08 23:08:32 +01:00
Sleeper85 9b2787ecca Improved PACE BMS modbus (esphome >= 2026.7.0) 2026-11-08 23:08:32 +01:00
Sleeper85 f078e3635c Fixed charger_offset_v 2026-11-08 23:08:32 +01:00
Sleeper85 00ced86660 Added PVbrain2 packages section 2026-11-08 23:08:32 +01:00
Sleeper85 c633227c97 Set esphome min_version to esphome 2026.7.0 2026-11-08 23:08:32 +01:00
Sleeper85 2474c1d89f Fixed warning: format '%d' expects argument of type 'int', but argument 5 has type 'uint32_t' 2026-11-08 23:08:32 +01:00
Sleeper85 bcda702fea Fixed warning: suggest braces around empty body 2026-11-08 23:08:32 +01:00
Sleeper85 c82af08d3c Updated multi-node modbus default settings + documentation #310 2026-11-08 23:08:32 +01:00
Sleeper85 c9162e659e Updated default PSRAM options (ESP-IDF 5.5+) + documentation 2026-11-08 23:08:32 +01:00
Sleeper85 9ddd618da7 Added loop_task_stack_size option + documentation #306 2026-11-08 23:08:32 +01:00
Sebastian c1579fed98 Check if Auto SoC Limit has reached its target (#308) 2026-11-08 23:08:32 +01:00
Sebastian 59f844d650 Add grace period to Auto EOC (#290)
* Add grace period to Auto EOC
* Smooth remaining capacity for Auto EOC
2026-11-08 23:08:32 +01:00
Sleeper85 978c634eb9 Improved YamBMS 1.7.1 Cut-Off charging logic 2026-11-08 23:08:32 +01:00
Sleeper85 54febc11b3 Create How_to_perform_a_PR_to_the_dev_branch.md 2026-11-08 23:08:31 +01:00
Sleeper85 489e41c38c Added device_class to number 2026-11-08 23:08:31 +01:00
Sleeper85 fd43abd718 Added substitutions for Custom CCL/DCL Derating Reason 2026-11-08 23:08:31 +01:00
Sleeper85 ace919a175 Improved README after adding max currend c-rate based limit 2026-11-08 23:08:31 +01:00
Sleeper85 00047cb418 New dashboards 1.7.1 with weblink to README 2026-11-08 23:08:31 +01:00