Raspberry Pi based attic monitor and fan control