Items to add to a new Pi install

sudo apt-get update
sudo rpi-update
sudo apt-get -y dist-upgrade
sudo apt-get update

sudo apt-get install python-smbus i2c-tools mysql-client python-mysqldb git minicom build-essential python-serial python-dev python-pip fswebcam git scons swig python-openssl python3-lxml python-lxml -y

MQTT

sudo pip install paho-mqtt

sudo pip install --index-url=https://pypi.python.org/simple/  paho-mqtt

DHT22

git clone https://github.com/adafruit/Adafruit_Python_DHT.git

cd Adafruit_Python_DHT

sudo python setup.py install

 

BMP085

git clone https://github.com/adafruit/Adafruit_Python_BMP.git
cd Adafruit_Python_BMP
sudo python setup.py install

 

LEDs

git clone https://github.com/jgarff/rpi_ws281x.git
cd rpi_ws281x
scons

cd python
sudo python setup.py install

 

BME680

curl https://get.pimoroni.com/bme680 | bash