Page 1 of 1

How to access data from plugwise system

Posted: Tue Feb 09, 2010 1:06 pm
by rabarberski
Hello,

How are people currently pulling data out of plugwise (like here: http://www.bwired.nl/plugwise.asp)?
As I understood from the plugwise website, data extraction is only possible by export to csv (which, again, seems to be only supported if you ahve the Source Pro software (see http://www.plugwise.com/en/business/professional-basic)).

Do they manually export csv data (so you need to have The Source running on a PC)? Does the Source allow an automated periodic export?
Are there other ways to get the data (e.g. through an API)?
Can one pull data directly out of a Stretch Lite? As I understand it, it is some sort of USB-over-TCP bridge, not really a gateway like e.g. the Plogg EAP.

Re: How to access data from plugwise system

Posted: Tue Feb 09, 2010 1:14 pm
by Rene
Currently there are 2 methods to access the data. One is directly from your own code communicating to the circles. Maarten reverse engineered the protocol and and implemented it in Python. The other method is using the API Plugwise is exposing via a web server.

Re: How to access data from plugwise system

Posted: Tue Feb 09, 2010 1:28 pm
by rabarberski
Thank you for your answer!
Rene wrote:One is directly from your own code communicating to the circles. Maarten reverse engineered the protocol and and implemented it in Python.
I guess this code isn't 'publicly' available via this forum?
Rene wrote: The other method is using the API Plugwise is exposing via a web server.
What do you mean? You can configure The Source to act as a webserver?
Or is the data first transmitted to a plugwise webserver (how?), with which you then can interact?

Re: How to access data from plugwise system

Posted: Wed Feb 10, 2010 1:39 am
by Mdamen
The code is available:
http://www.maartendamen.com/?page_id=14&did=2

Also there is some information series about plugwise, here:
http://www.maartendamen.com/?cat=24