Commit Graph
663 Commits
Author SHA1 Message Date
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 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
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
Sleeper85 6453906d70 YamBMS 1.7.0 HA Display 2026-02-27 01:24:41 +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
Sleeper85 853f79e70c Update yambms_custom.yaml 2026-02-20 15:02:23 +01:00
Sleeper85 d6bfd3b2ce Added YamBMS Display section 2026-02-20 00:29:09 +01:00
Sebastian 0817a13485 Add fault registry calls to Modbus clients (#239) 2026-02-19 23:54:28 +01:00
Sleeper85 9257d3bc65 YamBMS 1.7.0 - HA Display 2026-02-19 23:28:23 +01:00
Sleeper85 a02a4cab7f YamBMS 1.7.0 - ESPHome Display 2026-02-19 23:28:04 +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 93467e24f7 YamBMS 1.7.0 - DEMO simulation 2026-02-18 11:05:26 +01:00
Sleeper85 0fe37b7af2 Added default substitutions 2026-02-18 10:49:19 +01:00
Sleeper85 2b6ed1ee81 YamBMS 1.7.0 - LVGL display 800x480 2026-02-18 10:39:01 +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 d178ffa5c8 YamBMS 1.7.0 examples (2026.02.16) 2026-02-16 15:15:21 +01:00