Commit Graph
386 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
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
Andrew Rankin 500d7fa8f6 Add Ecoworthy BMS integration for YamBMS (#199) 2026-02-15 22:49:43 +01:00
Sleeper85 ffb8a443bc Using variant instead of board 2026-02-15 21:32:07 +01:00
Sleeper85 247643195b Create bms_combine_DEMO.yaml 2026-02-15 13:33:09 +01:00
Sleeper85 f70359c0a8 SEPLOS V3 extended version 2026-02-13 16:15:19 +01:00
Sebastian bd380e83a7 Remove unused shunt Modbus registers charging/discharging power (#227) 2026-02-13 15:32:24 +01:00
Sleeper85 de35aa593c Fixed Force Bulk issue #215 2026-02-12 21:22:55 +01:00
Sleeper85 7bf602fd1c Added BMS FAKE extended 2026-02-11 15:58:59 +01:00
MrPabloUK f405228fc4 Auto CCL & DCL - Re-implement Soft Current Ramp (#219) 2026-02-11 09:44:32 +01:00
Sleeper85 b486f34a06 Create bms_demo_charge_simulation.yaml 2026-02-11 02:06:04 +01:00
Sleeper85 b4ff48d377 New BMS FAKE automated 2026-02-11 02:05:53 +01:00
Sleeper85 e47d478a65 Improved code + fixed issue #218 2026-02-11 01:59:52 +01:00
Sleeper85 16937f9e1f Added missing unit_of_measurement 2026-02-10 08:55:27 +01:00
Sleeper85 5f50f158ee Added yambms_debug logs 2026-02-09 23:59:25 +01:00
Sleeper85 2c4022d54c Updated ESPHome min_version 2026-02-09 08:27:36 +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