This repo contains:
- The Python based server meant to run on a RaspberryPi 2 (root folder)
- The schematic for the addidtional PCB (hw folder)
Within the development environment the GPIO is mocked.
- Python 2.7
- (Windows only) Install the VC++ compiler for Python 2.7 (http://www.microsoft.com/en-us/download/details.aspx?id=44266)
I recommend using pip
and virtualenv
. One way to do so is:
- Download PyCharm (https://www.jetbrains.com/pycharm/download/) - Community Edition is sufficient
- Open this repository
- Set interpreter to Python2.7
- Go to "File" -> "Settings"
- Search for "Interpreter"
- Set to Python 2.7
- Open
aerome_scent_control_server.py
- PyCharm should now display that some requirements are missing -> click "Install requirements"
python aerome_scent_control_server.py
Ready-to-use SD card images can be built following the instructions at https://github.com/j-be/vj-control-server-buildenv
The API can be found at https://github.com/j-be/vj-unity-apis. Follow the instructions there. For this server you need:
StinkomatController.cs
... which needs a SocketIOComponent
. Use namespace scent
.