Skip to content
Files associated with the Tinaja Labs Xbee Gateway device using The Raspberry Pi
Branch: master
Clone or download
chris jefferies
chris jefferies cleanup
Latest commit 29d458b Apr 28, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes first commit Sep 3, 2012
.gitignore added config settings to allsensors.py Sep 4, 2012
allsensors.py new examples Apr 28, 2014
allsensors.py.old first commit Sep 3, 2012
reader2.py first commit Sep 3, 2012
readme.md added the readme.md Sep 4, 2012
sense2carbon.py cleanup Apr 28, 2014
sensorconfig.csv first commit Sep 3, 2012
sensorhistory.py first commit Sep 3, 2012
serial_example_series_1.py first commit Sep 3, 2012
testCSVConfig.py first commit Sep 3, 2012
testLED.py first commit Sep 3, 2012
testLogFile.py first commit Sep 3, 2012
testND.py
testReader.py first commit Sep 3, 2012
testSend.py
testSenseAPI.py first commit Sep 3, 2012
testThingSpeak.py first commit Sep 3, 2012
testtemp.py first commit Sep 3, 2012
twitter.py first commit Sep 3, 2012
xbee.py first commit Sep 3, 2012

readme.md

This is some python code that I use to manage a group of xbee based sensor boards from a Raspberry Pi with an attached Xbee radio. The main program is allsensors.py.

You can see my rough notes and references at: http://tinajalabs.wordpress.com/2012/09/02/raspberry-pi-as-an-xbee-wireless-sensor-network-gateway/

To run it you'll need to create a default.cfg file (in the same directory) that looks like this:

[apikeys]
thingspeak_key: 
cosm_key: 
sense_key: 
twitterusername: 
twitterpassword: 
tinaja_key: 
[paths]
locallogpath: /var/www/tinajalog
tinajalogurl: 
senselogurl: http://api.sen.se/events/?sense_key=
thingspeaklogurl: api.thingspeak.com

Look at the import commands and you'll see it will require the following python modules:

  • SUDS
  • EEML
  • pySerial
  • simplejson
You can’t perform that action at this time.