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?
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.
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 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");
}