witnessmenow / ESP32-Cheap-Yellow-Display

Building a community around a cheap ESP32 Display with a touch screen
MIT License
1.71k stars 172 forks source link

Feature Request: ESPHome + LVGL Examples #27

Open RyanEwen opened 1 year ago

RyanEwen commented 1 year ago

I love what's being done here and have a request. I am trying to learn Both ESPHome and LVGL for use on one of these devices. Could someone come up with a simple example that uses these together?

So far I've found this: https://github.com/fvanroie/esphome-lvgl which has helped me compile something that the board accepts but I've yet to get anything showing on the screen

ellensp commented 1 year ago

You might want to take a look at https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/issues/28 Has LVGL example (I do not know if it actually work, only just found this archive)

ncmreynolds commented 11 months ago

I have added info about making the LVGL examples work in #55 hopefully Brian will merge it.

witnessmenow commented 11 months ago

An example that has both LVGL and ESPHome seems like it might be too specific

Misiu commented 1 month ago

That would be awesome, especially that ESPHome has LVGL native support: https://esphome.io/components/lvgl/

sickrandir commented 2 weeks ago

I keep finding hints on reddit that people got LVGL running on CYD with ESPHome but I can't find a complete yaml example. It would be really awesome to have one.

RyanEwen commented 2 weeks ago

I forgot about this request..

I've been using lvgl on 3 different Sunton devices and an Elecrow device since creating this thread.

For the 2.8 specifically: https://community.home-assistant.io/t/esp32-2432s028r-sunton-2-8-cyd-config/780600/21

I don't actually have any lvgl widgets in the example configs I post to the ESPHome forum but I am slowly working on some in a GitHub repo here: https://github.com/RyanEwen/esphome-devices

sickrandir commented 2 weeks ago

I don't actually have any lvgl widgets in the example configs I post to the ESPHome forum but I am slowly working on some in a GitHub repo here: https://github.com/RyanEwen/esphome-devices

Loving this. Thanks a lot, I'll follow your repo!

RyanEwen commented 1 week ago

Rather than make a simplified demo layout I ended up just uploading the actual project that is in-use at my house right now (overtop what was there when I first shared the link).

This is because how I organize code and files and modularize things has been evolving rapidly, resulting in many time-consuming and sweeping changes. Rather than do everything twice I figured I'd just share the in-use project and one day when I've settled on the best way to do things then I can make a demo or sample layout that is simpler :)

RyanEwen commented 1 week ago

I should also mention that the ESPHome docs now have examples in them which might also be useful.

https://esphome.io/cookbook/lvgl.html