Python Code and Protocol for controlling animal housing lights, and measure temperature and humidity, using a Raspberry Pi, and ANAVI-light HAT.