great job nice to see this working. how does it see if the lights are off? since that's quite strange i think ö