Quikdav wrote:
Hi All
Why there there is no way to access data directly from http request (ex : ip_adress/output.xml)
I would like to record my consumption in my own mysql database but I didn't find anything to do that ?
Thanks and regards
David
It's a fairly broad question you are asking without giving any information about your skill level, or what equipment you have in place etc. so can I assume you are a developer with an ENVI connected to your PC with a current cost data cable? [Alternatively, if you want to download data from my.currentcost.com see
http://www.currentcost.com/support/viewtopic.php?f=8&t=28]
The API for the output from the serial port installed with your data cable is documented in
http://www.currentcost.com/cc128/xml.htm and should be enough to get you going.
If you don't want to write an interface yourself, you can look at the products in
http://www.currentcost.com/software-downloads.html. If they don't do what you want you may be able to piggy-back on their database. For instance, Kerry Neighbour's CurrentChart builds an Ansi SQL database using firebird. The CurrentCost to Google Power meter writes all its data to a SQLite database. This should continue to work even after GPM is turned off, but I don't know whether it will continue to be supported.
Hope this helps