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

There are some settings for touch sensitivity but they are preset to a good setting. I have not seen any issues.

I tried openhasp but I like esphome much better. it has a lot more options and is easier to use.

1 Like

Now i also have esphome for a couple of days on my test device. I must say i didn’t have a single random wakeup yet, and this is device where wakeups were quite frequent (every couple of minutes), even with modified openhasp.
Also you’re correct about more options, i missed quite some of those in openhasp. As i said, there’s quite a learning curve, but most of solutions can be found in expamples and/or this topic, so my start is good so far.

UPDATE: sadly random wakeups are happening on esphome also. Although not as frequent as on openhasp, it’s happening. So, it really seems that hardware on this device is “not ok”.
For now i’m trying to test if increasing touch duration works: i set “long_press_time” to 200ms, since from what i see these random touches are very short. So, perhaps even 100ms will do, i’ll test that if current setting works (default is 50ms).

EDIT: i forgot to write that i changed all my touch actions from “on_press” to “on_long_press”. Without that above time has no effect…

1 Like

You might just have some bad hardware. I have not seen that issue here.

Could be, although i doubt. I have two but both have the same problem. Also, if openhasp have these problems i don’t see how esphome wouldn’t have them, since the problem is, as it seems, in too sensitive touch screen, note in hardware itself… (that’s why modified openhasp works better). But, perhaps some individual boards are better, some worse, which is not surprising on aliexpress, and that’s why some guys don’t have any problems. It seems that i’ve got the bad ones on both models…
But, as said, for now it seems that above “emergency” solution works…

Hi all - I am having problems with esp32_ble_tracker on my device.
I have made good progress configuring one of these to open and close my motorised skylight windows on demand or on a schedule. My last objective is to get the windows to close if rain is detected. So I have bought a Linptech RS1 ble rain sensor (trying to follow this example Linptech/Xiaomi BT Water Leak/Rain Sensor RS1BB using Passive BLE and ESPHome)
I don’t have HA so I just want the rain sensor to trigger the close relay if it gets wet. The problem I am having is that as soon as I add “esp32_ble_tracker” then the dvice loses it’s wifi connection and becomes unstable (reboots itself). Also - Do I need to buy a separate ble gateway for this ?
Any help gratefully received.

It is always hard to say, but ble is demanding, and so is LVGL. I would try a separate esp32 for the ble stuff.

thanks - If I get another esp32 can I still get my guition device to listen out for wet / dry broadcasts ? (I can’t see the RS1 listed under Xiaomi Mijia BLE Sensors ? Or do you think I would need HA (something I am trying to avoid if possible to keep the setup as simple as possible.)

Hi.
Thanks for your hard work.

I wondered if you could point out the change you made to these buttons as I use yours but with some extra buttons for tado and the state isn’t updating on its own

Any help would be appreciated

There are ways to communicate between esp devices. See UDP Component — ESPHome

Update regarding random wakeups: my testing so far revealed that 50ms delay is enough. As said above now i use long press instead “on_touch” which of course eliminates some of possibilities.

So, I would need something - some parameter, command… for touch to react only if i press it for at least 50ms - now it seems that it reacts instantly (thus random wakeups).

Is there any filter which would limit/extend touch time? Similar like “delayed_on” or anything? I didn’t find anything usefull so far.

There is “touch point agrument” parameter if using “touchscreen - on_update”, but i didn’t find a way to use it, say in if - condition statement. Value of 2 would report that touc is still being pressed - perhaps usable for something (like display wakeup condition).

Do you know how I can I add Graph (like temperature historic) with LVGL on smart display?`

Unfortunately the LVGL library in ESPHome does not support the LVGL graphing library. Not all functions in LVGL are supported by ESPHome. More are being added.

Could I use LVGL fonctions (page, button, label…) and standard Esphome graph fonction in the same project?

While we’re at it: adding slide to change page would also be nice addition.

2 Likes

Fully agree. would be very nice to be able to slide to the next page, like on your phone!

2 Likes

There is a way to generate graphs on home assistant and uploading them as images. I’ll find the post and link to it.

Edit: this post gave me the clue Request Graph image from sensor (history) over telegram

Hi,

is there a way to use the display with a cable network? example LAN8720

No I think the required pins are already in use.

Anyone have a really reliable supplier of these panels? I ordered an initial 10 units of these panels and not one has had an issue, subsequently Ive ordered another 20 units in the last 3 mths ago and have had 8 of the 20 display like this.

This was my original supplier which is supposed to be the official supplier:
https://www.aliexpress.com/store/1102410813?spm=a2g0o.productlist.main.2.4a5e6d3bXhtyAm