Clone this repository into your paspberry pi
$ git clone https://github.com/notfoundsam/smart-remote.git
$ cd smart-remoteRun services on local machine by docker or create each service by yourself (mysql, node-red, influxdb, grafana, mosquitto)
$ docker-compose -f docker-compose-server.yml up -d$ pip install --no-cache-dir -r requirements.txtRun the application
$ python run.pyCheck it
http://localhost:5000$ flask db migrate --rev-id 001$ flask db upgrade
$ flask db downgrade$ docker-compose up$ docker stack deploy --compose-file docker-compose-swarm.yml smart-homepip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
pip freeze > requirements.txt