 void setup() {
   Bean.enableWakeOnConnect(true);
   Bean.setBeanName("coffeebean");
+  pinMode(COFFEE_PIN, OUTPUT);
+  digitalWrite(COFFEE_PIN, LOW);
   delay(5000);
 }
 

    delay(1000);
    Bean.setLed(0,0,0);
    Bean.sleep(0xFFFFFF);
    
  }
}

        Serial.write(COFFEE_OFF);
        curState = COFFEE_OFF;
        Bean.disconnect();
        digitalWrite(COFFEE_PIN, LOW);
        //disable relay
      }
    }
