A dashboard for Explorer PHAT (Explorer HAT) to read and control the inputs, outputs, analogs and motors remotely.
A dashboard for Explorer PHAT (Explorer HAT) to read and control the
inputs, outputs, analogs and motors remotely.
Clone the project:
git clone git@github.com:LowieHuyghe/explorer-phat-dashboard.git
Move into the new directory:
cd explorer-phat-dashboard
Install the requirements:
pip install -r requirements.txt
Make a copy of config.example.ini
named config.ini
config.ini
to match your configuration
python dashboard.py
Note: Make sure your virtualenv is active when running the script.
In case the dashboard has crashed and won’t respond:
> ps aux | grep dashboard.py
# Copy the process id
> kill -9 XXXXXX
> ps aux | grep ssh
# Copy the process id of the opened ssh session (if one)
> kill -9 XXXXXX