Tweeting Weather
I’ve re-written my rf24 wrapper to tweet its findings, although as you can see the DHT11 and BMP085 seem to have gone insane, so possibly low voltage or cold issues. I’m thinking I’ll have to move to three AA batteries and a 3.3v regulator:
Altitude: 645.97m, pressure: 14.65psi, temperature: 13.60/12.31/15c, humidity: 49%, dewpoint: 4.37c, date: Tue 29 Oct 2013 15:53:02
The code is below:
#!/usr/bin/env python
from time import strftime, localtime
import sys
from twython import Twython
# twitter auth
CONSUMER_KEY = '******'
CONSUMER_SECRET = '******'
ACCESS_TOKEN = '*******'
ACCESS_SECRET = '*****'
# open file for reading
file = open("/var/tmp/rf24weather.