Introduction

This repo contains:

  • The Python based server meant to run on a RaspberryPi 2 (root folder)
  • The schematic for the addidtional PCB (hw folder)

The server

Development environment

Within the development environment the GPIO is mocked.

Requirements

Setup

I recommend using pip and virtualenv. One way to do so is:

  1. Download PyCharm (https://www.jetbrains.com/pycharm/download/) - Community Edition is sufficient
  2. Open this repository
  3. Set interpreter to Python2.7
    1. Go to "File" -> "Settings"
    2. Search for "Interpreter"
    3. Set to Python 2.7
  4. Open aerome_scent_control_server.py
  5. PyCharm should now display that some requirements are missing -> click "Install requirements"

Run

python aerome_scent_control_server.py

Production

Ready-to-use SD card images can be built following the instructions at https://github.com/j-be/vj-control-server-buildenv

Unity3D

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.