Add initial configuration for Family Room and Living Room remotes, and common panel hardware setup
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
# PanelLan SC05_X / ZX2D80CE02S-V10 hardware test.
|
||||
# Target: current ESPHome with the mipi_spi octal/I80 driver.
|
||||
# This is a first-flash test, not the final Home Assistant remote UI.
|
||||
# Uses the Wi-Fi, API, and OTA secrets shared by this Home Assistant setup.
|
||||
|
||||
esphome:
|
||||
name: panel-remote-test
|
||||
friendly_name: Panel Remote Test
|
||||
|
||||
esp32:
|
||||
board: esp32-s3-devkitc-1
|
||||
flash_size: 8MB
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
psram:
|
||||
mode: quad
|
||||
|
||||
logger:
|
||||
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_encryption_key
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret ota_password
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_iot_ssid
|
||||
password: !secret wifi_password
|
||||
ap:
|
||||
ssid: Panel Remote Setup
|
||||
password: !secret fallback_password
|
||||
|
||||
captive_portal:
|
||||
|
||||
# The board's 8-bit 8080 LCD bus is handled as an octal bus by ESPHome.
|
||||
# Pins are from the Wireless-Tag WT32S3-28S PRO / ZX2D80CE02S datasheet.
|
||||
spi:
|
||||
type: octal
|
||||
id: lcd_bus
|
||||
clk_pin: GPIO17 # LCD_WR
|
||||
data_pins:
|
||||
- GPIO16 # DB0
|
||||
- GPIO40 # DB1
|
||||
- GPIO15 # DB2
|
||||
- GPIO7 # DB3
|
||||
- GPIO41 # DB4
|
||||
- GPIO42 # DB5
|
||||
- GPIO2 # DB6
|
||||
- GPIO1 # DB7
|
||||
|
||||
display:
|
||||
- platform: mipi_spi
|
||||
id: panel_display
|
||||
model: ST7789V
|
||||
spi_id: lcd_bus
|
||||
bus_mode: octal
|
||||
dc_pin: GPIO18 # LCD_RS
|
||||
reset_pin: GPIO3 # shared LCD/touch reset
|
||||
dimensions: 240x320
|
||||
data_rate: 8MHz
|
||||
show_test_card: true
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: backlight_pwm
|
||||
pin: GPIO47
|
||||
|
||||
light:
|
||||
- platform: monochromatic
|
||||
id: panel_backlight
|
||||
name: Screen Backlight
|
||||
output: backlight_pwm
|
||||
restore_mode: ALWAYS_ON
|
||||
default_transition_length: 0s
|
||||
|
||||
i2c:
|
||||
id: touch_bus
|
||||
sda: GPIO8
|
||||
scl: GPIO9
|
||||
scan: true
|
||||
|
||||
touchscreen:
|
||||
- platform: ft5x06
|
||||
id: panel_touch
|
||||
i2c_id: touch_bus
|
||||
display: panel_display
|
||||
interrupt_pin: GPIO48
|
||||
on_touch:
|
||||
- logger.log: Touch detected
|
||||
Reference in New Issue
Block a user