Can homespan use with iphone from Internet? #148
-
|
I try homespan with my ESP32 pairing and work flawlessly. However, when I try disconnect Wifi on iphone, I cannot contact to the homespan device on ESP32. Are the homespan designed to working with the same Wifi only or there is a way to make it accessible from Internet? And if yes, please hint me how to or even where to find info. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
HomeSpan is designed to work when (and only when) connected to your home's WiFi network. Before any pairing can occur you need to make sure you've given HomeSpan you network's WiFi Credentials. The easiest way to do this is by using the 'W' command in the Serial Monitor. Alternatively, you can launch HomeSpan's temporary WiFi Access Point, which presents a web page into which you can type your WiFi Credentials. This is only needed if you have to configure a HomeSpan device that is not connected to a computer with a USB. |
Beta Was this translation helpful? Give feedback.
-
|
To enable the AP to autostart you need to call the method enableAutoStartAP(). In C++ the commands you listed above declare new functions setAPTimeout() and enableAutoStartAP(), which is likely not what you want to do. Note that HomeSpan documentation follows standard C and C++ conventions in which the functions declarations are presented. But that's not how you call the function in your program. To call the enableAutoStartAP(), you would use |
Beta Was this translation helpful? Give feedback.
HomeSpan is designed to work when (and only when) connected to your home's WiFi network. Before any pairing can occur you need to make sure you've given HomeSpan you network's WiFi Credentials. The easiest way to do this is by using the 'W' command in the Serial Monitor. Alternatively, you can launch HomeSpan's temporary WiFi Access Point, which presents a web page into which you can type your WiFi Credentials. This is only needed if you have to configure a HomeSpan device that is not connected to a computer with a USB.