-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ESP8266 - WiFiManager, cannot connect to router #871
Comments
i think you are confused
|
You are right, I was confused. I didn't know that DCHP provides the IP to the ESP. I have not specified in my code any IP address. (in order to make sure the ESP joined the router I 'll have to experiment at my client's place, this is something I 'd like to avoid. And will do only if I can't do otherwise) The credentials for thingspeak are the same as the ones I used at my router, where it works. (I think my only option is to experiment at my clients router :(, if you have any other idea it 'll be welcome) |
In case it helps somebody with a similar problem: change:
He did all these 3 changes and now it works! |
The problem is with DHCP. IPAddress ip(192, 168, 29, 15); |
Sounds like dhcp is not working properly , not a wm issue. If you have any esp logging post it so we can be sure though. |
I 've made an ESP8266 device(a thermometer).
Uses WiFiManager library.
It works fine with my router.
BUT, at the client, I do everything as expected (turn to Access Point, Enter credentials, save, reboot ESP back to normal) but does not send data to thingspeak.
Like if it cannot connect to the internet.
(the password is 100% correct)
My client's router is a 'Thomson' brand name router.
Does ESP face any problems connecting to some specific routers?
Let me tell you what my client told me:
-his router accepts IPs from 192.168.1.2 up to 192.168.1.253 (254 is the default which is used to enter in the web interface)
-the ESP tries to connect with IP 192.168.4.1, which is out of the router 's range, so it rejects it.
Does this make any sense?
What can I do?
Any help is welcome.
The text was updated successfully, but these errors were encountered: