I did find a nice tuthscreen hardware that perhaps can be used for in wall switch screen.
I hope I can make a chassi for it when it coming. Why I want this is that it have so many options to use. For instance i want to have weird connection so I can use it if network goes down. It has interfaces
like ( USB, I2C, rs485 and CAN, UART ) going to be really fun to play with. If a can get all interested things I want this type of unit in home I buy some more.
Some features I am after.
Inter com (video controll to other units and door)
Weird connected.
Un an In Docking. With use of build in battery.
Ye speed studio have nice stuff.
But to compare it whit that I order is the price difference a bit big.
I read some more about It and added to my list of screen in wall project. I wand this screens have ability to dock in to the switch socket. Some sort of docking solution with 4 weird magnets so it get easy .
I bought one of these for the same thing and to test with since it was so cheap. So far I have it setup in esphome but I have only been able to get some sensor data from it. I have not been able to get the screen to work, or send any data to it for a dashboard. Hoping someone knows how to get this working.
Any luck with the display?
I got mine today, must say I like it a lot, feels solid compared to others I’ve got. Now it’s just that little thing get it up and running in ESPHome.
Have you seen this: RPI_DPI_RGB Display Driver — ESPHome looks promising.
Fingers crossed…
Okay I learned about the esphome clean command and now I have a SHINY NEW ERROR
I am going to keep poking at it tonight and if someone has a suggestion to solve the problem that would be cool, or if I solve it myself I will post here.
INFO Successfully uploaded program.
INFO Starting log output from COM6 with baud rate 115200
[20:53:06]I (170) esp_image: segment 1: paddr=00059ad4 vaddr=3fc9ac30 size=04454h ( 17492) load
[20:53:06]I (174) esp_image: segment 2: paddr=0005df30 vaddr=40374000 size=020e8h ( 8424) load
[20:53:06]I (178) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=ef8dch (981212) map
[20:53:06]I (360) esp_image: segment 4: paddr=0014f904 vaddr=403760e8 size=14b3ch ( 84796) load
[20:53:06]I (388) boot: Loaded app from partition at offset 0x10000
[20:53:06]I (417) boot: Set actual ota_seq=1 in otadata[0]
[20:53:06]I (418) boot: Disabling RNG early entropy source...
[20:53:06]I (418) cpu_start: Multicore app
[20:53:06]I (421) cpu_start: Pro cpu up.
[20:53:06]I (425) cpu_start: Starting app cpu, entry point is 0x403770b0
[20:53:06]I (0) cpu_start: App cpu up.
[20:53:06]I (440) cpu_start: Pro cpu start user code
[20:53:06]I (440) cpu_start: cpu freq: 160000000
[20:53:06]I (441) cpu_start: Application information:
[20:53:06]I (441) cpu_start: Project name: esp-display
[20:53:06]I (442) cpu_start: App version: 2024.3.0
[20:53:06]I (442) cpu_start: Compile time: Mar 22 2024 20:52:05
[20:53:06]I (443) cpu_start: ELF file SHA256: a32fa41bc82d61da...
[20:53:06]I (444) cpu_start: ESP-IDF: 4.4.6
[20:53:06]I (445) cpu_start: Min chip rev: v0.0
[20:53:06]I (445) cpu_start: Max chip rev: v0.99
[20:53:06]I (446) cpu_start: Chip rev: v0.2
[20:53:06]I (446) heap_init: Initializing. RAM available for dynamic allocation:
[20:53:06]I (447) heap_init: At 3FCA7378 len 00042398 (264 KiB): D/IRAM
[20:53:06]I (448) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM
[20:53:06]I (449) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
[20:53:06]I (450) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
[20:53:06]I (452) spi_flash: detected chip: gd
[20:53:06]I (452) spi_flash: flash io: dio
[20:53:06]W (453) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
[20:53:06]I (455) sleep: Configure to isolate all GPIO pins in sleep state
[20:53:06]I (456) sleep: Enable automatic switching of GPIO sleep configuration
[20:53:06]I (457) coexist: coexist rom version e7ae62f
[20:53:06]I (458) cpu_start: Starting scheduler on PRO CPU.
[20:53:06]I (0) cpu_start: Starting scheduler on APP CPU.
[20:53:06][I][logger:158]: Log initialized
[20:53:06][C][ota:483]: There have been 0 suspected unsuccessful boot attempts.
[20:53:06][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:53:06][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[20:53:06][I][app:029]: Running through setup()...
[20:53:06][D][spi:039]: Setting up SPI bus...
[20:53:06][C][i2c.idf:017]: Setting up I2C bus...
[20:53:06][I][i2c.idf:233]: Performing I2C bus recovery
[20:53:06][D][esp-idf:000]: I (185) gpio: GPIO[9]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
[20:53:06]
[20:53:06][D][esp-idf:000]: I (186) gpio: GPIO[8]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
[20:53:06]
[20:53:06][D][text_sensor:064]: 'Mac Wifi Address': Sending state '80:65:99:A4:F8:18'
[20:53:06][C][rpi_dpi_rgb:009]: Setting up RPI_DPI_RGB
[20:53:06][D][esp-idf:000]: E (222) lcd_panel.rgb: esp_lcd_new_rgb_panel(151): no mem for frame buffer
[20:53:06]
[20:53:06][E][rpi_dpi_rgb:037]: lcd_new_rgb_panel failed: ESP_ERR_NO_MEM
[20:53:06][D][esp-idf:000]: E (225) lcd_panel: esp_lcd_panel_reset(15): invalid panel handle
[20:53:06]
[20:53:06]ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40380b34
[20:53:06]file: "src/esphome/components/rpi_dpi_rgb/rpi_dpi_rgb.cpp" line 39
[20:53:06]func: virtual void esphome::rpi_dpi_rgb::RpiDpiRgb::setup()
[20:53:06]expression: esp_lcd_panel_reset(this->handle_)
[20:53:06]
[20:53:06]abort() was called at PC 0x40380b37 on core 1
[20:53:06]
[20:53:06]
[20:53:06]Backtrace: 0x40377a8a:0x3fcede40 0x40380b41:0x3fcede60 0x40387d06:0x3fcede80 0x40380b37:0x3fcedef0 0x42010761:0x3fcedf10 0x42017348:0x3fcedfd0 0x420ea705:0x3fcedff0 0x42016e6d:0x3fcee010 0x42019a59:0x3fcee040 0x4200b4e3:0x3fcee180
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40377a8a: panic_abort at C:\Users\lonewolf\.platformio\packages\framework-espidf\components\esp_system/panic.c:408
WARNING Decoded 0x40380b41: esp_system_abort at C:\Users\lonewolf\.platformio\packages\framework-espidf\components\esp_system/esp_system.c:137
WARNING Decoded 0x40387d06: abort at C:\Users\lonewolf\.platformio\packages\framework-espidf\components\newlib/abort.c:46
WARNING Decoded 0x40380b37: _esp_error_check_failed at C:\Users\lonewolf\.platformio\packages\framework-espidf\components\esp_system/esp_err.c:43
WARNING Decoded 0x42010761: esphome::rpi_dpi_rgb::RpiDpiRgb::setup() at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/esphome/components/rpi_dpi_rgb/rpi_dpi_rgb.cpp:40 (discriminator 1)
WARNING Decoded 0x42017348: esphome::PollingComponent::call_setup() at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/esphome/core/component.cpp:207
WARNING Decoded 0x420ea705: esphome::Component::call() at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/esphome/core/component.cpp:99
WARNING Decoded 0x42016e6d: esphome::Application::setup() at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/esphome/core/application.cpp:38
WARNING Decoded 0x42019a59: setup() at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/main.cpp:880
WARNING Decoded 0x4200b4e3: esphome::loop_task(void*) at E:\NextCloud\workspace\esp_home\display\.esphome\build\esp-display/src/esphome/components/esp32/core.cpp:67
[20:53:06]
[20:53:06]
[20:53:06]
[20:53:06]
[20:53:06]ELF file SHA256: a32fa41bc82d61da
[20:53:06]
Okay I got the display displaying a test image, it is buggy and unstable though. Config below.
If anybody knows how to interact with touch interfaces to drive commands in home assistant it would be appreciated. I started looking at the lvgl stuff but that looks like its far too early in development to be useful.
I stumbled across this PR that implements LVGL natively into esphome thanks to @clydebarrow. Since it hasn’t made it to release yet, you have to reference the external component.