Your Universal Remote Control Center
RemoteCentral.com
Complete Control by URC Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Controlling HAI Omnipro II via serial from MSC-400
This thread has 13 replies. Displaying all posts.
Post 1 made on Monday June 27, 2011 at 17:20
Ranger Home
Super Member
Joined:
Posts:
June 2007
3,486
Just want to do simple things like arm, disarm, couple buttons, simple stuff.

Called URC and they said call HAI to get commands. HAI said call URC to get commands.

I have a feeling this is WAY simpler than I am making it. There is a database in URC but I think those are simple "button" commands that trigger buttons in HAI? Not sure.

Figured there would be easy ascii commands I can send to HAI panel to disarm, arm, etc.

Am I wrong on this?

What to add security buttons to MX-980. Create smart macros in MSC-400 to trigger off serial commands to a serial port on the HAI Omnipro II panel.

Search HAI knowledge base, this forum, URC forum and google. Scratching my head. Am I making this more complicated than it needs to be?

THANKS!
Post 2 made on Tuesday August 16, 2011 at 20:01
programmergeek
Founding Member
Joined:
Posts:
September 2001
207
I have not tried it by send a message via askeyII then create that message in the HAI under messages and wrigh a program to do what you want. Should work.

URC also has a HAI module out now it will do what you want but you need a wifi remote and it is pointelss anyhow you can't use use it in triggers to control anything in a macro. So dimming the lights when you start a movie or lower the shades is out. The serial commands is much better.
OP | Post 3 made on Wednesday August 17, 2011 at 10:34
Ranger Home
Super Member
Joined:
Posts:
June 2007
3,486
I have had no luck on sending messages but having put alot of effort into it recently. All lights blink on MSC and HAI panel but nothing happens.
Post 4 made on Sunday September 18, 2011 at 17:05
Alesis
Long Time Member
Joined:
Posts:
September 2003
26
Here is what you need to do in order to send "message" command to an hai controller.

1) You need to set the HAI serial port setting that is tied to your msc-400 controller in "pro-link" mode in your hai configuration.

"Omni link" mode is quite complicated and requires authentifications, login and most of all crc check calculations so it is really difficult to build a string.

On the other hand, "pro-link" is super easy to make work so apply this change to your hai rs232 port.

2) In your hai program, you'll need to create "messages". For example, create two messages called "away" and "off".

3) You'll need to create programming blocks in the hai controller that would look like this:
WHEN RECEIVE MESSAGE arm
THEN SECURITY MODE IS AWAY

WHEN RECEIVE MESSAGE off
THEN SECURITY MODE IS OFF

Download your programming blocks to your hai controler.

4) In your urc controller (which I am not familiar with), just create a text string with the word "away" and "off" that you are going to send on the rs232 port. Once you send these simple "words" text string to the rs232 port on the hai controller, it will execute the logic and arm or disarm the system.

You could do the opposite way also to get two way confirmation messages. In that case, you would need to do the following:

1) Create two new messages "armed" and "disarmed"

2) Create two programming blocks like this:
WHEN OFF (security, any codes, off)
SEND MESSAGE disarmed (send, message, select which rs232 port)

WHEN AWAY (security away)
SEND MESSAGE armed (send, message, select which rs232 port)

3) When the action of arming or disarming the hai, it will send the text "disarmed" or "armed" to your msc400. Once you receive theses messages on your msc-400, you can probably apply or remove visual confirmations on a two way touch panel.

For ANY action you need to make a "message" in your hai controller. You can then control ANYTHING you want on the hai omni pro II controller. The only limit is the quantity of messages. You can control "buttons", "lights", "security", "relays" or trigger any other events on your hai controller...

One last thing. Do NOT forget that connecting two processors together requires a crossover serial cable. The TX of one needs to go in the RX of the other one and vice-versa. Otherwhise, this will never work.

Hope this helps !!!

Last edited by Alesis on April 5, 2012 19:33.
OP | Post 5 made on Monday September 19, 2011 at 23:19
Ranger Home
Super Member
Joined:
Posts:
June 2007
3,486
Als, THANK YOU! I was trying to send number commands. Will try this! sounds reasonable to me!

THANKS!
Post 6 made on Wednesday September 21, 2011 at 18:58
Alesis
Long Time Member
Joined:
Posts:
September 2003
26
You're welcome. Not sure what you are saying about "number commands" but the way I describe you on how to do it is going to work 100%.

Tell me what were your results !
Post 7 made on Wednesday February 8, 2012 at 14:28
Sceva
Lurking Member
Joined:
Posts:
November 2011
3
Thanks for posting this information. I have a client who wants to do this, and I had been reading thru the docs and having trouble making sense of it. I may give this a try.
Post 8 made on Thursday April 5, 2012 at 16:30
Alesis
Long Time Member
Joined:
Posts:
September 2003
26
You're welcome. I hope you guys have had good results.
Post 9 made on Thursday April 5, 2012 at 18:00
Alesis
Long Time Member
Joined:
Posts:
September 2003
26
I just want to add the following solutions that also work great.

You can use a function ALREADY built in the HAI controler.

1) You need to setup a serial port on the omni controler in "pro-link"

2) Here is an example of two programming blocks that would be used to arm and disarm:

WHEN HAI TRIGGER HAI1
THEN SECURITY MODE IS AWAY

WHEN HAI TRIGGER HAI2
THEN SECURITY MODE IS OFF

3) In your 3rd party processor you only have to create a serial text string "HAI1" and "HAI2".

When the Omni processor receives that "HAI1" or "HAI2" text string on any of it's serial port set in "pro-link", it will execute the automation blocks that arm or disarm.

No need to create messages as describe in my first post.

The only thing is that you need to keep track of the HAIxx command and what they do as you cannot rename these HAI triggers.

You then have 127 commands that you can send to an HAI controler from any other controler without the need to program messages.

I have tested this with a Crestron processor in rs232 and it work great. I can send triggers to control lighting, arm/disarm and do anything else in the Omni controller that had been done in HAI programming blocks.

You need to have V3.0 or higher omni version if I am not mistaken. You cannot do this in older V2.x version of omni products.

One last thing. Do NOT forget that connecting two processors together requires a crossover serial cable. The TX of one needs to go in the RX of the other one and vice-versa. Otherwhise, this will never work.

Last edited by Alesis on April 5, 2012 19:33.
Post 10 made on Thursday May 24, 2012 at 16:11
Sceva
Lurking Member
Joined:
Posts:
November 2011
3
Thanks for the update. I may try that if I have to update in the future.

I was able to get communication going both ways between the panel and Vantage. Homeowner loved it - the original installers could not make it happen.

Do you know if it is possible to read and control HMS thermostats via rs-232? I have another customer with a OnQ 925 panel and 4 stats, and a Vantage system with some touchscreens. He would like to control the stats via the Vantage. I would prefer swapping the stats with Vantage's, but they are quite pricey.

Thanks.
Post 11 made on Thursday August 29, 2013 at 22:02
Alesis
Long Time Member
Joined:
Posts:
September 2003
26
On May 24, 2012 at 16:11, Sceva said...
Thanks for the update. I may try that if I have to update in the future.

I was able to get communication going both ways between the panel and Vantage. Homeowner loved it - the original installers could not make it happen.

Do you know if it is possible to read and control HMS thermostats via rs-232? I have another customer with a OnQ 925 panel and 4 stats, and a Vantage system with some touchscreens. He would like to control the stats via the Vantage. I would prefer swapping the stats with Vantage's, but they are quite pricey.

Thanks.

It does work with a recent HAI controler. You can send serial commands (HAI1, HAI2, ect) from your Vantage processor to an HAI processor.

It would be macros though. Like WHEN HAI 1, THEN SET THERMOSTAT COOL.

Now I am not sure with the older OnQ control panels though. I am not shure about what can be programmed on thermostats.
OP | Post 12 made on Tuesday October 29, 2013 at 18:56
Ranger Home
Super Member
Joined:
Posts:
June 2007
3,486
Old thread but relevant, how do I send serial commands? Meaning how to WRITE something that says HAI1?
OP | Post 13 made on Saturday January 11, 2014 at 18:20
Ranger Home
Super Member
Joined:
Posts:
June 2007
3,486
On October 29, 2013 at 18:56, Ranger Home said...
Old thread but relevant, how do I send serial commands? Meaning how to WRITE something that says HAI1?

Silly question I wrote there. Got this all figured out, few months ago though URC Total Control, but imagine same in MSC-400. Actually VERY simple. Just follow the damn posted directions. LOL
Post 14 made on Thursday February 25, 2016 at 10:18
Rayz3r
Lurking Member
Joined:
Posts:
February 2016
1
I was able to get communication going both ways between the panel and Vantage. Homeowner loved it - the original installers could not make it happen.

Do you know if it is possible to read and control HMS thermostats via rs-232? I have another customer with a OnQ 925 panel and 4 stats, and a Vantage system with some touchscreens. He would like to control the stats via the Vantage. I would prefer swapping the stats with Vantage's, but they are quite pricey.

Thanks.


SCEVA,
Did you use a crossover cable between the HAI and Vantage. And did you use Host commands to control the Vantage? I have tried with no luck. I tried sending "BTN 298" and this im told by vantage should work.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse