Measuring temperature and humidity with a Raspberry Pi