If Statement not working in my ESP8266 project that uses Fauxmo library.

  1. You've checked this a Web browser and it works ?
    "http://192.168.1.230/?2-on"

  2. Build some debug print messages in the "if" statement to see how far it gets.

  3. Look at this example of how you could test return codes from http.GET()
    Arduino/BasicHttpClient.ino at master · esp8266/Arduino · GitHub