Commit Graph
701 Commits
Author SHA1 Message Date
Sleeper85 e183d206bc PSRAM options 1.1.4 for ESP-IDF 5.5+ 1.7.0 2026-08-17 09:02:31 +02:00
Sleeper85 e6bfef665c Updated YamBMS display readme 2026-07-15 16:06:57 +02:00
Sleeper85 277cfd49bc Compliance with esphome PR_11969 (modbus_server send_wait_time) 2026-07-11 00:29:11 +02:00
Sleeper85 7d76d7c991 Compliance with esphome 2026.6.0 (modbus_server) 2026-07-11 00:16:36 +02:00
Sleeper85 69ac0294e1 Compliance with esphome PR_11781 (modbus_controller) 2026-07-11 00:05:53 +02:00
Sleeper85 8439fd6ffc Compliance with esphome PR_11969 (modbus send_wait_time) 2026-07-11 00:05:53 +02:00
Sleeper85 7df415153b Create RS485-protocol-pylon-low-voltage-V3.5-20190807.pdf 2026-07-11 00:05:53 +02:00
Sleeper85 456d8a9a7f Added T-Connect-Pro-Lite board 2026-07-11 00:05:53 +02:00
Sleeper85 ffddcc01be T-Connect boards doc updated 2026-07-11 00:05:53 +02:00
Sleeper85 f186f53da3 Uncomment cell balancing trigger voltage name 2026-07-02 11:37:46 +02:00
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 fbeb69208f New Blue Navy Overview design 1.1.2 2026-06-29 17:39:36 +02:00
Sleeper85 b88102bf85 Added invert_colors: true 2026-06-29 17:09:08 +02:00
Sleeper85 ef06261150 Fixed ${yambms_id} 2026-06-29 16:07:07 +02:00
Sleeper85 20a0906d15 Setup new mipi_spi display platform 2026-06-29 12:21:30 +02:00
Sleeper85 3da758fe00 Fixed yambms_id 2026-06-29 12:21:16 +02:00
Sleeper85 c2638b5e02 Update README.md 2026-06-29 02:07:29 +02:00
Sleeper85 50c6e3b246 YamBMS 1.7.0 examples 2026-06-29 01:54:55 +02:00
Sleeper85 48c7e779c0 YamBMS 1.7.0
* Partial rewrite of `yambms_core` and merging of C++ code into a single lambda in several stages with increased datas control.
  * Added LVGL display dashboard for Waveshare Touch-LCD 4.3" and 7" (Blue Navy 800x480 design)
  * Fixed [issue 10](https://github.com/Sleeper85/esphome-yambms/issues/10) Sending CAN bus data before the end of the combination process
  * Fixed [issue 154](https://github.com/Sleeper85/esphome-yambms/issues/154) Add `Enerkey Balancers` balance stop diff voltage setting (register 0x1A)
  * Fixed [issue 160](https://github.com/Sleeper85/esphome-yambms/issues/160) The SOH sensor is interpreted as a battery percentage
  * Fixed [issue 182](https://github.com/Sleeper85/esphome-yambms/issues/182) Compliance of Auto functions for YamBMS 1.7.0
  * Fixed [issue 268](https://github.com/Sleeper85/esphome-yambms/issues/268) [Add an option] The inverter is not sending ACK CAN ID 0x305
  * Fixed [issue 282](https://github.com/Sleeper85/esphome-yambms/issues/282) JK errors_bitmask has been removed
  * Merged [PR 281](https://github.com/Sleeper85/esphome-yambms/pull/281) Add WS Touch-LCD-4.3B board 
  * Merged [PR 261](https://github.com/Sleeper85/esphome-yambms/pull/261) Add LilyGo T-Connect Pro Lite board (without screen)
  * Merged [PR 259](https://github.com/Sleeper85/esphome-yambms/pull/259) Add support for Rebulk Days
  * Merged [PR 258](https://github.com/Sleeper85/esphome-yambms/pull/258) Auto EOC: Factor in Auto SoC Limit for battery capacity calculation
  * Merged [PR 255](https://github.com/Sleeper85/esphome-yambms/pull/255) Add support for Auto SoC Limit
  * Merged [PR 236](https://github.com/Sleeper85/esphome-yambms/pull/236) Switch to VictronMPPT-ESPHOME fork
  * Merged [PR 235](https://github.com/Sleeper85/esphome-yambms/pull/235) Basen: Add "Enable communication" switch
  * Merged [PR 200](https://github.com/Sleeper85/esphome-yambms/pull/200) Add M5Stack Tab5 with LVGL display
  * Merged [PR 199](https://github.com/Sleeper85/esphome-yambms/pull/199) Add Ecoworthy BMS integration for YamBMS
  * Merged [PR 194](https://github.com/Sleeper85/esphome-yambms/pull/194) Component Fault Registry & Advanced LED Control
  * Merged [PR 178](https://github.com/Sleeper85/esphome-yambms/pull/178) Basen BMS: Add heating control
  * Merged [PR 170](https://github.com/Sleeper85/esphome-yambms/pull/170) Add Freenove S3 board
  * Merged [PR 162](https://github.com/Sleeper85/esphome-yambms/pull/162) PACE Sensor Fixes
  * Merged [PR 158](https://github.com/Sleeper85/esphome-yambms/pull/158) Automatically disable shunt when connected BMSs are going offline
2026-06-29 01:45:49 +02:00
Sleeper85 9168ad0a7e Merge main into dev: accept all dev changes 2026-06-29 01:41:51 +02:00
Sleeper85 e5631954ec Update Changelog.md 2026-06-29 01:17:11 +02:00
Sleeper85 f764fa73e6 Update Troubleshooting.md 2026-06-29 01:17:05 +02:00
Sleeper85 e82ca7e677 Reorganization of LVGL display packages for greater clarity 2026-06-29 01:10:39 +02:00
Sleeper85 2fa0e40dbe Add balance stop diff voltage setting (register 0x1A) 2026-06-29 01:05:33 +02:00
Sleeper85 23d549ab38 Set esphome min_version to 2026.6.0 2026-06-28 19:51:51 +02:00
Sleeper85 b7c9a0ab85 New mipi_rgb display platform for WS-Touch-LCD boards 2026-06-28 19:51:51 +02:00
Sleeper85 5c0ee0c341 Remove ${name} from board_ESP32-P4_M5Stack-Tab5.yaml 2026-06-28 19:51:51 +02:00
Andrew Rankin 8f1a6dcc76 Tab5: ESPHome 2026.6 / LVGL 9.x compatibility (#285)
* Tab5 LVGL: remove invalid ticks(count:0) from current/power meters

The current_meter and power_meter scales set:
    ticks:
      count: 0

ESPHome's LVGL meter-scale schema requires ticks.count to be >= 2, so
this fails config validation with:
    value must be at least 2.  count: 0

Both gauges are intentionally tick-less (needle + colored arcs only), so
the ticks block serves no purpose. Removing it lets the Tab5 layout
compile while leaving the gauges visually unchanged.

* Tab5: move rotation display->lvgl for ESPHome 2026.6 compat

ESPHome 2026.6 rejects 'rotation' under display: when LVGL is used:
  use of 'rotation' in the display config is not compatible with LVGL,
  please set rotation in the LVGL config instead

Moved rotation: 90 into the lvgl: block. mipi_dsi has no hardware
rotation, so LVGL uses software rotation and now auto-transforms touch
coordinates (LvglComponent::rotate_coordinates). The gt911's manual
transform (swap_xy + mirror_y) would therefore double-rotate touch, so
it is removed and the calibration is swapped to panel-native orientation
(x 0..720, y 0..1280). Net touch mapping is unchanged.

* Tab5: replace deprecated meter 'r_mod' with LVGL 9.x equivalents

LVGL 9.4 removed lv_meter; ESPHome emulates it with lv_scale, which
dropped the 'r_mod' (radius modifier) indicator property:
  WARNING Property 'r_mod' is deprecated, use 'length' instead
  WARNING The 'r_mod' indicator property is not supported in LVGL 9.x
          and will be ignored

- Needle (line indicator): r_mod: 25 -> length: -25. ESPHome internally
  converts r_mod to length=-abs(r_mod) (meter.py), so a negative length
  reproduces the exact same needle; a positive 25 would not.
- Arcs: r_mod has no lv_scale equivalent and was already being ignored,
  so it is simply removed. No visual change.

Net rendering is unchanged; only the deprecation warnings are cleared.

* Tab5 (esphome sensors): use IndicatorLine::set_value, lv_meter removed

LVGL 9.4 removed the lv_meter widget and its C API, so the interval
lambda's lv_meter_set_indicator_value() no longer compiles:
  error: 'lv_meter_set_indicator_value' was not declared in this scope

ESPHome now emulates meter needles with the IndicatorLine compound, so
set the value via id(<needle>)->set_value(int). This matches the codegen
of the lvgl.indicator.update action already used by the _ha_sensors
variant; the _esphome variant just hadn't been migrated.
2026-06-28 15:53:28 +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 683499c8d7 Alignment of sensor names for component JK V3 2026-06-22 16:16:06 +02:00
Sleeper85 bee5abec64 Using a fake sensor instead of errors_bitmask_hex 2026-06-20 00:15:26 +02:00
Sleeper85 3d1ea45eb6 JK BLE - Sync latest changes from @syssi git 2026-06-18 23:40:19 +02:00
Sleeper85 06d60d3061 Merge branch 'dev' of https://github.com/Sleeper85/esphome-yambms into dev 2026-06-18 00:17:19 +02:00
Sleeper85 772a6324bf Dashboards 1.7.0 reorganized with Markdown cards 2026-06-18 00:17:12 +02:00
JD-Vaulta 1c8896571a Add WS-Touch-4.3B board (#281) 2026-06-17 15:10:40 +02:00
Sleeper85 7cb446914a Added ESPHome 2026.4 Warning 1.6.0 2026-04-19 08:42:24 +02:00
Sleeper85 f76fa033cf Added warning on parallel and series BMS 2026-04-17 08:51:50 +02:00
Sleeper85 0cca823d0c YamBMS 1.7.0 (fixed version) 2026-04-17 08:26:59 +02:00
Sleeper85 ad0480c5bb YamBMS 1.7.0 - Added sub-devices comments 2026-03-24 20:06:54 +01:00
Sleeper85 1a3bb55403 Dashboard 1.7.0 new Auto Functions tab 2026-03-24 01:24:18 +01:00
Sleeper85 f117319007 Improved Sub-Devices and entity names 2026-03-24 00:37:48 +01:00
Sebastian be772ab1fc Throttle/filter BMS sensors (#242) 2026-03-16 17:52:54 +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
David Coulson 3b7238f3c7 Board file for LilyGo T-Connect Pro Lite (without screen) (#261) 2026-03-16 17:13:56 +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 fc741b942d Create STUDY_2018_Analysis_and_modeling_of_calendar_aging_of_a_commercial_LiFePO4_graphite_cell.md 2026-03-11 21:40:19 +01:00
Sleeper85 8cbfc17ead Improved YamBMS core #249 2026-03-10 20:00:10 +01:00