Arduino library for Pachube connection

Hello,
I want to update my sensor data to pachube (http://www.pachube.com). I'm using Arduino duemilanove + Ethernet shield (W5100). Following the steps in this page (http://community.pachube.com/node/112?page=1), I can push data to and get data from the pachube.
But the problem is there are lots of code to handle the http data. The actual application logic is very little. So if there exists a library to encapulate the general process (such as PUT and GET), it will become easier and clearer to write the application logic in the loop().
Does anyboy know where can I get such library?

Regards,
Jeffrey

I searched everywhere. Came to nothing.

In the past week, i implemented such library by myself. It is hosted here (Google Code Archive - Long-term storage for Google Code Project Hosting.).

The main purpose to create this library is to simplify the communication with Pachube server (http://www.pachube.com/). The code example with this library is as below.

GET data from Pachube

        ERxPachubeDataIn datain("PACHUBE_API_KEY", "PACHUBE_FEED_ID");
        datain.syncPachube();

PUT data to Pachube

        ERxPachubeDataOut dataout("PACHUBE_API_KEY", "PACHUBE_FEED_ID");
        dataout.addData("0");
        dataout.addData("1");
        dataout.addData("2");

        dataout.updateData("0", analogRead(0));
        dataout.updateData("1", analogRead(1));
        dataout.updateData("2", "Arduino Data");
        dataout.updatePachube();

I'm very glad to hear somebody has interest in testing this library.

Regards,
Jeffrey

Since 2 days I'm trying to make an arduino send data to pachube, A lot of sketch and examples that can be found are old and still uses api v1 or an old IP address.

I will try your library this evening, but I have a lt of problem to get the connection to server and I don't know why !

I tried your lib,

good progress I can connect update feeds but it works fine.

always remember to init the ds1820 sensors BEFORE Ethernet.begin otherwise ethernet does not work and sensor does not always init.

Hi there,

I am using Pachube to create a sort of two way sensor & actuator communication.

Does anyone have experience with getting a data feed in and a data feed out from seperate feeds in one sketch?

All the examples I have found on the pachube forum using the same feed (different data-streams).

This is what I am trying to achieve;

 arduino = new Arduino(this, Arduino.list()[0], 57600);    
    dIn = new DataIn(this,"http://api.pachube.com/v1/feeds/19245.xml", "API KEY", 15000);

    dOut = new DataOut(this, "http://api.pachube.com/v1/feeds/25633.xml", " API KEY from another account");   
    
        dOut.addData(1,"Prototype2test");

}

thanks is advance!