Is there any way to hold a key in a macro?

Support forum for extenders. If you're having trouble getting one up and running, this is the place to come.

Moderator: Moderators

Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

Here's my device upgrade with the modified protocol :

http://www.hifi-remote.com/forums/dload ... e_id=25466

The OBC for the menu button is 67.

In fact I only really need an upgrade with this menu button alone.
My macro will then call this executor for the menu and will switch to my regular LG tv upgrade for the rest of the buttons to be executed.
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Its been a long time since I've done one of these.

I found out how to do a ditto. This is a simple version, a more complex version would be to combine the two repeat styles.




This sends the Nec1 with 57 repeats, that means its holding it for 57*108usec see if this works.

http://www.hifi-remote.com/forums/dload ... e_id=25467
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

Irscope is giving me OBC 61 instead of 67 and device 223 instead of 4 but the key is repeating the signal for sure. 57 dittos.

Image
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Yes, I see that. I'm trying to learn my way around RM, and apparently when you touch things in the protocol, the Device Data settings blank out and all the HEX changes.

I closed the file and reopened it and now its the same as the way it was when it was working.

When you open this, the fixed data should be
20 DF 20

and the Hex on the OBC should be computed as 3D,

IF THIS CHANGES ON YOUR END, LET ME KNOW AND WE WILL REPORT IT AS A BUG IN RM.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

Even with the latest version of RM the fixed data keep changing:

Image

The hex is 43 instead of 3D

Image
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Go into the Advanced menu
Edit the protocol
Click on the Device DATA tab.

Click LSB on everything
Click Comp on Device 2& 3, and the command.

That SHOULD turn things back the way they should be.

The HEX should be computed correctly.

I'm not sure why its switching back. I did open it before I posted it.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

NICE it's working ! I cannot wait to test this. First thing in the morning I will do my macro and test it on different LG tvs. I'll let you know how it goes.
Thank you so much for this. I really appreciate it.


Image
Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

Unfortunately, I need more dittos, at least 85 to make it work.
I have tried to modify the protocol and click build and assemble but the key will not repeat at all.

What do I have to do to change the repeat from 57 to 85?
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

If you want to try to do this yourself,

Under the ADVANCED Menu,
Edit the protocol,
change the the line where it moves #$38 to the B2 repeats register, to be #$55

Mov #$55, $B2

Press Assemble,

And then of course all our Device Data variables will be reset so we need to go in the clicks that you had to use before.

That should do it,
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Carl
Posts: 159
Joined: Thu Jan 15, 2009 7:30 pm
Location: Quebec city, Canada
Contact:

Post by Carl »

Thanks, I did the modification and uploaded a final rmir file so others can use the upgrade:

http://www.hifi-remote.com/forums/dload ... e_id=25468

Results:

LG TV :

https://youtu.be/m5QCgZ9Frc4

LG TV WEB OS:

https://youtu.be/YdzMahWSR3k

Thank you so much again for your great help on this one.
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Thanks for the youtube, its always nice to know what the heck these things are for.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Another idea, for cases like this Vicky, is to have the duration be one of the fixed bytes, so the user can just pass in the value without needing to re-assemble the executor.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Post Reply