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

    Serial.println(WIFI_SSID);

    delay(10);
    WiFi.mode(WIFI_STA);
    WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
    WiFi.hostname("esp-irbedroom");

    {
      ir_data.ac_mode = root["ac_mode"];
      ir_data.haveData = true;
      where_haveData_called = 2;
    }
  }
}
