Insteon Hexadecimal string to AMX
danieldrew1
Junior Member
Hi, I am a bit new to AMX programming and am trying to put a system together with multiple control types.
I am stuck on setting up my lighting control. I am using RS232 control of Insteon lighting. I have their developers kit to explain the communication protocol. I have initialized the correct port with baud rate etc.
In sending the command string, I get no results. The string is hexadecimal, (02 62 11 11 11 05 11 FF).
When sending this string through Docklight Scripting software, the light responds correctly.
I have had success with serial control of other devices with a literal string. I am not sure what I am missing, if I have to separate the bits or something. The controller is flashing the TX light when the GUI button is activated but the light does not respond. Does AMX require something done when hexadecimal is being sent?
I am stuck on setting up my lighting control. I am using RS232 control of Insteon lighting. I have their developers kit to explain the communication protocol. I have initialized the correct port with baud rate etc.
In sending the command string, I get no results. The string is hexadecimal, (02 62 11 11 11 05 11 FF).
When sending this string through Docklight Scripting software, the light responds correctly.
I have had success with serial control of other devices with a literal string. I am not sure what I am missing, if I have to separate the bits or something. The controller is flashing the TX light when the GUI button is activated but the light does not respond. Does AMX require something done when hexadecimal is being sent?
Comments
-
Are you doing the following:
Send_String dvInsteon, "$02, $62, $11, $11, $11, $05, $11, $FF"; -
Jim Donachiue wrote: »Are you doing the following:
Send_String dvInsteon, "$02, $62, $11, $11, $11, $05, $11, $FF";
Hey Jim, thanks for the input. Yes I am sending the string as you noted. I have checked and confirmed the cable to be correct (with only required pins) I monitored the string output in " Notifications". I did notice that the second pair ($62) becomes a 'b' when sent from the AMX while all others retain their states as entered. -
'b' is simply a printable HEX character.
So, you are able to control the Lighting with other software from your laptop?
Are you sure the NI-XXX RS232 port works?
Can you connect an RS232 cable with pins 2 & 3 tied together and verify that you can see the strings on Rx & Tx?
If the cable works and the pinout is correct I usually fall back on the port is faulty. -
Note that this same discussion is occurring in two places due to duplicate thread postings.
-
Note that this same discussion is occurring in two places due to duplicate thread postings.
Oh, I see you found my original post, that I did not know how to delete. Thank you for pointing out your discovery and thank you everybody else for your sincere attempts at helping me out.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums