Static IP of ESP8266 not recognised by router
Posted: Tue Apr 26, 2016 12:03 pm
Hi all,
wondering if anyone else has this problem- letting the router assign an ip automatically (using wifi.sta.config("SSID","PW") works well for my esp8266-01, (I can use it as a web server and see it on my routers list of devices on the network) but when I want to change it to a static IP address (using wifi.sta.setip({ip="",netmask="",gateway=IPROUTER}) ) even though I can still access the web server with the static IP fine, the router doesn't see the esp8266-01 anymore. Any ideas?
I've checked that i'm not just looking at a list of dhcp devices on the router( changing my phone to a static IP showed up in the list).
At the moment this means I can only communicate with a home automation server as long as I don't have a reset of the esp8266 (e.g. a reassigned IP address from the router) so not ideal..
wondering if anyone else has this problem- letting the router assign an ip automatically (using wifi.sta.config("SSID","PW") works well for my esp8266-01, (I can use it as a web server and see it on my routers list of devices on the network) but when I want to change it to a static IP address (using wifi.sta.setip({ip="",netmask="",gateway=IPROUTER}) ) even though I can still access the web server with the static IP fine, the router doesn't see the esp8266-01 anymore. Any ideas?
I've checked that i'm not just looking at a list of dhcp devices on the router( changing my phone to a static IP showed up in the list).
At the moment this means I can only communicate with a home automation server as long as I don't have a reset of the esp8266 (e.g. a reassigned IP address from the router) so not ideal..