Automatic external lighting rev1.1

Added interrupt and override functoins