DISCLAIMER: This project is under re-construction. This repository still exists for reference.
Source code for my 'GardenSpark' project.
Live website: http://gardenspark-evargreen.rhcloud.com/
This is a personal IoT (Internet of Things) project to read the following plant environment data and then store/visualize/analyze it in the cloud:
- Air Temperature
- Soil Temperature
- Humidity
- Soil Moisture
- Light levels
Sensor code is firmware written for the Spark Core, a WiFi enabled microcontroller. Firmware simply takes a reading from all sensors every ten seconds and then posts it as an event to the spark cloud servers.
Server code is written in node.js using express js specifically for an OpenShift environment. Server code listens to events from the core on the Spark cloud servers via a webhook which posts the data to /readings whenever it is published from the Spark Core. Server provides web page to watch live data as well as view graphed historical data. Subsequently the server provides an api to subscribe to data in SSE format as well as query historical data in JSON format.
Smooth large data queries for plottingCreate plots myself with n3-charts angularjs library- Power the spark via solar power
- Integrate automated watering system
- Create custom PCB for GardenSpark sensor unit
More details on implementation can be found on my blog serdmanczyk.github.io/gardenspark