Control a motor via GPIO to open and close shutters
This project is targeting the Neonious One as hardware. For local development the code is written with runtime compatibility to Node.JS and a Raspberry Pi in mind.
Start the application with npm install && npm debug
. It uses the
pigpio library also available on Raspberry
Pi.
Build the application with npm install && npm neonious
. Upload the file
dist/bundle.js
by using the integrated IDE. Bundling prevents errors regarding
the maximum module depth limited by stack size.
The implemented web server provides an API to manage motor instances and their states. For further information read the OpenAPI spec: Swagger UI