-
You've checked this a Web browser and it works ?
"http://192.168.1.230/?2-on" -
Build some debug print messages in the "if" statement to see how far it gets.
-
Look at this example of how you could test return codes from http.GET()
Arduino/BasicHttpClient.ino at master · esp8266/Arduino · GitHub