//PODVAL Web SENSOR Serial.println("G"); int current_garage = digitalRead(5); //Serial.println(current_garage); if (current_garage != (int)old_garage) { old_garage = (int)current_garage; sprintf(buf, "GET /objects/?object=sensorPodval&op=m&m=statusChanged&status=%i HTTP/1.0", (int)current_garage); sendHTTPRequest(); }