hello,
I'm pretty new to programming (swift,c++,html, css) I've started working with esp32 to make a home automation project with personal interface.
I'm finding lots of problems to get this going..
at the moment I've tried couple of things:
connect testLed to esp32 to see if code & interface works. first I tried with AsyncWebServer & made a custom webpage with html with the ledbutton. when I push the button the led turns on/off correctly.. Problem: 5-6second delay..
I've tried the same apStyle, remaining the delay...
when I make my custom app with Xcode & make actions to go to the url with paths /on, /off I can control the led with my custom Xcode app.. still remaining a delay of 5-6seconds..
Question: How can I fix everything so it's a max delay of 1second? (I'll post all of my code after this post) or is the problem cause of the contact server & not directly contact esp32?
would ble be better for this project? in my opninion not cause I would like to control everything from anywhere... ble means I need to be at home to maintain connection..
I've been looking up, changing code, & not going anywhere anymore :( tried different GPIO's for led..
coding only for one or 2led's to keep it minimal to optimize, & afterwards expand to the full home with relais en mosfet connections..
working with homekit & homespan is working good, but also delayed 3seconds.. better then what I have but still to slow..