As I read on this blog post by Jose Anes, he has been working on a while on the Arduino > Ethernet shield > Pachube communication, to achieve “a Pachube manual update client on the arduino that pushes EEML XML format to Pachube directly, without a PC in the middle”.
- I had to print directly to the stream (ethernet in or out), because creating an EEML XML string was too much for the small memory of the Arduino. Direct writing as a stream solves that.
- I still want to avoid the reset every time it uploads to pachube (took that from the pachube CSV example).
The code: 20100218-pachube