Skip to content

A simple API for Arduino-based devices using flask, created for and with the Internet Of Things Club at NextFab

Notifications You must be signed in to change notification settings

mattserota/iot-api-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iot-api-flask

A simple API for Arduino-based devices using flask, created for and with the Internet Of Things Club at NextFab

##what's inside

  • A simple API for sending and recieving data
  • Code for some simple sensors that connects to the API

##Running the API project

  • You'll need python installed (version 3.4+)

  • Consider setting up a virtual environment (google "virtualenv python")

  • Clone this project

git clone https://path.to.this.project.git
  • Install the requirements
cd iot-api-flask
OPTIONAL: activate virtual environment (something like source env/bin/activate)
pip install -r requirements.txt
  • Run the app
python app.py

##Running the Sensor Code

  • Open the code from the _sensors folder in the Arduino IDE

  • Upload to your MKR1000 and go!

  • You'll need to change WIFI credentials and server data, it's commented in the code

About

A simple API for Arduino-based devices using flask, created for and with the Internet Of Things Club at NextFab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages