Commit Graph
401 Commits
Author SHA1 Message Date
Sleeper85 e183d206bc PSRAM options 1.1.4 for ESP-IDF 5.5+ 2026-08-17 09:02:31 +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 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 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
JD-Vaulta 1c8896571a Add WS-Touch-4.3B board (#281) 2026-06-17 15:10:40 +02: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
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
Sleeper85 ef5bd4a45e Updated Current min_value 2026-03-07 18:38:17 +01:00
Andrew Rankin 22c89bb6fb Add M5Stack Tab5 with LVGL display (#200) 2026-02-25 19:41:09 +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
Sebastian 0817a13485 Add fault registry calls to Modbus clients (#239) 2026-02-19 23:54:28 +01:00
Sleeper85 9af9912fb8 Added trigger_on_initial_state: true 2026-02-19 23:03:23 +01:00
Sleeper85 ac64ace3cd YamBMS basic blue display 1.1.2 HA and ESPHome version 2026-02-19 23:01:34 +01:00
Sleeper85 0fe37b7af2 Added default substitutions 2026-02-18 10:49:19 +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
Sebastian 6a70079b3e Switch to VictronMPPT-ESPHOME fork (#236)
This fork includes the following improvements:
- Include PR 212: Checksum validation: Verify the checksum to detect
  transmission errors
- Improve logging: More log messages and output shunt ID
- Add online sensor and timeout parameter: Disconnects were not
  detected. This adds a binary_sensor that gets set to false if no
  data is received for specified time (default=5s).
- Fix throttle algorithm: Each frame type gets its own throttle
  handling.
- Use new Victron SmartShunt online status
2026-02-17 11:01:46 +01:00
Sebastian 1969f14892 Basen: Add "Enable communication" switch (#235)
Add switch to enable/disable communication with Basen BMS. For example
this can be used during maintenance to disable communication with the
selected battery.
2026-02-16 21:01:05 +01:00
Sleeper85 893741d8d0 Set esphome min_version to 2026.1.5 2026-02-16 15:24:36 +01:00
Sleeper85 040da87739 Set SEPLOS V3 extended as the default version #216 2026-02-16 15:18:29 +01:00
Sleeper85 6fb2710095 Added canbus_extended_ack for Schneider XW Pro 2026-02-16 10:06:20 +01:00