JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Yamaha receiver with 2 device codes?

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Beginners
View previous topic :: View next topic  
Author Message
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Sun Jan 25, 2009 6:46 pm    Post subject: Yamaha receiver with 2 device codes? Reply with quote

I'm using a learning remote (URC-8910) to do a code for my Yamaha receiver (HTR-6060).Pretty much all the buttons have 122 for the device code except for the standby button which is 126.

How do I get this to work? I don't see where I can put a second device code.

The protocol is NEC1.
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Sun Jan 25, 2009 8:12 pm    Post subject: Reply with quote

You need to use the combo protocol.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Mon Jan 26, 2009 7:47 am    Post subject: Reply with quote

The combo protocol for NEC1? Where do I put the other main device.
I am using Remote master.

Look:



Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Mon Jan 26, 2009 10:17 am    Post subject: Reply with quote

That combo only allows you to combine different sub-device codes, the main device code is fixed. You need to use the NEC 2DEV Combo. Enter 122 as "device 1" and enter 126 as "device 2" (leave the two sub-device fields blank, don't enter zeroes in them). Then when you enter functions, select "NEC1" as the style.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Mon Jan 26, 2009 12:11 pm    Post subject: Reply with quote

So far so good... But how does it work? Since we don't assign the main device code by buttons, is this gonna transmit both main device code each time a button is pressed?

I can see that it will output a protocol upgrade.
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Mon Jan 26, 2009 12:34 pm    Post subject: Reply with quote

You can select the correct device code in the Dev.Sub dropdown. However, I just tried it and apparently it only works if you enter a sub-device code also.

Therefore, you should enter the device and sub-device codes as follows:

device 1 = 122
sub-device 1 = 133

device 2 = 126
sub-device 2 = 129
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Mon Jan 26, 2009 12:55 pm    Post subject: Reply with quote

Thanx a lot I will gite a try.
But where in the word did you get the sub device code?
Back to top
View user's profile Send private message Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Mon Jan 26, 2009 1:18 pm    Post subject: Reply with quote

In NEC having no subdevice is the same as having a subdevice equal to 255 minus the device.

So if some software doesn't understand a blank subdevice, you can get the same result by setting subdevice to 255 minus the device.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Mon Jan 26, 2009 1:18 pm    Post subject: Reply with quote

The original NEC format was like this:

device code
complement of device code
command code (OBC)
complement of command code

(complement means that all the 1s and 0s in the binary are reversed, which in decimal terms means you need to subtract the number from 255).

Then, when they started running out of device codes, they decided to re-purpose the complement of the device code as a sub-device code.

The combo protocol that you are using is designed to handle signals that have a sub-device code, but if you leave the sub-device blank RM correctly calculates the fixed data as the complement of the device code. However, there must be a bug in there because it doesn't then allow you to select the device code in the drop down, unless you actually enter a sub-device code.

Therefore, here's how I calculated the two sub-device codes:

sub1 = 255 - 122 = 133
sub2 = 255 - 126 = 129
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Mon Jan 26, 2009 1:30 pm    Post subject: Reply with quote

Wow, thanx a lot, this is very interesting.
Indeed there is a bug with remote master because you really have to enter a subdevice.

As soon as I test it I'll let you know if it's working.
Back to top
View user's profile Send private message Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Mon Jan 26, 2009 8:01 pm    Post subject: Reply with quote

Everything is working now it's been tested on a Yamaha receiver HTR-6060.Thanx a lot.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Beginners All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control