     if (acStatus != newAcStatus) {
       acStatus = newAcStatus;
       airConditioner.setPower(acStatus);
+      digitalWrite(PIN_AC_POWER_LED, acStatus ? HIGH : LOW);
     }
     if (ACTemp != newTempc) {
       ACTemp = newTempc;

long lastConnectionTime = 0;        // last time you connected to the server, in milliseconds
boolean lastConnected = false;      // state of the connection last time through the main loop
const int postingInterval = 10000;  // delay between updates to the cloud

boolean static isIPValid = false;


  Serial.begin(9600);
  Serial.println("BOOT");

  pinMode(PIN_ONLINE_LED, OUTPUT);
  pinMode(PIN_AC_POWER_LED, OUTPUT);
  // Give the Ethernet Shield time to initialize.
  delay(1000);

