lettherebelight Using Pimoroni's Enviro pHAT in combination with Energenie' PiMote to turn lights on or off depending on how dark it is.