   JsonObject& root = jsonBuffer.createObject();
   root["ac_mode"]           = ir_data.ac_mode;
   root["ac_temp"]           = ir_data.ac_temp;
-  root["ac_flow"]           = ir_data.ac_flow;  
+  root["ac_flow"]           = ir_data.ac_flow;
   root["cur_temp"]          = temperature * 0.01;
   root["cur_humi"]          = humidity;
   root["presence"]          = uint8_t(bpresence);

  sendmqttMsg(reporting_topic, json, false);
}

void ICACHE_RAM_ATTR parseMqttMsg(String receivedpayload, String receivedtopic)
{
  char json[] = "{\"ac_mode\":0,\"ac_temp\":27,\"ac_flow\":2}";


IPAddress mqtt_server = MQTT_SERVER;

String clientName;
String syslogPayload;
long lastReconnectAttempt = 0;

unsigned int localPort = 12390;
