I like the idea of the couch armrest mounted controller, and my media chairs have USB power ports in the recliner button assembly. Switch the lights out, control the pause/play.
To get it really nice I would be forced to do some radical surgery on media chairs.
Permission will be denied. But I may be able to do something…
Good luck, and keep us posted! Personally I’d like to have this working just using standard esphome for simplicity. I think we are very close - “just” need to get the driver migrated. Might not initially be able to support everything like swipe but if we can at the very least get touch working then that will be a huge step forward. I’ll try to set aside some time to look at it again this weekend.
Definitely don’t want to discourage you - agree that it would be nice to have that as an option. The ESP32-C3-Mini-1U does have a fairly decent 4MB of flash but the processor is also a pretty weedy single core with 400KB of sram and 384KB rom so I suspect it will struggle with openhasp. But again, go for it & let us know if you have any luck!
tonight I will try esphome custom component.
the library I saw (your link) exposes x,y coords clicks (single double long) and swipe
so if it goes it goes completely
Can you post the code you’re using to load the driver(s) as a custom component? If it’s complaining about SPI issues then that sounds like you’re also loading the screen driver as a custom component rather than the touch screen driver (which is i2c) and maybe you need to also pass to it the GPIO pins that it should use (which did take me a bit of mucking around to identify!). Could of course load both as custom components, but I’d just keep the screen driver using the gc9a01 external component as we know that at least works and try getting the touch screen driver working as a custom component…
FYI I’ve submitted a feature request to see if there is someone a little more experienced at this than I am who may be willing to either help or at least point us towards a guide for converting the driver we have…
To Cut the chase I flashed your exact code (apart wifi etc…)
Same result: no log and same error message.
Weird.
And now the weirdest part.
No logs on Chrome
Logs on Safari.
go figure it, as the error seems coming from esphome and have nothing to do eith the browser
Hallo guys, I got one of the aliexpress sold ready to go devices on ESP32 + ILI9341 2.4 TFT and CST820 Capacitive touch displays.
Managed to compile and upload working openHASP, but fighting with capacitive touch now.
Any ideas?