Made comment to note that the Hue system is 1-based, not 0-based, so always start with 1 when dealing with the lights (think more java.sql instead of java.util).