   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["cur_temp"]          = temperature * 0.01;
   root["cur_humi"]          = humidity;
   root["presence"]          = uint8_t(bpresence);


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

  receivedpayload.toCharArray(json, 150);
  StaticJsonBuffer<150> jsonBuffer;

    bpir_isr = false;
  }

  if (((millis() - lastpirMillis) < MAX_PIR_TIME) && ( lastpirMillis != 0))
  {
    bpresence = true;
  }
