   Serial.println(topic);
   Serial.println(buffer);
 
-  // 受け取ったJSON形式のペイロードをデコードする
+  // Decode the received message in JSON format
   StaticJsonBuffer<MQTT_MAX_PACKET_SIZE> jsonBuffer;
   JsonObject& root = jsonBuffer.parseObject(buffer);
 

      Serial.println("MQTT connected");
      client.setCallback(callback);

      // トピック名を指定してsubscribe
      client.subscribe(topic);
    } else {
      Serial.print("MQTT connection failed: ");


const char* host = "mqtt.beebotte.com";

// Print a received message
void callback(char* topic, byte* payload, unsigned int length) {
  // A buffer to receive a message
  char buffer[MQTT_MAX_PACKET_SIZE];

  snprintf(buffer, sizeof(buffer), "%s", payload);
