-->
Page 4 of 4

Re: ESP to ESP communication

PostPosted: Wed Jan 03, 2018 7:32 pm
by nedudgi
[quote="Charles S"
Thank you for the quick reply. What I would like to do, is have one ESP as the AP, and another as a station (if that's possible... ie. no router). Obviously, both ESP's can't have the same address ("192.168.4.1"). If I change the station to something like "192.168.4.2" will that work? If it will, how do I change the ip address to "192.168.4.2"? Anyway, that's my thought process. :)[/quote]
Yes, it will work. Go to the "SETTINGS" page, and set the "IP (STA or AP mode):" to 192.168.4.2 .
Save settings, and restart your ESP.

Re: ESP to ESP communication

PostPosted: Mon Jan 08, 2018 2:38 pm
by Charles S
Thank you VERY much for the reply. You are correct, it does change the IP address on the SETTINGS Page. No idea why that didn't work before. Of course, one more question... So, now the IP is 192.168.4.2, how do I use it? I restart the ESP, connect to it, and enter "192.168.4.2" into the address bar. I get "Can't reach this page". To use the ESP, I must enter "192.168.4.1". What am I doing wrong?

Re: ESP to ESP communication

PostPosted: Thu Jan 25, 2018 7:36 am
by Electroguard
ESP broadcasts its AccessPoint (AP) SSID on the specified IP address for wifi connection.
The default IP address is 192.168.4.1 which can only be browsed to if that wifi conection has been made.
If you change the IP, address then the original SSID at the original IP address is no longer valid or reachable, so you need to reconnect wifi to the new SSID of the same name which is now at the new IP address.
Only when you have made a valid wifi IP connection can you make a browser connection to the wifi address.

Depending on how you intend your 2 nodes to communicate without a router you may need to also change the default gateway IP to point to each others address.

Re: ESP to ESP communication

PostPosted: Tue Jan 30, 2018 10:42 am
by Charles S
That is probably it. I never reconnected after I changed the IP. Thank you very much for the answer. I knew it was probably something simple.