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

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).