   AC_AIR_ACLEAN = air_clean;
 }
 
+void ac_sleepmomde_change() {
+  if ( AC_POWER_ON == 0 ) {
+    ac_air_clean(0);
+    delay(100);
+    ac_activate(28, 0);
+    delay(100);
+  } else {
+    ac_power_down();
+    delay(100);
+    ac_air_clean(1);
+    delay(100);
+  }
+}
+
 // IR
 void dumpInfo (decode_results *results)
 {

    delayMicroseconds(sleepTime);

    startMills = millis();

  }

  if (irrecv.decode(&results)) {

void setup()
{
  Serial.begin(38400);

  startMills = millis();
  ac_startMills = 0;

  Serial.println("Starting dust Sensor");
  pinMode(ledPower, OUTPUT);

