         Serial.println(subscriptions[i]);
       #endif
     }
-    
+  } else {
+    Serial.println("failed.");
   }
 }
 

    fadeActive = true;
  }

  mqttClient.loop();
}




#include "gammaTable.h"
#include "config.h" //set your SSID and pass here
const char* mqtt_server = "192.168.178.168";

#define DEBUG false //debug output
String Version = "v0.1.2";

const uint8_t r1Pin = D1,
              g1Pin = D2,
