Commit Graph
123 Commits
Author SHA1 Message Date
Sebastian 8073810b04 Adjust Rebulk SoC if higher than target SoC
With Automatic SoC Limit Mode set to Float and Rebulk SoC >= Automatic SoC Limit it won't work as expected because Rebulk SoC takes priority and switches to Bulk. This was reported in the forum: https://diysolarforum.com/threads/yambms-jk-bms-can-with-new-cut-off-charging-logic-open-source.79325/page-294#post-1848293

When Rebulk SoC >= Automatic SoC Limit and Automatic SoC Limit is enabled, set Rebulk SoC to Automatic SoC Limit - Auto SoC Limit Hysteresis - 5%. For example: Rebulk SoC = 85%, Automatic SoC Limit = 80%, Auto SoC Limit Hysteresis = 5% would result in Rebulk SoC = 70%.
2026-06-29 20:55:03 +02:00
Sleeper85 a19890bc0d Added the canbus_link_timer_enabled option #268 2026-06-28 14:59:44 +02:00
Sleeper85 9bcb4d7177 New yambms_id format 2026-06-28 00:09:39 +02:00
Sleeper85 f117319007 Improved Sub-Devices and entity names 2026-03-24 00:37:48 +01:00
Sebastian 62791addde Add support for Rebulk Days (#259)
This adds `Rebulk Days` which specify the number of days since last full charge to enter `Bulk` again. It works like `Rebulk SoC` or `Rebulk V.` and can be disabled by setting it to 0 days.
2026-03-16 17:38:28 +01:00
Sebastian c5d9fdd66a Auto EOC: Factor in Auto SoC Limit for battery capacity calculation (#258) 2026-03-15 11:26:38 +01:00
Sebastian 11464f4ad2 Improve Auto SoC Limit function (#256)
- Disable when `Force Bulk` is active
- Disable when charging status is not `Bulk` or `Float`
- Add additional status messages to make clear what happens
2026-03-15 11:25:36 +01:00
Sebastian 78aff46702 Add support for Auto SoC Limit (#255) 2026-03-11 23:17:22 +01:00
Sleeper85 8cbfc17ead Improved YamBMS core #249 2026-03-10 20:00:10 +01:00
Sleeper85 37fcfbbb5a Improved YamBMS core #182 #247 #249 2026-03-08 03:31:31 +01:00
Sebastian dbd3675363 Auto CCL/DCL: Add division by zero/isnan checks (#244)
* Auto CCL: Add division by zero/isnan checks
* Auto DCL: Check values before calculation
* Auto CVL: isnan/value checks
2026-02-25 19:37:47 +01:00
Sebastian aad9f31f1f Value checks (#243)
* Add checks to avoid division by zero
* Auto float: Code cleanup
* Auto temp CCL/DCL: Check if battery capacity is 0
* Canbus: || vs. |
2026-02-25 19:35:13 +01:00
Sebastian 4c31809ec4 Auto EOC: Reset filtered current when disabled (#246) 2026-02-23 18:47:12 +01:00
Sleeper85 9af9912fb8 Added trigger_on_initial_state: true 2026-02-19 23:03:23 +01:00
Sleeper85 fcad4d6fc1 Added new LVGL display 800x400 basic blue 2026-02-18 10:36:17 +01:00
Sleeper85 dacf36e280 Fixed RS485 PYLON device_id 2026-02-17 11:46:57 +01:00
Sleeper85 6fb2710095 Added canbus_extended_ack for Schneider XW Pro 2026-02-16 10:06:20 +01:00
Sleeper85 de35aa593c Fixed Force Bulk issue #215 2026-02-12 21:22:55 +01:00
MrPabloUK f405228fc4 Auto CCL & DCL - Re-implement Soft Current Ramp (#219) 2026-02-11 09:44:32 +01:00
Sleeper85 e47d478a65 Improved code + fixed issue #218 2026-02-11 01:59:52 +01:00
Sleeper85 5f50f158ee Added yambms_debug logs 2026-02-09 23:59:25 +01:00
MrPabloUK d0ec5798e9 Auto CCL and DCL to new loop (#212)
* Auto CCL and DCL to new loop
* Refactor ratio calculation to use float
* Refactor to use float for performance and ram usage improvement
2026-02-08 19:17:05 +01:00
Sleeper85 881e9b5d28 Added ${yambms_id}_var_auto_ccl_soft_landing global var 2026-02-08 12:57:11 +01:00
Sleeper85 6836806bb0 Fixed issue #195 2026-02-07 13:54:25 +01:00
Sleeper85 98b815e3ee Fixed on_boot priority 2026-02-07 12:42:52 +01:00
Sleeper85 0b2cd66bc5 Fixed comments identation 2026-02-06 11:34:50 +01:00
MrPabloUK e846ff8ea2 Update fault registry source sensors to trigger on initial state (#203) 2026-02-05 23:44:42 +01:00
MrPabloUK 447a18b832 Component Fault Registry & Advanced LED Control (#194) 2026-02-05 09:26:49 +01:00
Sebastian 9f5eccbfba Auto EOC to new CCL loop (#185) 2026-02-03 12:57:29 +01:00
Sleeper85 b0a4c6c645 Fixed CCL and DCL init + added more yambms_debuglogs 2026-02-02 14:12:24 +01:00
Sleeper85 81afb1d054 Corrected display of the SOC and SOH unit 2026-02-02 12:53:13 +01:00
Sleeper85 3590e68ec2 Added more yambms_debug logs 2026-02-02 12:37:36 +01:00
Sleeper85 e6a47a8a91 Improved YamBMS initialized validation 2026-02-02 10:36:28 +01:00
Sleeper85 471a25b8e7 Added more yambms_debug logs 2026-02-01 18:37:02 +01:00
Sleeper85 434db0ebdc Improved YamBMS datas control + yambms_debug logs 2026-02-01 08:11:54 +01:00
Sleeper85 5741cf9eb3 LED Control Logic moved to the board itself 2026-01-31 19:34:14 +01:00
Sleeper85 5c2ca5c35a Fixed the behavior observed in issue #180 2026-01-31 14:18:41 +01:00
MrPabloUK d44f3921dd Added a new board_options_led_control.yaml file to manage LED behavior based on status sensors (#179)
- Adjusted light control logic to handle RGB settings and state changes more effectively.
- Introduced a new substitution `board_has_rgb` to indicate RGB functionality availability.
- Removed the deprecated `board_options_rgb_led_status.yaml` file.
- Enhanced CAN bus and RS485 configurations to include LED control based on device status.
- Updated T-Connect and YamBMS behaviour documentation
2026-01-30 19:31:36 +01:00
Sleeper85 089338ace1 New YamBMS 1.7.0 three steps lambdas 2026-01-30 16:56:04 +01:00
Sebastian a9c8443a66 Provide connected BMS IDs to shunt (#158)
The `bms_ids` variable allows to provide an array of BMS IDs that are connected to this shunt.

If one or more BMS from this array are offline, the shunt is not used anymore (Combine = Disabled). This avoids returning a wrong SOC when not all batteries are online/available anymore.

If the BMS goes online again, the shunt is then used again.

This variable is optional. If not provided, the shunt work independently from the BMS online status.

Examples:
```
bms_ids: '{1}'
bms_ids: '{1, 2}'
bms_ids: '{4, 5, 6}'
```
2026-01-26 21:31:46 +01:00
Sleeper85 95bb4ec4f0 Fixed JSON GET for esphome 2026.1 2026-01-22 22:29:04 +01:00
Sleeper85 edf75f0fbe Fixed issues #10 and #161 2026-01-21 13:03:13 +01:00
Sleeper85 2c6e5d759d Fixed web_server Max requested current (issue #159) 2026-01-16 00:32:00 +01:00
Sebastian f924af33f4 Update temperature sensor filters to reduce noise (#155)
* Update BMS min/max temperature filters to filter out noise
* Add filters for Basen temperature sensors
  - Basen temperature sensors only have full integer resolution. Add additional filters to reduce noise.
* Update filter for min/max temperature
  - Change filters for min/max temperature to reduce noise introduced by changes in the lowest bit (0.1°C). Otherwise this noise will be forwarded by auto temp based current to the requrested charge/discharge current and therefore to the inverter.
2026-01-14 09:20:48 +01:00
Sleeper85 78e8b21977 Dual counter for entering and exiting the Cut-Off phase 2026-01-13 18:57:42 +01:00
MrPabloUK 8490f9c4ad CCL, DCL and Auto Temp Current Control (#147)
* CCL, DCL and Auto Temp Current Control

* Added following:
- Update temperature based current derating, now uses calibrate_linear
- Revised CCL and DCL to correctly apply derating when multiple functions are enabled
- Added diagnostic sensor showing derating reason
* Changed referenced sensor for Auto DCP temperature derating
* Updated Auto Temp logic
* Add documentation, rename package
2026-01-06 18:01:45 +01:00
MrPabloUK c810ae8f10 Updated AutoCCL & AutoDCL explanation, real time control of AutoCVL (#144) 2025-12-30 22:12:18 +01:00
Sleeper85 0caee3801c Improved Cut-Off charging logic equation and documentation (PR #143) 2025-12-29 15:36:57 +01:00
Sleeper85 a343ee32ab Fixed entity names following sub_device PR #134 2025-12-23 12:25:13 +01:00
Sleeper85 eaf65ded61 Increase LFP cv_min to 3.375 2025-12-17 19:22:19 +01:00