 SHAauth otaAuth(myOTA_PASSWD);
 
 const String mainTopic = String("rfESP_")+String(ESP.getChipId(), HEX);;
-const String rfTopic = "rf434";
+const String globalTopic = "rf434";
 boolean logMode = false;
 boolean rawMode = false;
 String otaURL = "";

      mqtt.subscribe((mainTopic + "/set/+").c_str());
      mqtt.subscribe((mainTopic + "/ota/+").c_str());
      mqtt.subscribe((mainTopic + "/send/+").c_str());
      mqtt.subscribe((rfTopic + "/send/+").c_str());
    } else {
      Serial.print("failed, rc=");
      Serial.print(mqtt.state());

  Serial.println(")");

  if(status==VALID) {
    String topic = globalTopic + String("/recv/") + protocol;
    if (deviceID != NULL) {
      topic += String('/') + deviceID;
    }
