cakelight.setMode(new AmbientMode(new String[] {input}));
System.out.println("setting ambient mode to " + input);
} else if (input.matches("(b|brightness)\\s+[0-9]+")) {
cakelight.setMode(new AmbientMode(new String[] {input}));
System.out.println("setting ambient mode to " + input);
} else if (input.matches("(b|brightness)\\s+[0-9]+")) {