WT32-sc01 Plus /ESP32-S3 ESP HOME

The example in this post works with the recent merge, just remove the external components reference

1 Like

Hello clydebarrow,
I’m writing to express my sincere gratitude. I’ve been struggling for a while to get my WT32 to work, and I just tried your solution, and it worked like a charm on the first try.
I was so thrilled that I created an account on this forum specifically to leave this comment and thank you personally.
It’s contributions like yours that make the open-source community so amazing. Thank you again for your hard work and for sharing it!
All the best

3 Likes

Thanks alot for clarifying this.

Like you said. The Example works when removing

#external_components:
#  - source: github://clydebarrow/esphome@mipi-spi
#    components: [spi, mipi_spi, const]
#    refresh: 1h

without any problems for now.

I was initially having trouble re-building my esphome code, but I’ve now got that working.

The config posted here is out of date, and instead I used the config posted just up on this thread here:-

With one exception.

This section:-

power_supply:
  - id: backlight
    enable_on_boot: true
    pin:
      ignore_strapping_warning: true
      number: GPIO45

In my old code was:-

output:
  - platform: ledc
    id: backlight_pwm
    pin:
      number: GPIO45
      ignore_strapping_warning: true

Which still works, and let me keep control of the backlight using:-

light:
  - platform: monochromatic
    id: backlight
    name: Display Backlight   
    output: backlight_pwm
    restore_mode: ALWAYS_ON

And as mentioned above, you also no longer need the external_components section:-

external_components:
  - source: github://clydebarrow/esphome@mipi-spi
    components: [spi, mipi_spi, const]
    refresh: 1h

Can someone help me please. I have used the last config posted by @clydebarrow but I get a message saying my config is invalid because lvgl: “Must contain at least one of pages, widgets”. I am unable to leave it blank to get the hello-world message.
I am using the external lvgl component in PR7184. If I don’t put this in, my config cannot find lvgl

Well, that’s not going to work. You’ll need to show your actual config, and the log output for anyone to help.

Make sure you are using the latest ESPHome (or at least a recent version.)

I removed the external components (including yours) and it worked! I did not pick up on your comment somewhere in the thread that it is now incorporated in ESPHome. Thanks for the response and for the great software.

Does anyone have yaml code to enable you to swipe left/right between different pages?

Yes, there is more than one way to achieve that:

  1. Instead of pages, use a tileview that automatically handles swipes;
  2. Use the on_swipe trigger to invoke lvgl.page.next (and .prev)

Thanks. tileview worked for me.
I did not seem to require the on_swipe trigger - it swiped without it.

Yes, the two options were alternatives;