Hello I was writing an LVGL for Victron BLE based on [Fabian-Schmidt/esphome-victron_ble - GitHub]
Hardest part was to get the Display working. Found Informations from [@clydebarrow Clyde Stubbs - GitHub]
Display : JC3248W535c
99% is done now i need to do a change but can not compile any more
I think main problem are
-external_components:
display:
I thing there are some changes going on because of a merge and i can not get it running again. Need to do some important changes in the code.
I tryed some things but was not successful, to keep it simple i poste the last known “working” file. 4.4.2025 (compiling but with a bug to fix)
By the way its just one main page and no touch in use till now.
Thankful for any help to get me going again!!!
external_components:
- source:
type: git
url: http://github.com/clydebarrow/esphome
components: [ qspi_dbi]
- source: github://Fabian-Schmidt/esphome-victron_ble
esp32:
board: esp32-s3-devkitc-1
flash_size: 16MB
framework:
type: esp-idf
sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
CONFIG_ESP32S3_DATA_CACHE_64KB: y
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y
CONFIG_SPIRAM_RODATA: y
psram:
mode: octal
speed: 80MHz # 120MHz is not supported and falls back to 40MHz
logger:
#level: INFO
baud_rate: 2000000
# Enable Home Assistant API
api:
encryption:
key: "Jkq7mTT4UGtY0ejMcIZu6v19ZYXh3wVa9u4Fu9RsvDg="
captive_portal:
spi:
id: display_qspi
type: quad
clk_pin: 47
data_pins: [21, 48, 40, 39]
i2c:
sda: 4
scl: 8
id: touchscreen_bus
display:
- platform: qspi_dbi
model: CUSTOM
data_rate: 40MHz
id: my_display
dimensions:
height: 480
width: 320
transform:
mirror_x: false
mirror_y: false
cs_pin:
number: 45
ignore_strapping_warning: true
auto_clear_enabled: false
update_interval: never
draw_from_origin: true
rotation: 90
init_sequence:
#update_interval: never
#auto_clear_enabled: false
#show_test_card: true # must enable update_interval, auto_clear_enable
touchscreen:
- platform: axs15231
id: my_touch
display: my_display
i2c_id: touchscreen_bus
transform:
swap_xy: true
on_touch:
- lambda: |-
ESP_LOGI("cal", "x=%d, y=%d, x_raw=%d, y_raw=%0d",
touch.x,
touch.y,
touch.x_raw,
touch.y_raw
);
### More
lvgl: