 #define MQTTretry 20
 #define MQTTqos 2
 #define esp8266alive 40
-#define esp8266Serial Serial
+#define esp8266serial Serial
 
 #define rumorePin 2
 #define buzzPin 4

        lastAliveCheck = millis();
        connected = false;        
    }
    if (esp8266Serial.find("[(")) {
        esp8266Serial.readBytes(cb, 1);
        if (cb[0] == 'r') {
            //ready
            if (connected) {

    if (!connected)
        return;
    success = false;
    esp8266serial.println("mqttPublish(\"" + topic + "\", \"" + message + "\",  " + MQTTqos + ", " + retain + ")");                
    esp8266serial.flush();
    waitForSuccess();
}
void mqttSubscribe(String topic) {
    if (!connected)
        return;
    success = false;
    esp8266serial.println("mqttSubscribe(\"" + String(topic) + "\", " + MQTTqos + ")");
    esp8266serial.flush();
    waitForSuccess();
}

