A dashboard for Explorer PHAT (Explorer HAT) to read and control the inputs, outputs, analogs and motors remotely.
- Raspberry Pi with Explorer PHAT/HAT attached
- Explorer HAT Python library installed on Raspberry Pi
- SSH access to your Raspberry Pi
- Clone the project:
git clone git@github.com:LowieHuyghe/explorer-phat-dashboard.git
- Move into the new directory:
cd explorer-phat-dashboard
- Setup virtualenv and activate it
- Install the requirements:
pip install -r requirements.txt
- Make a copy of
config.example.ini
namedconfig.ini
- Fill in
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:
- Find the dashboard- and ssh-process and kill them
> 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