Python Code for Environmental Monitoring

SkySlab uses a Raspberry Pi 2 along with I2C sensors to detect, manipulate and post environmental data. This post contains some old code that assists. The code has been updated since this post, however it’s provided for anyone who a) understands python along with I2C libraries and b) is interested in Thingspeak APIs and manipulating data.