Skip to content

Launch fireworks using a web application on a Raspberry PI 3

Notifications You must be signed in to change notification settings

sylvainDNS/PiRotechnics-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIVE DEMO AVAILABLE (selfhosted, built and deployed with Jenkins) : https://api.pirotechnics.sylvaindenyse.me

Build Status Project progress

PiRotechnics

PiRotechnics

TODO

  • Finish routes
  • Handle errors with Hapi (Boom)
  • Test routes
  • Add Swagger
  • Implement canals
  • Really mock GPIO
  • Handle data with socket

Environment variable sample

export NODE_ENV=development|production

export HAPI_HOST=localhost
export HAPI_PORT=4444

export SWAGGER_HOST=localhost
export SWAGGER_SCHEMES=http

export SQLITE_PATH=piro.db

Specs

Representation of how to emulate 28 canals with 16 GPIO output.
With this implementation, we can use CanalNumber % 2 to find if the last GPIO must be activated or not.

Canals implementation

About

Launch fireworks using a web application on a Raspberry PI 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published