Hi,
I would like to control a TCPIP device via HomeSeer and HSTouch.
A simple use case is:
1. A vb.net program (or script or dll or something) open a connection to the device and keeps it open, listening for data from the device.
2. If I click a button in an HSTouch device, it tells the program in #1 to perform an action (send the TCPIP device a command). (i.e. change to channel 704)
3. When certain data is received by the program in #1, it triggers feedback to the HStouch panel. (i.e. I'm on channel 705, update the panel text).
4. The connection stays open unless HS closes - whereupon it would close too.
My questions are how to go about this:
A. Should I build a vb.net dll and then import that .dll into the HS namespace (settings.ini)? or
B. Should I create a vb program that references HS (ie.Imports HomeSeer2) -- but in this case, how do I receive input from HS?
C. Can this be done in a script? Seems to be more difficult to manage/code.
D. Is the only way through a plugin? Seems like a lot of work!
Am I missing the obvious????
p.s. How would I trigger the event to update the HSTouch Panel...i.e. "update panel text to 705".
Thanks in advance!
Suresh
I would like to control a TCPIP device via HomeSeer and HSTouch.
A simple use case is:
1. A vb.net program (or script or dll or something) open a connection to the device and keeps it open, listening for data from the device.
2. If I click a button in an HSTouch device, it tells the program in #1 to perform an action (send the TCPIP device a command). (i.e. change to channel 704)
3. When certain data is received by the program in #1, it triggers feedback to the HStouch panel. (i.e. I'm on channel 705, update the panel text).
4. The connection stays open unless HS closes - whereupon it would close too.
My questions are how to go about this:
A. Should I build a vb.net dll and then import that .dll into the HS namespace (settings.ini)? or
B. Should I create a vb program that references HS (ie.Imports HomeSeer2) -- but in this case, how do I receive input from HS?
C. Can this be done in a script? Seems to be more difficult to manage/code.
D. Is the only way through a plugin? Seems like a lot of work!
Am I missing the obvious????
p.s. How would I trigger the event to update the HSTouch Panel...i.e. "update panel text to 705".
Thanks in advance!
Suresh
Comment