Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.25 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.25 KB

Explorer Phat Dashboard

A dashboard for Explorer PHAT (Explorer HAT) to read and control the inputs, outputs, analogs and motors remotely.

Requirements

Installation

  1. Clone the project:
git clone [email protected]:LowieHuyghe/explorer-phat-dashboard.git
  1. Move into the new directory:
cd explorer-phat-dashboard
  1. Setup virtualenv and activate it
  2. Install the requirements:
pip install -r requirements.txt
  1. Make a copy of config.example.ini named config.ini
  2. Fill in config.ini to match your configuration

Run

python dashboard.py

Note: Make sure your virtualenv is active when running the script.

Troubleshooting

  • 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