 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);
    
  }
}

            //trigger relay
            coffeeStartTime = millis();
            curState = COFFEE_BREW;
            digitalWrite(COFFEE_PIN, HIGH);
          }
          
          Serial.write(curState);//coffee is brewing
