GUITION 4" 480x480 ESP32-S3-4848S040 Smart Display with LVGL

FWIW you can use the degree symbol and it renders fine too.
Eg:

          text:
            format: "%.1f °C"
            args: ['x']

I have installed sdl on linux and was able to run an example sdl config.yaml. My question is where do I put the various yaml’s Andrews modular buttons)that reside under modules in my home assistant install. In Andrews sdl examples the path in the includes is “modules/lvgl/base/sensors_base-SDL.yaml”

any help appreciated

Craig

Okay so you just leave/put the various folders in relation to the “main” yaml. now to try to get weather working in sdl

Just leave them where they are it will work well. try building SDL-lvgl-display_modular.yaml

Hi, thanks to the shared git of albert-canfield, Alexey Titov, Andrew Gillis, kroon040 etc, I was able to build my own version of these nice peace of hardware. I just start but it works fine so far. I shared the code here for whom are interested with no support or liability of a proper working

Test git





Header has motion sensor, radiator for the main room, HA status and Wifi Icon. In the single room pages I add heating and temperature for the separete rooms which change the color based on hvac_action. Color for temperature change based on light state. Some slider and TV control and page for heating and shutters are added. Sorry for the bad pictures :slight_smile:

BR, Mik

2 Likes

Just wondering if there is a solution to this problem. When I touch the screen to wake it I will activate whatever button is below my finger. Is there a way to make it ignore the first touch when the screen is in sleep mode.

Craig

I think that the point is when you turn off backlight you must send whole device to sleep, too, not only turn backlight off. So where you turn off backlight add this command:
- lvgl.pause:

I don’t use sleep mode It was causing problems I use this from the all the buttons/labels on the front page if the back light is on it will jump to the next page if not it will jump back to the front page.

                  on_press:
                    then:
                      - if:
                          condition:
                              light.is_on: display_backlight
                          then:
                              - lvgl.page.show: light_page
                          else:
                              - lvgl.page.show: front_page

Big thanks to @andrew_NH.
I made a clock panel with a few extras. when its dark the display brightness drops to 27% and the front page labels go green. At 11:30pm the backlight is switched off and come back on at 5:00am brightens back to 50%. Touch when backlight is off will turn on and the front page appears. It will turn off the backlight after 15 secs.

Black box
CPC UK Black Box

White Box
CPC UK White box

That little desktop box is great. I wonder if they are available outside the UK?

Do you have your code posted someplace?

Sorry i don’t. Iam not that clever.

You can get a free account on github

1 Like

I’ll give that a try I currently only use one page but may add a clock/weather page to come up after inactivity.

They are designed to mount sockets on a bench - You often see that sort of thing in labs.
Found 20 or so listed on ebay.co.uk - You might find a seller willing to ship outside the UK, but it won’t be cheap. Also be mindful that the threaded holes are M3.5x0.6mm whereas the screws shipped with smart switches from China are M4x0.7mm.

I’d suggest asking a local electrical wholesaler.

This type of box is only uses in Europe and China. You can not get them here in the US. I have gotten a lot of switch boxes from China for cheap money. But I have not seen a desktop version.

I added a standby_page with clock, date, weather similar to nspanel integration (on daytime with 37% brightness and in night to 0%) and related HA automation based on sensor.panel_user_touched or motion sensor as these works better for me than over esphome script integration, change Wifi signal based on db

1 Like

Get one 3D printed ?
Seen one on thingiverse, but I think it is for a double socket. But shouldn’t be that difficult to tweak the design.

I draw one, but it’s for built-in (the wall), not table version. It’s on printables, search for “guition”.

GUITION_ESP32 by audi2010 - Thingiverse

looks like those gpios are tied to the USB so could get them to work with the P1 connector :frowning:

Hi!! Great forum for this screen. I’m amazed by everything you’re doing.
I’m trying to configure mine, but it’s taking a little while.
I have a question: My screen has four buttons, and I’d like them to be at the bottom and from left to right, but I can’t find the alignment for the buttons. Now I have them in a column, like the example at the beginning of the forum.

Thanks.