Waveshare ESP32-S3-Touch-LCD-7

Morning Aaron,
That’s all working fine you just need to turn on the backlight which is off by default. Add this…

# Home Assistant API with encryption and renamed ID
api:
  id: ha_api
  encryption:
    key: !secret api_encryption_key
  on_client_connected:
    - if:
        condition:
          lambda: 'return (0 == client_info.find("Home Assistant "));'
        then:
          - switch.turn_on: lcdbacklight

################################################################################
# Switch
################################################################################
switch:
  - platform: gpio
    id: lcdbacklight
    name: lcdbacklight
    pin:
      ch422g: ch422g_hub
      number: 2
      mode:
        output: true
      inverted: false
    restore_mode: ALWAYS_ON

lol :joy: thanks. That fixed it lol. I also added a wire so I can control the backlight brightness.

I am using UART2 (GPIO 43 and 44) and have set the toggle switch to UART2. However, even after disabling the log component output or turning off the ESP Console, the sensor still does not work on the UART2 interface. Has anyone been able to get the sensor working on UART2?

I made my own HMI design for this device.

It’s currently mounted on the wall in my garage.

All the code is shared.
Lots of info in the github repo (link in the thread).

2 Likes