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

LKP Macro confusion.
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Beginners
View previous topic :: View next topic  
Author Message
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 1:03 pm    Post subject: LKP Macro confusion. Reply with quote

Hi,

I'm really sorry to ask so many questions, but I'm having trouble getting started with my LKP macros.

I've just installed extender 3 on my 15-2116 remote.

I've downloaded the ExtenderCodeCalc v3 excel file, but I'm very confused about what to enter here to get the right keymove hex.

What is a short press? What is a long press?

Once again, its not understanding the logic that has me trapped. As soon as I understand what I am trying to tell the software to do, I'll be much better off. I think I'm just a little overwhelmed with all this new info in such a short period of time.

What I'd like to do :

LKP on CBL (from anywhere, I guess this would be considered "global") to activate the Power ON macro for CBL related devices.

Example :

DEV_AUX
SET_VOL_KEYS
1
DEV_TV
Power
DEV_CBL
Power
CBL

Then a device specific LKP on CBL's Power button to power off everything.

Example :

AUX
Power
TV
Power
CBL
Power

Eventually I'll setup all of my related activities (DVD, VCR etc.) the same way, but I just need a bit of help to understand what I'm meant to do here.

I really appreciate your help,

-- Phob
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 1:21 pm    Post subject: Reply with quote

The easiest way to create the LKP macro is with the Special Protocols tab in IR. In this fashion a) it is intuitive, b) you select your key strokes with real button names, and c) you don't have to worry about the hex codes.

Anyway, the short is what functions you want to perform for a short press of a button and the long is what functions you want to perform if the button is held longer than the duration you set.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 1:23 pm    Post subject: Reply with quote

I don't see a special protocols tab with extender 3... should I?
Back to top
View user's profile Send private message
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 1:26 pm    Post subject: Reply with quote

I just updated my RDF file and I see the Special Protocol tab again.
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 1:30 pm    Post subject: Reply with quote

Great
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 1:31 pm    Post subject: Reply with quote

Do I need to define a keymove after making the special protocol?
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 1:39 pm    Post subject: Reply with quote

The special protocol creates the keymove for you, you just don't see it in the keymove tab since it is categorized as an SP. Obviously, every button or macro you put in the SP LKP will have to exist and have a function on it. In other words, if you put the power button in the LKP it must either have an EFC or macro on it. Yes, you can execute macros from within an LKP macro.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 1:42 pm    Post subject: Reply with quote

Ok,

I've assigned a LKP to :

Device : CBL
Key : CBL
Short : CBL
Long : SHIFT-Info (macro)

Nothing happens when I hold CBL.

If I put the macro on SHIFT-CBL instead of CBL, it does work. (everything the same except the key is SHIFT-CBL)

Why is this? I was hoping to put the LKP on the device button without having to shift.

Is this possible? Thanks!

-- Phob

PS - Is it something to do with the DEV_CBL;Phantom1 macro that was installed by the extender?
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 1:48 pm    Post subject: Reply with quote

It is called shift cloaking. If you have an EFC or macro on the CBL button then put an LKP also on it also then within the LKP you have to specify shift-CBL and it will execute the macro that is on the CBL button.

Read the definition of shift cloaking in the extender readme
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 2:01 pm    Post subject: Reply with quote

Ok

Specify it where? In the short or long key? Do I also call the macro (shift-info)? won't this setup a loop of sorts?

I'm still confused.
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 2:23 pm    Post subject: Reply with quote

Here is the bast way to set up a LKP for the device buttons.

1) Create a macro on the CBL button that executes the LKP.

It would look something like: DEV_CBL;Phantom1

2) Put the LKP on the CBL;Phantom1

It would look something like: Device;CBL and Button;Phantom1

SHORT side: SET_OTHER_KEYS;SET_TRANS_KEYS etc

I would actually put all the SET_'s on Shift-Phantom1 and put shift-phantom1 in the LKP instead of all the SET_'s

LONG Side: The same as short but maybe add additional functions that select inputs etc.

With what I described the short press would just put you in CBL and the long would put you in CBL and do the extra things you want to do.

The device buttons are the only ones that have to be done this way since the remote SP does not like the device name to be the device and the button.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 2:36 pm    Post subject: Reply with quote

Ok,

I think I'm starting to understand, but I'm still not having success.

Do I need to define a new macro for step 1? (there was a macro added by the extender 3 installation that executes DEV_CBL;phantom1 already)

In the Special Protocol I define the Device as CBL and the Key as Phantom1.

Then LKP, Duration 4...

Now... I don't understand what you were saying about all of the set_ commands as basically, if there is just a short press, I just want the remote to switch to the cable mode. If there is a long press, I want the macro to be executed :

DEV_AUX; SET_VOL_KEYS; 1; TV; Power; CBL; Power

Am I heading in the right direction or do I still have it all wrong? Do I enter the above macro in the Long Keys area, or do I need to have a macro already defined that I specify in a different way?

Thanks!!
Back to top
View user's profile Send private message
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 3:07 pm    Post subject: Reply with quote

M'kay...

I'm at a complete loss.

There is a macro defined for CBL, it was installed by the extender 3 install process. (DEV_CBL;phantom1)

Now ... when I try to do a Special Protocol for the LKP, it refuses to work.

I've tried defining the "Key" in the Special Protocol as CBL, SHIFT-CBL and phantom1.

CBL and phantom1 don't seem to do anything. If I use SHIFT-CBL, it doesn't work unless I press P; CBL.

This is beyond complicated, and I really appreciate your help. I'm still not seeing the light though.

Is the problem with the defined "key" or my Short/Long Keys in the actual LKP Macro?

Thanks! Very Happy

-- Phob
Back to top
View user's profile Send private message
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Thu Feb 10, 2005 3:34 pm    Post subject: Reply with quote

OK, you are correct, the is already a generated macro for all the device buttons like CBL;Phantom1 so leave it alone.

Now go down in the macro tab and rename the Phantom1 macro to Shift-Phantom1.

Now create the LKP as CBL;Phantom1

on both the short side and long side put shift-Phantom1 as the first function so the default macros get run. Then add the extra functions to which (short or long) one that you want to do extra stuff on.

Unless you are going to do the same for all of the devices you will need to change each one of the default device macros to use shift-Phantom1 instead of Phantom1 or they won't work. By the way, the default macros just are there so the device buttons switch to the device just like the basic remote.

If this does not work for you upload your ir file and put a link to it here so I can look at it and get you started.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
Phobia



Joined: 03 Feb 2005
Posts: 69
Location: Toronto, ON

                    
PostPosted: Thu Feb 10, 2005 5:48 pm    Post subject: Reply with quote

Hi all,

Nils, thanks so much for your help. I've got the LKPs working, though not without a couple of glitches.

For some reason, when I'm in the TV device mode, it doesn't remember its volume key setting.

And my SAT - ON / OFF macros don't always manage to turn on and off my Dish301 receiver. I wonder if there is a way to make the code longer (less rapid), or the actual bursts of IR data longer?

Otherwise, its working pretty slick. CBL ON/OFF, DVD ON/OFF, VCR ON/OFF and SAT ON/OFF all programmed on their respective device and power keys.

I'm uploading my IR file... maybe somebody can tell me why the TV volume is buggy. (I tried adding the DEV_AUX (aux is my rcvr) and then the set_vol_key string, but then my macros started acting all bugged out)

Maybe there is a glitch that somebody can catch.

http://www.hifi-remote.com/forums/dload.php?action=download&file_id=1289

Thanks a million! Smile

-- Phob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Beginners All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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