   }
   Serial.println("");
   Serial.println("WiFi connected");
+  blink(4,500,200);
   return true;
 }
 

String password;
String stream_id;
String stream_pk;

char* host ="kitwallace.co.uk";

WiFiServer server(80);
WiFiClient client;

	delay(1000);
	Serial.begin(9600);
  Serial.println(String("ap started: ") + ap_started + " WiFi connected: " + wifi_connected); 

  pinMode(D1,INPUT);
  pinMode(D4,OUTPUT);
  digitalWrite(D4,HIGH);  // turn it off
}

void loop() {
