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

      logMode = false;
    }
  }
  if(topic == (mainTopic + "/ota/url")) {
    otaURL = String(payload);
    mqtt.publish((mainTopic+ "/ota/nonce").c_str(), otaAuth.nonce().c_str());
  }
  if((topic == (mainTopic + "/ota/passwd")) && (otaURL.length() > 7)) {
    if(otaAuth.verify(payload)) {
      beatLED.on();
      Serial.print("Start OTA update from: ");
      Serial.println(otaURL);
      rf.disableReceiver();
      t_httpUpdate_return ret = ESPhttpUpdate.update(otaURL);
      switch(ret) {
        case HTTP_UPDATE_FAILED:
          Serial.printf("HTTP_UPDATE_FAILD Error (%d): %s", ESPhttpUpdate.getLastError(), ESPhttpUpdate.getLastErrorString().c_str());
          break;

  Serial.println();

  String topic = topic_;
  char payload[length + 1];
  strncpy(payload, (char *)payload_, length);
  payload[length] = '\0';

  String sendTopic = globalTopic + "/send/";
  if (topic.startsWith(sendTopic)) {
    transmitt(topic.substring(sendTopic.length()), payload);
  }
  sendTopic = mainTopic + "/send/";
  if (topic.startsWith(sendTopic)) {
    transmitt(topic.substring(sendTopic.length()), payload);
  }
  if (topic == (mainTopic + "/set/raw")) {
    Serial.println("Change raw mode.");
    if (payload[0] == '1') {
      rawMode = true;
