Control your Raspberry Pi Pins with Flask application.
Tested in models B+ and 3B+
- Login
- Some system info in dashboard (auto update using webockets).
- Register pins to control.
- Control state of pins between on/off.
- PWA Ready.
- Flask-Login
- Flask-WTF
- Flask-Migrate
- Flask-SQLAlchemy
- Flask-SocketIO
sudo apt install build-essential libssl-dev libffi-dev python3-dev
- Clone project,
- Enter in project folder,
- Install dependencies with poetry:
poetry install
, - Run migrations:
flask db init && flask db migrate && flask db upgrade
, - Create admin user:
flask seed
, - Run project in development mode:
python wsgi.py
.
- 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 (auto update using websockets).
- PWA implementation.
- User permissions.
- Apply Unit Tests.
- RestFull Api.
Some project images: