     sprintf(lightCommand, "light%01u:%s", receivedCode.unit, receivedCode.switchType == NewRemoteCode::off ? "false" : "true");
 
     client.send(lightCommand);
-    
-    updateSmartValues((hour()*60) + minute(),analogRead(ldrPin));
+
+    // Enable this to update SmartValue updating, untested
+    // updateSmartValues();
   }
 
   // Enable the receiver again

byte timeArrayPosition = 0;
unsigned long lastCheck;

// KAKU Transmitter
NewRemoteTransmitter transmitter(transmitterAddress, transmitterPin, transmitterPeriod);

// Ethernet details
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
char hostname[] = "ardnmtn.barthopster.nl";
int port = 8181;


      short curTimeMinutes = hour() * 60 + minute();
      if (curTimeMinutes > (minutesThreshold - timeFrameBefore) && curTimeMinutes < (minutesThreshold + timeFrameAfter)) {
        Serial.println("Lights on");
        lastDay = day();
        NewRemoteReceiver::disable();
        for (int i = 0; i < 4; i++) {
          transmitter.sendUnit(i, true);
