I noticed that you have a build on git
Suntion ESP32-8048S070C.
I have ESP32-8048S050C. Is it possible to use your build for this display? I assume the GPIO layout will be the same, but I’m not sure.
I had a similar problem with some temp readings after a restart and the following worked for me.
Ignore the conditional bit, that’s just to change the text colour. I believe using the lvgl.widget_update rather than the label update may do the trick.
Sorry but Im going to be annoying in the next few weeks.
Apologies in advance to everyone.
Can I ask…is a page a widget???
Can someone give me a hint as to how to go about changing the background bg_image_src: of a page dynamically based on the status of a sensor??? Or is it not possible???
Essentially I have a background image on a page that is based on the status of a temp sensor and want to change the background based on the temp of the sensor.
eg:
pages:
- id: page1
skip: true
bg_image_src: template1_image # <- How do i change this based on the state of a sensor?????
bg_opa: cover
pad_all: 2
widgets:
........
BTW, this group/chat is amazing… learned so much and everyone is discovering something new.
Hello everyone!
So, I’m messing around with LVGL…
I need to change the icons for the label depending on the state of the button. The icons can be different. And what’s interesting…
If I do it like this:
I do know Im postinbg a lot in here and Im no expert, but I promise to post my finished code once Im done. The people here have been amazing and Im learning a lot.
I need to display the current target_temperature of a thermostat controller (not a HA controller) but settemp_label_settingspage just shows nan
I dont want to use a spinbox because I want the UI to look “non-LVGL-esphome”
The climate controller actually updates the set temp without issue (I can see the update of the climate entity via the esphome web interface)
Thats what Im eluding to - I tried args: [ 'id(controller).target_temperature' ] as well as a half dozen different ways (I thought) it worked and unfortunately it doesnt seem to work the way I thought it does.
Good day, everyone!
I trying configuration from first post but I get this:
INFO ESPHome 2024.8.3
INFO Reading configuration C:\Users\User\ESPHomeConfigs\480-new.yaml...
WARNING GPIO45 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing guition-esp32-s3-4848s040 (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.40407.240606 (4.4.7)
- tool-cmake @ 3.16.4
- tool-idf @ 1.0.1
- tool-mconf @ 1.4060000.20190628 (406.0.0)
- tool-ninja @ 1.9.0
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
Dependency Graph
|-- ArduinoJson @ 6.18.5
|-- lvgl @ 8.4.0
Compiling .pioenvs\guition-esp32-s3-4848s040\src\main.o
Compiling .pioenvs\guition-esp32-s3-4848s040\app_trace\app_trace.o
Compiling .pioenvs\guition-esp32-s3-4848s040\app_trace\app_trace_util.o
Compiling .pioenvs\guition-esp32-s3-4848s040\app_trace\host_file_io.o
xtensa-esp32s3-elf-gcc: fatal error: no input files
compilation terminated.
xtensa-esp32s3-elf-gcc: fatal error: no input files
compilation terminated.
'lv_font_montserrat_14'' is not recognized as an internal or external command,
operable program or batch file.
'lv_font_montserrat_14'' is not recognized as an internal or external command,
operable program or batch file.
*** [.pioenvs\guition-esp32-s3-4848s040\app_trace\app_trace_util.o] Error 1
xtensa-esp32s3-elf-gcc: fatal error: no input files
compilation terminated.
*** [.pioenvs\guition-esp32-s3-4848s040\app_trace\app_trace.o] Error 1
'lv_font_montserrat_14'' is not recognized as an internal or external command,
operable program or batch file.
*** [.pioenvs\guition-esp32-s3-4848s040\app_trace\host_file_io.o] Error 1
========================= [FAILED] Took 12.09 seconds =========================