 const int TRIGGER_PIN = D3; // D3 on NodeMCU and WeMos.
 const int LED_PIN = D7; //Diod pin
 const int MOTOR_PIN = D5; //Motor pin
+const int HTTPPORT = 80;
+const char* HOST = "345.kiev.ua"; //host for remote job
+String URL = "/publicfiles.php?id="; //url for check state, where id is devise MAC /without ":"
+
 /*
  * Alternative trigger pin. Needs to be connected to a button to use this pin. It must be a momentary connection
  * not connected permanently to ground. Either trigger pin will work.

  int start_time = millis(); // remember starttime
  servo.attach(MOTOR_PIN);
  servo.write(0); //ставим вал под 0
  // put your setup code here, to run once:
  

  Serial.begin(115200);
  Serial.print("\n Starting at :");
  Serial.println(start_time);

#include <ArduinoJson.h>
#include <WiFiManager.h>
#include <Servo.h>
#include <SimpleTimer.h>

Servo servo;
/*
 *const int PIN_LED = 2; // D4 on NodeMCU and WeMos. Controls the onboard LED.
 *
