There we go! We've built an app that checks if it's daytime or nighttime and switches the lights on and off accordingly.