   clientName += "-";
   clientName += String(micros() & 0xff, 16);
 
+  getResetInfo = "hello from bedroomlight ";
+  getResetInfo += ESP.getResetInfo().substring(0, 50);
+
   configTime(9 * 3600, 0, "pool.ntp.org", "time.nist.gov");
 
   ArduinoOTA_config();

  String payload;
  if (bRelayState)
  {
      payload = "on";
  }
  else
  {

  sendmqttMsg(reporting_topic, payload, true);
}

void ICACHE_RAM_ATTR parseMqttMsg(String receivedpayload, String receivedtopic)
{
  if (receivedtopic == subscribe_topic)
  {
    if (bRelayReady)
    {
      if ( receivedpayload == "true")
      {
        bRelayState = HIGH;
      }
      else
      {
        bRelayState = LOW;
      }
      bUpdated = true;
    }
    else
    {
      sendCheck();
      client.loop();
    }
  }   
}

void ICACHE_RAM_ATTR callback(char* intopic, byte* inpayload, unsigned int length)
