Post

Replies

Boosts

Views

Activity

Xcode & ESP32
Hello, I'm trying to make my own app (private) for my home automation which I've made with esp32 microcontroller. at this moment I've developed a small testing app in Xcode with just 1 slider button: LED ON/OFF. I've connected the Led to the esp32. my esp32 creates a web server with the slider button. in Xcode is program the IP url to acces the web server and then control the led with my custom app. QUESTION: Is there a way I can leave out the web server? Custom app controls directly I/O off esp32? when I use the app now, it's kinda slow in reactiontime cause It needs to contact the webserver first.
1
0
2.4k
May ’22
Xcode and eps32 wifi/ble
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..
1
0
1.3k
Jul ’22
App deployment (private) not in App Store, how to??
Hello, how can I deploy the app I've made on my iPhone? At the moment I can only deploy it 2ways: In appstore (don't want that, cause it's a private app..) Deploy it on my iPhone but 7days later it's automatically removed from iPhone???? need to deploy the app every seven days to keep on using it?? is there a way I can deploy my app to my iPhone only so it remains on it until I manually remove it??
1
0
525
Oct ’22