iot-root / garden-of-eden

Truly own that which is yours!
GNU General Public License v3.0
36 stars 9 forks source link

REST API #13

Open iot-root opened 1 year ago

iot-root commented 1 year ago

Flask REST API to sensors and controllers

Endpoints:

Note: need to think about the dashboard interface for the scheduling... Use API or call sensors directly?

refs: https://realpython.com/token-based-authentication-with-flask/

ammaratef45 commented 1 year ago

Use locks/symaphores to prevent parallel actions https://stackoverflow.com/questions/42325105/flask-processing-requests-1-by-1