-
Notifications
You must be signed in to change notification settings - Fork 2
Welcome
Berg Paulo edited this page Nov 13, 2019
·
2 revisions
Control your Raspberry Pi 2/3 Pins with Flask application.
Features:
- Login
- Some system info,
- Register pins to control,
- Control state of pins between on/off
Flask modules:
- Flask-Login
- Flask-WTF
- Flask-Migrate
- Flask-SQLAlchemy
- Flask-SocketIO
System requirements:
sudo apt install build-essential libssl-dev libffi-dev python3-dev
Development:
- Clone project,
- Enter in project folder,
- Install dependencies:
pipenv install, - Activate virtualenv:
pipenv shell, - Run migrations and create admin user:
flask db-seed, - Run project:
python run.py.
Production:
To do:
- User login.
- Save pins in database.
- Check if pin is disponible before register.
- Verify if pins exist in Raspberry Pi GPIO.
- Return system status in dashboard (Using Sockets).
- User permissions.
- Apply Unit Tests.
- RestFull Api.