 } rtc_relaystatus;
 
 // mqtt
-char* topic       = "esp8266/arduino/s02";
-char* rslttopic   = "esp8266/cmd/light/rlst";
-//
-char* hellotopic  = "HELLO";
-//
-char* radiotopic  = "radio/test";
-char* radiofault  = "radio/test/fault";
-//
-char* willTopic   = "clients/relay";
-char* willMessage = "0";
-//
+char* topic         = "esp8266/arduino/s02";
+char* rslttopic     = "esp8266/cmd/light/rlst";
+char* hellotopic    = "HELLO";
+char* radiotopic    = "radio/test";
+char* radiofault    = "radio/test/fault";
+char* willTopic     = "clients/relay";
+char* willMessage   = "0";
 char* topicAverage  = "esp8266/arduino/s06";
-//
 char* lowpower      = "lowpower";
 // subscribe
 //
-char subtopic[]   = "esp8266/cmd/light";   // light command
-//
-char* substopic[1] = { subtopic } ;
+char subtopic_0[]   = "esp8266/cmd/light";   // light command
+char subtopic_1[]   = "esp8266/cmd/timer1";
+char* substopic[2] = { subtopic_0, subtopic_1 } ;
 //
 unsigned int localPort = 12390;
 const int timeZone = 9;

    syslogPayload += receivedpayload;
    sendUdpSyslog(syslogPayload);
  }

  //if ( receivedtopic == "esp8266/cmd/light" ) {
  if ( receivedtopic == substopic[0] ) {

    unsigned long now = millis();

    if ( now < 15000 ) {
      if ( receivedpayload == "{\"LIGHT\":1}") {
        relaystatus = HIGH ;
      }
      if ( receivedpayload == "{\"LIGHT\":0}") {
        relaystatus = LOW ;
      }
      relayIsReady = LOW;
    } else if ((now - lastRelayActionmillis) >= BETWEEN_RELAY_ACTIVE ) {
      if ( receivedpayload == "{\"LIGHT\":1}") {
        relaystatus = HIGH ;
      }
      if ( receivedpayload == "{\"LIGHT\":0}") {
        relaystatus = LOW ;
      }
    }

    if (INFO_PRINT) {
      syslogPayload = " => relaystatus => ";
      syslogPayload += relaystatus;
      sendUdpSyslog(syslogPayload);
    }
  }

      }

      client.loop();
      for (int i = 0; i < 2; ++i) {
        client.subscribe(substopic[i]);
        client.loop();
      }
