       }
       mqttclient.loop();
     }
+
+    if (nextCmdId %2 == 0)
+    {
+      digitalWrite(LED_BUILTIN, HIGH);
+    }
+    else
+    {
+      digitalWrite(LED_BUILTIN, LOW);
+    }
     ArduinoOTA.handle();
   }
   else

  root["type"] = "message";
  root["id"] = nextCmdId++;
  root["channel"] = SLACK_CHANNEL;
  //root["text"] = "Hello world";
  root["text"] = "테스트 시작";
  String json;
  root.printTo(json);
  webSocket.sendTXT(json);


  irrecv.enableIRIn();

  // wifi connect
  wifi_connect();

