Good morning fellows,
a few days ago I started my own DHT22 http://www.adafruit.com/products/385 temprature und humidity datalogging project based on the Adafruit Demo DHT-Driver http://goo.gl/nUrTZ.
But instead of using Google Docs, I decided to use Cosm to log and display the data. Because I'm not very familiar with Python, the project should be realizied in C/C++. For transfering the data directly to Cosm, the curl library seemed to be the right choice http://curl.haxx.se/libcurl/.
Finally this is the result of my work: https://github.com/fraterv/dht22-cosm-d ... t_logger.c
It works fine, but only for ~ 24-26 hours. After 24 hours the process stops working without any other error. It just halts and consumes ~ 30% of the available CPU time and thats it...
I'm using a Rev. 1 Model B Rasperry Pi and an up to date Raspian Linux. I worked through the code several times, but I'm not able to identify the problem. And because the error occures only every 24 hours, try and error is a poor solution.
I'm happy about any suggestion!