资 源 简 介
Arduino code to parse CurrentCost XML data and upload to Pachube using Ethershield from Nuelectronics.
Averages of power and temperature data from XML feed (approx 5 second intervals) are calculated between uploads. A 1 minute interval seems to works best, Pachube averages the uploads recieved to 15 minute resolution.
Nuelectonics Ethershield shield for Arduino has sample code for running as a HTTP server or HTTP client. This uses a HTTP PUT with connection close to upload data to Pachube.
See keyvariables for basic configuration details.
See pachube for data feed of original implementation.