     Serial.println(receivedpayload);
   }
 
-  if ( receivedpayload == "{\"LIGHT\":1}") {
+  if ( receivedpayload == "{\"LIGHT\":1,\"READY\":1}") {
     relaystatus = 1 ;
   }
-  else if ( receivedpayload == "{\"LIGHT\":0}") {
+  else if ( receivedpayload == "{\"LIGHT\":0,\"READY\":1}") {
     relaystatus = 0 ;
   }
 

    wifi_connect();
  }


  if ( subMsgReceived == HIGH ) {
    subMills = (millis() - startMills) - wifiMills ;
    if (DEBUG_PRINT) {

volatile int topicMsgSent   = LOW;
volatile int relaystatus    = LOW;

int vdd = 0 ;

//
unsigned long startMills = 0;
