Moving to HS3 is challenging !
I must be the only guy still using TED. I have the TED Pro? TED 6000? version with 16 spyder sensors.
In HS2:
for i = 1 to 16
xmlfile = "http://xyz.com/history/export.xml?T=2&D=1&M="&i&"&C=1"
XMLDoc.Load(xmlfile)
....select node stuff...here
next
This loaded each of my 16 spyder values (T=2 for hours, D=1 for Spyder Devices, M= Which Spyder , C=Number of records to return.
I then assigned the values to Devices & recorded them to a database. (Challenges for another day, today writing to the log will suffice)
In HS3 this line is giving me fits.
The problem is in the "i" variable, if I manually insert an integer (ie 3) in the M= spot, I do get the spyder#3 watt value returned 16 times (3 is my water heater)
I have tried every combination of ("&i&") I can think of.
How do you insert "i" into the path?
Thanks,
Paul
BTW I have bought some of the Aeon Z-wave devices & am finding them to be more accurate. I am hoping to compare the data from both & maybe fine tune my TED measurements.
I must be the only guy still using TED. I have the TED Pro? TED 6000? version with 16 spyder sensors.
In HS2:
for i = 1 to 16
xmlfile = "http://xyz.com/history/export.xml?T=2&D=1&M="&i&"&C=1"
XMLDoc.Load(xmlfile)
....select node stuff...here
next
This loaded each of my 16 spyder values (T=2 for hours, D=1 for Spyder Devices, M= Which Spyder , C=Number of records to return.
I then assigned the values to Devices & recorded them to a database. (Challenges for another day, today writing to the log will suffice)
In HS3 this line is giving me fits.
The problem is in the "i" variable, if I manually insert an integer (ie 3) in the M= spot, I do get the spyder#3 watt value returned 16 times (3 is my water heater)
I have tried every combination of ("&i&") I can think of.
How do you insert "i" into the path?
Thanks,
Paul
BTW I have bought some of the Aeon Z-wave devices & am finding them to be more accurate. I am hoping to compare the data from both & maybe fine tune my TED measurements.
Comment