/COTS-Prototype

Code for the temporary solution with routers and belkins wemo outlets

Primary LanguagePython

Repo for the WeMo solution.

To run make sure flask and flask-cors are installed

sudo pip install -U flask-cors

To set up the server, install uwsgi by running

pip install uwsgi

Then run

uwsgi --http ip-addres:port --wsgi-file server.py --callable app

NOTE: you need to run this commnd from the same folder as server.py