* 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.
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.
- Disable when `Force Bulk` is active
- Disable when charging status is not `Bulk` or `Float`
- Add additional status messages to make clear what happens
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
Add switch to enable/disable communication with Basen BMS. For example
this can be used during maintenance to disable communication with the
selected battery.