Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Guest andyhud
Hi Guys
I have just got a second hand Global Cache IP 2 Serial Box so I can send Serial (RS232) commands to my Home Cinema Amplifier. I have a Cambridge Audio 640R which has an RS232 interface on the back
I've got the IP2Serial device on the network and hooked up my RS232 cable and downloaded the Global Cache "iTest" tool and connected to the IP2Serial device successfully.
I set the Baud Rate, Parity etc on the serial port to match the Cambridge Audio documentation for Serial Interface usage.
here is the link to the Cambridge Audio 640R Serial Command Guide:
Please login or register to see this link.
if I use the iTest Application and as a test I can successfully run commands (ASCII) in the iTest Application to the amplifier, for example turning it on and off work fine. However , they only work fine if I have the tick box "Add Carriage Return" ticked in the iTest Application
For example, the ASCII Command to turn the amplifer on is "'#1,01,1" and to turn it off is "''#1,01,0" as per screenshot. If I leave the "Add Carriage Return" ticked, then it works. If I untick the "Add Carriage Return" it doesnt work.
As per the Serial Guide from Cambrige Audio, I've added "\r" onto the end, but also tried adding hex "0x0D" to no avail.
If I use Putty to connect to the IP2Serial device, I can successfully turn the Amplifer on and off as well but only after hitting Enter on my keyboard (i.e. a Carriage Return.
I tried to create a Virtual Device in HC2 to do this, but because I can't seem to send the Carriage Return it doesnt run the commands.
Does anyone have any advice on what to add for the Carriage Return? I've googled all afternoon with no luck. I've tried "\r" "\n\r" "13" "0D", "0x0D" and different options, but none work. It only ever works if I use Putty and hit Enter on my keyboard or use the iTest Application and leave "Add Carriage Return" ticked.
I'm connecting on the IP of the IP2Serial Device and Port 4999 (which is Serial 1).
I dont think this is a Fibaro issue as I can't seem to get it work in the iTest application if I untick the "Add Carriage Return", so just need to find a way to add that, or via the HC2.
Any help appreciated.
Thanks
Andy
I have jusgot t
Please login or register to see this attachment.
Please login or register to see this attachment.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.