     return;
   };
   char * p = (char *)payload;
-  p[length] = 0;
 
 #define SEP(tok, err) tok = strsepspace(&p); if (!tok) { Log.println(err); return; }
 

  }

  static unsigned long last_wifi_ok = 0;
    if (WiFi.status() != WL_CONNECTED && millis() - last_wifi_ok > 10000) {
    Log.println("Connection dead for 10 seconds now -- Rebooting...");
    ESP.restart();
  }

}

void setup() {
  pinMode(PIN_VACUUM, OUTPUT); digitalWrite(PIN_VACUUM, 0);
  pinMode(PIN_POWER, OUTPUT); digitalWrite(PIN_POWER, 0);

  red = green = LED_FAST;
  tock();

  Log.begin(mqtt_topic_prefix, 115200);
  Log.println("\n\n\nBuild: " BUILD);

  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, wifi_password);
