项目作者: LowieHuyghe

项目描述 :
A dashboard for Explorer PHAT (Explorer HAT) to read and control the inputs, outputs, analogs and motors remotely.
高级语言: Python
项目地址: git://github.com/LowieHuyghe/explorer-phat-dashboard.git
创建时间: 2017-01-21T14:07:32Z
项目社区:https://github.com/LowieHuyghe/explorer-phat-dashboard

开源协议:MIT License

下载


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:

    1. git clone git@github.com:LowieHuyghe/explorer-phat-dashboard.git
  2. Move into the new directory:

    1. cd explorer-phat-dashboard
  3. Setup virtualenv and activate it
  4. Install the requirements:

    1. pip install -r requirements.txt
  5. Make a copy of config.example.ini named config.ini

  6. Fill in config.ini to match your configuration

Run

  1. 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
    1. > ps aux | grep dashboard.py
    2. # Copy the process id
    3. > kill -9 XXXXXX
    4. > ps aux | grep ssh
    5. # Copy the process id of the opened ssh session (if one)
    6. > kill -9 XXXXXX