Turns lights on/off based on beacon region.