in s1e1-totally-lit/hue-lifx-java/src/main/java/com/awslabs/iot_all_the_things/special_projects_edition/totally_lit/lifx/LiFXShared.java [33:41]
public static void requireAtLeastOneLight() {
// Make sure there are some lights. If not give the user some hints on what might be wrong.
if (getLightCount() == 0) {
log.error("No LiFX lights detected. If you have LiFX lights on your network try turning off your firewall and run this program again.");
log.error("");
log.error("On MacOS you can disable your firewall by running this command: sudo pfctl -F all");
System.exit(1);
}
}