This is a dashboard web app built in meteor for the Sprout Up project.
You can view the whole project overview here
#The Dasboard
#Installation
git clone repo
cd cloned/dir/of/repo
meteor
#API
To add data into the db, you can use a REST API,
First you need to login
curl http://localhost:3000/api/v1/login -d "username=joeschmoe&password=password"
This will return a authtoken and a userId, use these values for the next calls
curl -X POST http://localhost:3000/api/v1/data/:plantId?type=light&value=45 -H "X-Auth-Token: authtoken" -H "X-User-Id: userId"
The plantId is the given plant id specified in the dashboard, the type is the sensor type (light, moist or temp), the value is the value of the sensor.
N/A
API Posting from Rpi !!!!! Code Clean Up (Ugh!) Better Graphics
This was made by Justin Rahardjo and Jared Page.
We would like to thank Rebecca Simpson, Matthew Gardener and Jaco Du Plessis for being part of the iLab team !