   delay (2000);
 
   Serial.print ("Connecting to "); Serial.print (config.apName); Serial.print (' ');
-  wifiMulti.addAP (config.apName, config.password);
+  WiFi.begin (config.apName, config.password);
   delay (5000);
-  while (wifiMulti.run() != WL_CONNECTED) {
+  while (WiFi.status() != WL_CONNECTED) {
     yield();
     setColor (100, 0, 100);
     delay(500);


// WEB server configuration port
#define WEB_SERVER_PORT 80

// Wifi
ESP8266WiFiMulti wifiMulti;

// Configuration WIFI name
#define WIFI_AP_SSID "CheerlightsConfig"

    updateColor();

    if (millis() - lastInteractionTime > (long)config.updateFrequency * 1000L) {
      if (WiFi.status() == WL_CONNECTED) {
        WiFiClient client;

        // connect to ThingSpeak
