           strcat(msg, sval.c_str());
           server->send(200, "text/plain", msg);
   }
-  void goFeedSlow(String sval) {
+*/
+  void doFeed(String sval) {
         int ival = sval.toInt();
         for(int a=0; a<ival; a++){
               for(int i=0; i<180; i++){

  }
  void checkRepository(){
          HTTPClient http;
          http.begin(HOST);
          http.addHeader("Content-Type", "application/x-www-form-urlencoded");
          http.POST("id=" + getID(WiFi.macAddress()) + "&version=" + DEV_VERSION);
          String response = http.getString();
          http.end();
          CheckRemoteFeedback(response);  
          // UPD broadcast also
          broadcast();
 }
 void CheckRemoteFeedback(String json){
     StaticJsonBuffer<200> jsonBuffer;
     JsonObject& jobj = jsonBuffer.parseObject(json);
     if (!jobj.success()){
         Serial.println("parseObject() failed");
         return;
         }
         //check server answer here. We are here only if json has been parsed successfuly
         String remote_job = jobj["remote_job"];
         String devise_id = jobj["devise_id"];
         if(remote_job[0] != '\0'){
          goFeedSlow(remote_job);
         } 
 }
 String getID(String str){
  int j=0;
  String dev_id;
  for(int i=0; i <17; i++){

  int start_time = millis(); // remember starttime
  servo.attach(MOTOR_PIN);
  servo.write(0); // initial position
  
  Serial.begin(115200);
  Serial.print("\n Starting at :");
