RS232 Questions

More
7 months 2 weeks ago - 7 months 2 weeks ago #4672 by bitzerjd
RS232 Questions was created by bitzerjd
I recently replaced my Global Cache IP2IR device with a GC-100 (6 IR ports, 2 Serial, and 2 relays).  I want to switch my Zidoo to RS232 control.  Two questions, I see the Serial ports under the Generic IR list, how do you address them?

Second question.  I want to import the RS232 commands for the Zidoo.  I have a list of commands but need to know what the format is for the import file (.serial).

Here is an example of the list I have....

CmdCode Remote Key Function Response Example
#POF POWER PowerOFF OK
#POW POWER PowerOn OK

From the docs...
The command structure explanation below:
<Command > = <start Command ><Command ><end Command >
<start Command> = #, ASCII 0x23
<Command > = POF, ASCII 0x20
<end Command> = CR, ASCII 0x0d

For Example: #POF \n

Thanks!
Last edit: 7 months 2 weeks ago by bitzerjd.

Please Log in to join the conversation.

More
7 months 2 weeks ago #4673 by camens
Replied by camens on topic RS232 Questions
I'm using the same Global Cache device to control my TV Boxes using IR, and the serial connection to control my Atlona HDMI Matrix.  I added the GC100 to the GenericSerial devices, which allows you to set the IP Address, port, and serial parameters.  I then created a Serial Model in the Serial Database for the Atlona and entered each command there.  I found it easiest to use HEX commands.  So for yours something along the lines of # 23 50 4F 46 0D 0A.  Not sure if the comma after # is needed, so you'll have to test it to make sure it works properly.  

I then use the serial database in my Macro's for the SmartRemote.  A command like:

If|isEQ##{{activeroom_{{clientname}}}}##Office##AV|18~Send~Atlona AT-PRO3HD66M~(1)-Rogers2 to (3)-Office!

The GC100 is identified by its ID, in my case 18.  The Atlona line above is from the Serial Database you created.

Hope this helps,
 
The following user(s) said Thank You: bitzerjd

Please Log in to join the conversation.

More
7 months 2 weeks ago #4674 by bitzerjd
Replied by bitzerjd on topic RS232 Questions
Thanks.

What was the port value for the GC-100? Was it the 1:1 (for the first serial port)?

I'm guessing the file import for the database is a CSV file. I will try mucking around and creating it.

Thanks again, this was super helpful!!!

Please Log in to join the conversation.

More
7 months 2 weeks ago - 7 months 2 weeks ago #4675 by camens
Replied by camens on topic RS232 Questions
Yes, the Device Address of the Serial 1 port was 1:1.

And I manually typed in the commands, but there are a lot fewer for the HDMI Matrix then the Zidoo.  
Last edit: 7 months 2 weeks ago by camens.

Please Log in to join the conversation.

More
7 months 2 weeks ago - 7 months 2 weeks ago #4676 by bitzerjd
Replied by bitzerjd on topic RS232 Questions
Ok...I added a Serial Device in the Generic Serial Driver.

The Network Port is -1??? What should that be?

Sorry for all the questions, this is a bit confusing!

-Update-

Network Port is 0...that worked!  Now on to the DB items.
Last edit: 7 months 2 weeks ago by bitzerjd.

Please Log in to join the conversation.

More
7 months 2 weeks ago - 7 months 2 weeks ago #4677 by camens
Replied by camens on topic RS232 Questions
No worries, getting my head around the serial control of my Atlona was the toughest part of my setup.  The GC100 serial port starts at 4999, so that should work for yours.

The IP Port is whatever your DHCP server assigned, or in my case I set a static IP for the GC100.
Last edit: 7 months 2 weeks ago by camens.

Please Log in to join the conversation.

Time to create page: 0.180 seconds