So for this device: T-touch bar
Is it possible to install Esphome because I am unable to as esphome web cannot find the device when connected. I am pretty sure it is due to the USB connector, which is magnetic - or the wire itself?
Any suggestions?
So I found out if you hold the boot button while attaching USB, then esphome can find it.
I got the FT6336 Touchscreen to work using the FT63X6 component. But I cannot get this screen to show anything, it’s just black. I think it’s because the screen is GC9D01N, and I cannot find an equivalent for it so I’ve tried st7789v w/o success.
esphome:
name: s3-touchbar
friendly_name: Touch-Bar
platformio_options:
board_build.f_flash: 80000000L
board_build.partitions: default_16MB.csv
board_build.arduino.memory_type: qio_opi
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
framework:
type: arduino
flash_size: 16MB
# Enable logging
logger:
api:
encryption:
**
ota:
- platform: esphome
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid2
password: !secret wifi_password
time:
- platform: homeassistant
id: ha_time
font:
- file: "gfonts://Roboto"
id: roboto
size: 10
i2c:
- sda: 10
scl: 11
# - sda: 0
# scl: 38
spi:
- mosi_pin: 18
clk_pin: 17
#ft6336 touchscreen
touchscreen:
- platform: ft63x6
interrupt_pin: GPIO12
reset_pin: GPIO9
id: my_touchscreen
on_touch:
- lambda: |-
ESP_LOGI("cal", "x=%d, y=%d, x_raw=%d, y_raw=%0d",
touch.x,
touch.y,
touch.x_raw,
touch.y_raw
);
output:
- id: backlight_output
platform: ledc
frequency: 500Hz
pin: 48
min_power: 0.3
max_power: 1
zero_means_zero: true
light:
- output: backlight_output
id: backlight
name: Backlight
platform: monochromatic
display:
- id: lcd_display
update_interval: 1s
platform: ili9xxx
dimensions:
height: 160
width: 160
model: st7789v
# cs_pin: GPIO13
dc_pin: GPIO16
# reset_pin: GPIO15
invert_colors: true
transform:
mirror_x: true
mirror_y: true
lambda: |-
it.printf(10, 5, id(roboto), Color(255, 0, 0), id(ha_time).now().strftime("%I:%M:%S %p").c_str());
I have hit a wall: I’ve tried Model CUSTOM and GC9A01A (which is the closest to this screen I can find) without any success.
Therefore, I think I am stuck unless there is a change in display components that will work with GC9D01N screens
I recently tried using an init_sequence from a GitHub python driver for the display without success