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:
MX-6000 - MRX-2, Get Commands, not reliable. Any tips?
This thread has 10 replies. Displaying all posts.
Post 1 made on Wednesday May 7, 2014 at 19:16
thxext
Long Time Member
Joined:
Posts:
December 2005
50
I finally got around to adding a MRX-2 for some type of feedback in my system. I am having a really hard time getting this to run stable.  The commands get to the equipment and the equipment responds accordingly.  The problem is with getting feedback to the remote.  I have created string variables to tackle this need, but results are unsatisfying.  What did not work at all was using ASCII commands and/or “=” for compare.  Instead, I use decimal commands and “include” for compare and there is some responsiveness, it is just not very reliable.  I have uploaded a short youtube video to demonstrate how the remote is acting.  When the macro with the get command works, the button will turn green.  When the macro fails, it will jump to another page (via else statement).  I have tried adding up to a 30 sec delay with no better results, just takes longer to find out it failed.  The network connection is great (all bars).  Has anyone had success here?  If so, any tips?  Any help is very much appreciated.  Thank you!



Serial Command

Macro


If statement comparing the string variable.

 
Post 2 made on Thursday May 8, 2014 at 00:44
Lowhz
Senior Member
Joined:
Posts:
April 2012
1,168
Have you tried looking at that returned data as an integer rather than a string?
OP | Post 3 made on Thursday May 8, 2014 at 08:22
thxext
Long Time Member
Joined:
Posts:
December 2005
50
Lowhz, thank you for the response. If I create a new Integer variable (also tried the Integer (Min/Max)), the new varible is not available in the Serial Command pick list (shown in 1st screen cap at bottom) to save the result to. Only my String variables are available.
Post 4 made on Thursday May 8, 2014 at 11:35
Lowhz
Senior Member
Joined:
Posts:
April 2012
1,168
I can't find the control protocol for your D-Box but what happens if you add a query command after the volume command? Instead of waiting for the controller to reply, force a state query.
OP | Post 5 made on Thursday May 8, 2014 at 12:17
thxext
Long Time Member
Joined:
Posts:
December 2005
50
You are very observant. :) I have tested with request queries with the same results. The protocol is listed in CCP under AUX -> D-Box - > Motion Controller. The code to change to master volume to -15 is \x02WVOLM\x1E-15\x03 in ASCII. The response for success is \x03. (Shown in screen cap). To query the current volume (these seem to be missing in the URC DB) is \x02RVOLM\x03. At -15 the response will be -15.0\x03 .




When I was testing just query commands, I kept it simple.  I created an If/then statement that sent the query, had a delay (tried 1-30 seconds) then would go to one page if it read the expected results (based on the test results in CCP) or an alternate page if it did not see the expected results.  Sometimes it worked, sometimes it did not.

When I test these queries in CCP, the Test Results take a while because CCP starts with USB, then sends the Serial Command.  Test Results come back quick after the Serial Commands run.  I also did a direct connection with a laptop to the D-Box Controller and tested with Hyperterminal.  The results were very quick.





 
Post 6 made on Thursday May 8, 2014 at 15:17
Lowhz
Senior Member
Joined:
Posts:
April 2012
1,168
Check with D-Box for an updated control document. You can add your own RS232 strings to the program.

Denon, for example, has 4 volume commands for serial/IP control: MVUP, MVDOWN, MVxx for direct volume entry and MV?

When you send MV? the receiver will return "MV50".

What happens if you send "\x02WVOLM\x1E?\x03"?
OP | Post 7 made on Thursday May 8, 2014 at 15:45
thxext
Long Time Member
Joined:
Posts:
December 2005
50
Sorry, I should have mentioned I have a full list from D-Box already. I have been using them with URC products (MX-3000 & MSC-400) for 3 years now, but I think they were just added to CCP. I thought I would upgrade to an MX-6000 and add a MRX-2 for a glimpse of 2-way.

I am away from home right now, so I can’t test this but it will probably come back with \x13 (unknown) if I send it \x02WVOLM\x1E?\x03. \x02RVOLM\x03 is the proper way to query the status of the Master Volume (as far as I know) and yields a result (what I think is correct) when I test via CCP. Since I am asking for help, I will 100% try this and post my results.
Thank you so much for the time you have taken to assist me.

Link to D-Box Protocol - > [Link: d-box.com]
OP | Post 8 made on Thursday May 8, 2014 at 15:52
thxext
Long Time Member
Joined:
Posts:
December 2005
50
Just another thought, D-Box Controllers are basically Windows XP machines with an integrated module to run the chairs. The RS-232 commands are handled by the PC side and therefore, I am basically talking to a windows XP box. I understand that the software is what reads the commands, but I did not know if this would be helpful to add based on past experiences. Thanks.
Post 9 made on Thursday May 8, 2014 at 16:00
Lowhz
Senior Member
Joined:
Posts:
April 2012
1,168
Don't use the query with "?". I didn't have the protocol. RVOLM seems to be the string.
Post 10 made on Sunday October 26, 2014 at 12:44
sorapp
Long Time Member
Joined:
Posts:
March 2009
49
I know this may seem a little late. I was having similar issues with my Yamaha receiver. I solved the problem by increasing the "Wait" time in the Results area of the command. In my case the Yamaha liked "300" as a wait time. It's now very reliable.
OP | Post 11 made on Sunday October 26, 2014 at 21:00
thxext
Long Time Member
Joined:
Posts:
December 2005
50
Not late at all, will give this a try . Thanks.


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