From my code I try to schedule an alarm on philips hue and want the light brightness to gradually turn on from 0 to max value.
I use following code:
PHBridge selectedBridge = PHHueSDK.getInstance().getSelectedBridge();
PHSchedule schedule = new PHSchedule("My Alarm");
PHLightState lightState = new PHLightState();
lightState.setOn(true);
lightState.setTransitionTime(120000);
lightState.setIncrementBri(1);
schedule.setLightState(lightState);
schedule.setLightIdentifier(lightIdentifier);
but the apis lightState.setTransitionTime(120000) and lightState.setIncrementBri(1) dient't seem to help. can someone help me with this.