       } else {
         client.publish(hellotopic, "hello again 1 from ESP8266 s07");
       }
+      client.subscribe(subtopic);
       if (EVENT_PRINT) {
         Serial.println("---------------> connected");
       }

char* willTopic = "clients/power";
char* willMessage = "0";

IPAddress server(192, 168, 10, 10);

// pin : using line tracker

int average = 0;

WiFiClient wifiClient;
PubSubClient client(server, 1883, callback, wifiClient);

long lastReconnectAttempt = 0;

