Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Help with Homevision
goldengot
I can't seem to figure this one out. I am trying to use HV and an
old ST-CP to control x-10 lights in a particular room. I created a simple SIO that maps back to a homevision controller with the ASCII string 'lights' in str1 which is tied directly to the touchpanel. So in theory when the user pressed the hv_light button it sends a string through the serial into the home vision. The home vision has been configured to accept any text over 1 character (testing purposes). When the button is pressed, nothing happens. It works within the terminal emulator, but not connected to the st-cp. There was a post by Geoffrey Reynolds detailing how to do this (see below) The homevision part works just fine but the Crestron piece is another question. It appears to be sending hex through the serial and not ASCII. If anyone has had any experience in setting up Crestron alongside Homevision, please detail your exact steps (i.e. which mods were used if any, which analog or digital symbols, strings that were used, if you had to convert using HEX, which baud rate is used on the serial driver, etc. In other words, any information that you can give me that would make my life easier. TIA In HomeVision: From the main menu, select Objects/Events -> Serial Data Input -> Port1 (substitute Port2, Port3, etc. as appropriate for your situation) This will give you a window where you can program HomeVision to respond to events on a serial port. Next, configure the logic that will handle serial events by, for example, setting up a series of If - Then - End If statements. Start by clicking the If Then button in the ACTIONS toolbar. Next, the ACTIONS toolbar switches to the CONDITIONS toolbar. Now, select the SERIAL button. I've found the most useful condition to be "Serial input characters # through # are :'____' - this lets you listen for a specific string to come from the Crestron controller. Now enter the string you want and press OK. Now click on End If and the toolbar switches back to ACTIONS. Click X10 and choose the X10 action you want to perform. That's all you need to do on the HomeVision side. It sounds a bit clunky (and is), but is pretty easy to use and will work very reliably once you have it programmed. Now just program your Crestron program to send the appropriate strings terminated with \n. HomeVision has default support for it's OSD remote control commands, so some strings are reserved: ,J0\n = 0 ,J1\n = 1 ... ,J9\n = 9 ,JA\n = Enter ,JB\n = Channel Up ,JC\n = Channel Down ,JD\n = Volume Up ,JE\n = Volume Down ,JF\n = Cancel |
For the purposes of getting this going, a SerialIO symbol with an input tied
toggle quoted message
Show quoted text
directly to your touchpanel should suffice. My guess is that you have the serial port on the ST-CP configured to the wrong baud rate (or other parameters) OR that the serial cable you're using to connect the ST-CP to the HomeVision is wired incorrectly. Take HomeVision out of the equation - get the ST-CP sending strings to Terminal Emulator (set the same way it was when you used it to connect to HomeVision). Once you have that working, you should be able to connect that cable to your HomeVision controller and get the results you're looking for. -- Geoffrey Reynolds ----- Original Message -----
From: "goldengot" <goldengot@...> To: <Crestron@...> Sent: Saturday, January 12, 2008 6:03 AM Subject: [Crestron] Help with Homevision I can't seem to figure this one out. I am trying to use HV and an old ST-CP to control x-10 lights in a particular room. I created a simple SIO that maps back to a homevision controller with the ASCII string 'lights' in str1 which is tied directly to the touchpanel. So in theory when the user pressed the hv_light button it sends a string through the serial into the home vision. The home vision has been configured to accept any text over 1 character (testing purposes). When the button is pressed, nothing happens. It works within the terminal emulator, but not connected to the st-cp. There was a post by Geoffrey Reynolds detailing how to do this (see below) The homevision part works just fine but the Crestron piece is another question. It appears to be sending hex through the serial and not ASCII. If anyone has had any experience in setting up Crestron alongside Homevision, please detail your exact steps (i.e. which mods were used if any, which analog or digital symbols, strings that were used, if you had to convert using HEX, which baud rate is used on the serial driver, etc. In other words, any information that you can give me that would make my life easier. TIA In HomeVision: From the main menu, select Objects/Events -> Serial Data Input -> Port1 (substitute Port2, Port3, etc. as appropriate for your situation) This will give you a window where you can program HomeVision to respond to events on a serial port. Next, configure the logic that will handle serial events by, for example, setting up a series of If - Then - End If statements. Start by clicking the If Then button in the ACTIONS toolbar. Next, the ACTIONS toolbar switches to the CONDITIONS toolbar. Now, select the SERIAL button. I've found the most useful condition to be "Serial input characters # through # are :'____' - this lets you listen for a specific string to come from the Crestron controller. Now enter the string you want and press OK. Now click on End If and the toolbar switches back to ACTIONS. Click X10 and choose the X10 action you want to perform. That's all you need to do on the HomeVision side. It sounds a bit clunky (and is), but is pretty easy to use and will work very reliably once you have it programmed. Now just program your Crestron program to send the appropriate strings terminated with \n. HomeVision has default support for it's OSD remote control commands, so some strings are reserved: ,J0\n = 0 ,J1\n = 1 ... ,J9\n = 9 ,JA\n = Enter ,JB\n = Channel Up ,JC\n = Channel Down ,JD\n = Volume Up ,JE\n = Volume Down ,JF\n = Cancel |
goldengot
Geoffery,
Thank you for your input. I have tried every possible baud rate with no success. I've set the HV controller and serial driver to 19200, 38400, 9600, 4800, 2400, 1200. Each time I am able to send commands to Viewport from the TP which does appear in plain ASCII (i.e, ,X0003\n). I am also able to send X10 commands directly from my PC to the HV via com1 with success. When I send commands from my PC the x-10 LED blinks on the HV. When I hit the trigger button on the TP, the LED does not activate. According to the doc, the pinout for the HV is 2,3 and 5 which is what I have. I am also using the Crestron 6-pin RJ-11 coming from the ST-CP's COM A port. What are your controller to Homevision settings? I'd be delighted to take a peek at your .smw file (if it's not too personal). Any ideas would be greatly appreciated. Thanks --- In Crestron@..., "Geoffrey Reynolds" <greynlds@...> wrote: input tied directly to your touchpanel should suffice.to the wrong baud rate (or other parameters) OR that the serial cableyou're using to connect the ST-CP to the HomeVision is wired incorrectly.strings to Terminal Emulator (set the same way it was when you used it toconnect to HomeVision). Once you have that working, you should be able toconnect that cable to your HomeVision controller and get the results you'relooking for. --has been configured to accept any text over 1 character (testingThere was a post by Geoffrey Reynolds detailing how to do this (seebelow) The homevision part works just fine but the Crestron piece isfound theare :'____' - this lets you listen for a specific string to come fromthe Crestron controller. Now enter the string you want and press OK.Now clickthe HomeVision side. It sounds a bit clunky (and is), but is prettyeasy to use |
What pins from the RJ-11 are connected to pins 2, 3, and 5 on the HomeVision
toggle quoted message
Show quoted text
controller? I don't have the ST-CP manual handy at the moment, so I don't remember the pinouts, but keep in mind that you may or may not need a crossover cable between the Crestron controller and the HomeVision controller. Here are a couple of snapshots of relevant pieces of my Simpl Windows program: This shows the SerialIO symbol that sends the various commands to HomeVision: This shows the configuration of the serial port that is connected to HomeVision: Given what you've described so far, my money is on the cable you're using between the ST-CP and the HomeVision controller being mis-wired. -- Geoffrey Reynolds ----- Original Message -----
From: "goldengot" <goldengot@...> To: <Crestron@...> Sent: Sunday, January 13, 2008 8:21 PM Subject: [Crestron] Re: Help with Homevision Geoffery, Thank you for your input. I have tried every possible baud rate with no success. I've set the HV controller and serial driver to 19200, 38400, 9600, 4800, 2400, 1200. Each time I am able to send commands to Viewport from the TP which does appear in plain ASCII (i.e, ,X0003\n). I am also able to send X10 commands directly from my PC to the HV via com1 with success. When I send commands from my PC the x-10 LED blinks on the HV. When I hit the trigger button on the TP, the LED does not activate. According to the doc, the pinout for the HV is 2,3 and 5 which is what I have. I am also using the Crestron 6-pin RJ-11 coming from the ST-CP's COM A port. What are your controller to Homevision settings? I'd be delighted to take a peek at your .smw file (if it's not too personal). Any ideas would be greatly appreciated. Thanks |
goldengot
Geoffrey,
I think you hit the nail on the head! Looking at the doc, I see that the pinouts for the two are different. I will make a x-over cable at work tomorrow and let you know if it works or not. Thanks again --- In Crestron@..., "Geoffrey Reynolds" <greynlds@...> wrote: input tied directly to your touchpanel should suffice.to the wrong baud rate (or other parameters) OR that the serial cableyou're using to connect the ST-CP to the HomeVision is wired incorrectly.strings to Terminal Emulator (set the same way it was when you used it toconnect to HomeVision). Once you have that working, you should be able toconnect that cable to your HomeVision controller and get the results you'relooking for. --has been configured to accept any text over 1 character (testingThere was a post by Geoffrey Reynolds detailing how to do this (seebelow) The homevision part works just fine but the Crestron piece isfound theare :'____' - this lets you listen for a specific string to come fromthe Crestron controller. Now enter the string you want and press OK.Now clickthe HomeVision side. It sounds a bit clunky (and is), but is prettyeasy to use |
goldengot
Geoffrey,
You were correct in your assumptions. For all of those that want to intergrate an ST-CP with a Homevision controller, you must create a crossover cable. On the ST-CP you must have an rj-11 with 2-grnd 3 - rx 4-tx. On the Homevision you must have a male DB9 to female rj-11 with 5- grnd, 3- tx 2-rx (rx is tx and tx is rx on the HV coming from the ST-CP). Thanks, you are a treasure in this forum. --- In Crestron@..., "goldengot" <goldengot@...> wrote: ASCII (i.e.string 'lights' in str1 which is tied directly to the touchpanel.has baudwhich mods were used if any, which analog or digital symbols, rate is used on the serial driver, etc. In other words, anyfound |
Glad to hear you got it working. The HomeVision controller can actually do
toggle quoted message
Show quoted text
quite a lot. I've had mine for I'd guess 6-7 years now and have had absolutely no problems with it. Not sure if you're aware, but there's a HomeVision group on Yahoo Groups: The guy who owns the company posts there regularly. -- Geoffrey Reynolds ----- Original Message -----
From: "goldengot" <goldengot@...> To: <Crestron@...> Sent: Saturday, January 19, 2008 11:04 AM Subject: [Crestron] Re: Help with Homevision Geoffrey, You were correct in your assumptions. For all of those that want to intergrate an ST-CP with a Homevision controller, you must create a crossover cable. On the ST-CP you must have an rj-11 with 2-grnd 3 - rx 4-tx. On the Homevision you must have a male DB9 to female rj-11 with 5- grnd, 3- tx 2-rx (rx is tx and tx is rx on the HV coming from the ST-CP). Thanks, you are a treasure in this forum. --- In Crestron@..., "goldengot" <goldengot@...> wrote: ASCII (i.e.string 'lights' in str1 which is tied directly to the touchpanel.has baudwhich mods were used if any, which analog or digital symbols, rate is used on the serial driver, etc. In other words, anyfound |
to navigate to use esc to dismiss