New boards Wishlist
Lanbon L8 Smart Switch Panel
Board or product name and model
Lanbon L8 Smart Switch Panel Processor: ESP32-WROVER-B
Link to the product listing or datasheet
devices.esphome.iohttps://devices.esphome.io/devices/lanbon_l8/
Display controller and resolution, if known
Display: ST7789 (using ili9xxxx plaform)
Touch controller, if known
Touchscreen: 6336
Do you own this board and can test it?
Yes, I have it and can test
Anything else
esp32: variant: esp32 framework: type: esp-idf
psram: speed: 80MHz
output:
- platform: ledc pin: GPIO5 id: backlight_pwm
- platform: ledc pin: GPIO26 id: moodRed
- platform: ledc pin: GPIO32 id: moodGreen
- platform: ledc pin: GPIO33 id: moodBlue
- platform: gpio pin: GPIO12 id: relay_1
- platform: gpio pin: GPIO14 id: relay_2
- platform: gpio pin: GPIO27 id: relay_3
light:
- platform: monochromatic name: "Backlight" id: backlight output: backlight_pwm restore_mode: ALWAYS_ON
Older devices use 3-channel RGB moodlight
- platform: rgb name: "Mood Light" red: moodRed green: moodGreen blue: moodBlue
Newer devices use a WS2811 controller
Make sure to disable the output on GPIO26
#- platform: esp32_rmt_led_strip
rgb_order: RGB
pin: GPIO26
num_leds: 8
chipset: ws2811
name: "Mood Light"
spi: clk_pin: GPIO19 mosi_pin: GPIO23 miso_pin: GPIO25
i2c: sda: GPIO4 scl: GPIO0
display:
- platform: mipi_spi model: LANBON-L8
touchscreen: platform: ft63x6 calibration: x_min: 0 y_min: 0 x_max: 230 y_max: 312 on_release: - if: condition: lvgl.is_paused then: - lvgl.resume: - lvgl.widget.redraw: - light.turn_on: backlight
lvgl: on_idle: timeout: !lambda "return 10000;" then: - light.turn_off: backlight - lvgl.pause: pages: ...
Discussion 0
Add a commentStart the conversation
Share an example, ask a question or explain how you would use this.