Skip to content

Grab moisture readings from sensor using an arduino type device and push to cosm/pachube using python.

Notifications You must be signed in to change notification settings

flexmox/MoistureCosm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MoistureCosm

Author: [email protected]

Introduction

This is a set of scripts used to upload moisture readings to Cosm/Pachube.

Installation

  1. Install moisture sensor (http://www.seeedstudio.com/depot/grove-moisture-sensor-p-955.html?cPath=144_147)
  2. Connect to arduino type device (http://arduino.cc/) using 3.3v/5v, GND, and analog input. In my code I'm using A0.
  3. Upload sketch file (moisture_v1.ino) to arduino.
  4. Install python dependencies:
  1. PySerial - http://pyserial.sourceforge.net/
  2. Python eeml - https://github.com/flexmox/python-eeml
  1. Modify pushtocosm.py to include your personal API and feed number (https://cosm.com)
  2. Run python script pushtocosm.py
  3. (optional) Set up cron job to run python script at desired interval.

Requirements

  • python-eeml
  • PySerial
  • Cosm Account
  • Arduino or any microcontroller able to put out 3.3-5v and connect to a virtual serial port.
  • Moisture sensor

About

Grab moisture readings from sensor using an arduino type device and push to cosm/pachube using python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages