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

SHAauth otaAuth(myOTA_PASSWD);

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

  strncpy(payload, (char *)payload_, length);
  payload[length]='\0';

  String sendTopic = globalTopic + "/send/";
  if(topic.startsWith(sendTopic)) {
    transmitt(topic.substring(sendTopic.length()), payload);
  }
