     wifi_connect();
   }
 }
-// end of file
+// end of file
#define RELAY_PIN 12
#define LED_PIN 13

#define BETWEEN_RELAY_ACTIVE 3000
#define REPORT_INTERVAL 5000 // in msec

IPAddress mqtt_server = MQTT_SERVER;

const char* subscribe_topic = "light/bedroomlight";
const char* reporting_topic = "light/bedroomlight/report";

long lastReconnectAttempt = 0;
volatile bool bUpdated = false;

  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();
