
Raspberry Pi and Cosm by MrMobileWill -
Over a month ago I decided to give Cosm.com a try instead of using my own MySQL database and graphing in Python. Since this was awhile ago I don’t remember everything I did to get it working but I will post the code and libraries I am using that work.
Here is a simple library to making sending to Cosm easy.
http://www.netfluvia.org/layer8/?p=175
Here is the full code I am using to log the PIR sensor to Cosm, after the jump.
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.

Printable catalog (PDF)
FEED