Skip to content

Stream plant data (temp, lux, humidity, soil moisture) plot.ly using Spark Core

Notifications You must be signed in to change notification settings

StuartMVG/GardenSpark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GardenSpark

Source code for my 'GardenSpark' project.

This is a personal IoT (Internet of Things) project to read plant environment data from Air Temperature / Humidity / Lux / Soil Temperature / Moisture sensors and then store/visualize/analyze it in the cloud!

Node code is formware 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 specifically for an OpenShift environment. Server code subscribes to events from the core on the Spark cloud servers to consume data sent from the chip, and then saves it to a database and plots it to a streaming plot on plot.ly. Server also provides a web page interface to quickly read / query information either via a web page or JSON.

Future plans:

- Create plots myself with D3 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

About

Stream plant data (temp, lux, humidity, soil moisture) plot.ly using Spark Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 45.7%
  • C++ 39.7%
  • JavaScript 12.0%
  • Other 1.7%
  • C 0.5%
  • CSS 0.3%
  • Shell 0.1%