-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version / Previous SSID and password #9
Comments
Hi Lovelesh, I have added another feature can be called by /config. If the network changes. and you go to AP mode to join the new network, the addresses will be cleared when you set new SSID to join the new network and get the IP from DHCP. That is actually very handy as you can change the IP address of the device through config page to whatever you need. I can share the code with you if you like to add it to the project. I have tested and I am using that on "Wemos D1 mini Pro" and it works great. |
With regard to Android app, I have created an app that can send the URL through Internet to my device and reads the respond to update the status of buttons. here is a snapshot of my app. |
That's GREAT. How are you solving the problem of addressing a device behind NAT? I am facing similar issues and I have to use a cloud server. I am looking for an approach that skips this cloud server. |
That's actually is simple and you do not need Cloud Server at all. Suppose your device has address 192.168.1.20 and the web server is running on port 8080 (do not set port 80 as default on devise web server, 80 is common for http and you really do not need that port) And also imagine your outside IP address is "123.123.123.123". anyway, you need a link like: to use outside of your home to access the web server on your device. Same concept on Android app. Then the request first comes to your router and your router forwards the request to port 8080 of your deceive with IP address 192.168.1.20 (or whatever port you want to set internally for your device) . If your router has the loopback capability, which most of the recent router does, you also can use the external IP address/dyndns address to use within your LAN too. Hope it helps... |
I think I have found the issue for memorizing the SSID and Password after factory reset. On setup() section, place these statements as the first executed in setup();
I haven't tried it yet but will do when I get home and can work on it... |
Hi, Lovelesh, Obviously you have to adjust the port number. So, you have to find the way to clear this segment and implement that in your code.
Hope we see you fixed that in next release. |
@elar-systems this is a very nice idea. |
Hello,
I really like your development it helped a lot and I really am happy that I could find your codes as it helps a lot.
However, I have confusion about versions!
I could not compile version 2.0 as it needs 'css.h' and 'password.h' files which are missing!
However, the version 1.1 is compiling and working fine.
Now my question is that, why you said , in front page, that the version 0.6 is the current development one?
What version should I use to have the latest stable codes?
Also, i see you already now about this bug "Previous SSID and password still remains in memory even after factory reset".
Have you found any solution for that yet?
Thanks again...
By the way, I am using your codes on "Wemos D1 Mini Pro" and except the existing bug it works fantastic.
And, PLEASE: do not stop working on this great project. I can help if you want to improve it...
The text was updated successfully, but these errors were encountered: