Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: T.E.D. 1000 - 5000 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 22 2010 at 19:50 | IP Logged Quote jonkjon

I am new here to PH and am considering migrating to it from
mcontrol. I am curious, however, if there is a way to
integrate TED 1000. I wrote a driver for this in mcontrol
and I know that, for me at least, all that is needed is a
way to parse an xml file. Has anyone done this for PH yet?
If not, could someone give me a little nudge as to what
might be needed to accomplish it? Thanks.
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: June 23 2010 at 09:22 | IP Logged Quote smarty

I just bought a Brultech ECM-1240, and was wondering how I could "integrate" it into my PH controlled HA system.

I would think your tasks might be similiar to what I will be needed as well.

1) How to check a data file for new updates/changes (this can already be done via a PH plug-in)
2) How to parse the logged data
3) How to trigger off a given "data stream"

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 23 2010 at 10:05 | IP Logged Quote jonkjon

Yes, your needs do sound similar. I already have a few
pieces of code,(written in c#), that I can use to parse an
xml file. I just don't know yet how to get the info into
PH. Somethng like that, for me is a must have item.
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: June 24 2010 at 00:06 | IP Logged Quote jonkjon

I have accomplished what I needed to do here. After
downloading and toying with the "Get Weather" macro by
tonyno on this forum, I learned quite a lot in one day. I
was able to use his macro and recreate it to suit my
needs. Anyone that is using a T.E.D. 1000 power monitor, will be able to get that data into PH by using something like I did in the attached macro.

You can access the data from the T.E.D device by going to
the address.. yourlocalipaddress:9090/DASHBOARDDATA from
a webbrowser.If you have TED installed on the same
machine as PH, you can obviously use
localhost:9090/DASHBOARDDATA as the address as is. This
example is only reading a small amount of the information
that the T.E.D. has to offer but it is all I was
interested in seeing for now....Hope this helps someone.2010-06-24_001351_ted_power_macro.zip

Edited by jonkjon - June 24 2010 at 00:14
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: June 24 2010 at 08:47 | IP Logged Quote smarty

Thanks for the write up.

I see that you are basically scraping the information from the web page rather than parsing the XML data file. This same approach will work for the ECM 1240 powermeter as well (or anything else that displays to a served web page).

....no reason not to keep it simple....

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum