I am working on an a Raspberry Pi based, Internet connected indoor air quality monitor called LiV Pi. LiV Pi is an open source hardware and software project. LiV measures temperature, humidity, air pressure and CO2 levels. I wanted to make LiV Pi send reports and alerts via Twitter. Please refer to our GitHub repository to have a look at the Python code.