I know this isn't a node-red issue, but possibly someone here can help me out with a very odd issue.
I am using the Arduino IDE to program a Wemos D1 Mini, which I have done before. I want it to have a fixed ip address so I have
IPAddress staticIP(192, 168, nn, 65); //ESP static ip IPAddress gateway(192, 168, nn, 1); //IP Address of your WiFi Router (Gateway) IPAddress subnet(255, 255, 255, 0); //Subnet mask IPAddress dns(192, 168, nn, 1); //DNS
setup_wifi() I have
WiFi.config(staticIP, subnet, gateway, dns); WiFi.mode(WIFI_STA); WiFi.begin(ssid, password);
and everything works perfectly. However, and very strangely, if I specify 192.168.nn.66 for the ip address it ends up with nn.107 which is in the DHCP range. 19.168.nn.67 also works ok. I have looked in the router and can't see anything there that looks relevant.
Can anyone suggest anything or must I just resign myself to not using that address?
Edit: I have tried configuring a PC with .66 as the ip and it is ok, so it seems it is an Arduino ide issue. Google has not been helpful.