Python based automation system which uses mqtt to handle intra-component communication (was formally just for use of ESP8266 devices)
- libcurl4-openssl-dev
- python3-pip
- python3.4
- git
- screen
Note: These installation instructions are for Ubuntu 14.04
- Install prerequisits
sudo -i
apt-get install mosquitto
pip install virtualenv
- Setup home_automation
cd /
git clone https://github.com/mbainrot/home_automation.git
cd /home_automation
virtualenv env -p `which python3.4`
source env/bin/activiate
pip install -r requirements.txt
- Configure home automation
cp config.example.py config.py
cp lifx_config.example.py lifx_config.py
You then have to edit those files accordingly, config.py generally doesn't need it but for lifx_config.py you will need to specify your API key.
- Start home_automation
cd /home_automation
./start.sh