gspread Help
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

gspread Help

by andrewbo on Thu Nov 08, 2012 5:02 am

I'm looking at setting up a basic weather station using a BMP085 and DHT22 to measure temperature, pressure and humidity. I have both of them working and posting the information to Google Drive spreadsheet. I plan on turning both scripts into daemons so that they run permanently and give me nice graphs, but before I do this I'd like to change the way the data is laid out within the spreadsheet. Is it possible to change the column which the data is inserted into in the spreadsheet?

I'm pretty new to python but I've had a look in the Adafruit_X_googledocs_ex.py code and can't see where it specifies the column so I'm guessing it must be within the gspread module. Can anyone help with this?

Thanks.
andrewbo
 
Posts: 6
Joined: Tue Oct 23, 2012 4:08 am

Re: gspread Help

by andrewbo on Thu Nov 08, 2012 5:14 am

I've just noticed that the two modules/scripts aren't playing quite as well as I'd first thought. The BMP085 script seems to be overwriting a lot of the values which the DHT script is uploading to the spreadsheet.

Perhaps they allocate the two scripts allocate row numbers in a different manner?
andrewbo
 
Posts: 6
Joined: Tue Oct 23, 2012 4:08 am