Basic question: Macro on Device button (dvd/tv, etc..)

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

jptheripper wrote: with it can i do a full restore of original mem so i get rid fo the error?
The full reset on the remote itself might be better, but you probably can clean up the mess using the JP1 cable instead. You would just create a new config using the right RDF file and upload it to the remote.

A remote has three different kinds of writable memory: eeprom, registers, and ram. JP1 reads/writes only the eeprom. Wrong eeprom contents can hose the remote, including writing garbage to registers and ram. JP1 can put correct info back in eeprom and can electrically reset the remote to make it discard all garbage in ram and usually discard all garbage in registers. Under obscure conditions wrong register contents could persist, so you'd need either the full reset on the remote itself, or fixing eeprom contents by JP1 followed by several hours of batteries removed.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

jptheripper wrote:actually, the tv and reciever are a tad slow to respond to switching so the device switching is not bad

well will see what happens
Without JP1 you should be able to test everything about the macro except puting it on the desired key (in other words, program the macro on some other key)
jptheripper wrote: shifted keys are only after conencting and upgrading with jp1 correct? or is this something i can do with the stock unit
Shifted keys are done by pressing and quickly releasing the P key just before pressing the key you want shifted (but shifting a digit is harder, so shift non digit keys). That works without JP1 and can be done when selecting the key onto which a KeyMovr will go, as well as in using keys, as well as in inserting keys into a macro being defined.

In most models (I think including the 2116) a shifted key used in a macro defined without JP1 is slower and uses an extra byte of memory vs. the same macro definition done with JP1. But it still does the same job.
The Robman
Site Owner
Posts: 22064
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The reset procedure for the 15-2116 is this...

1) Press and hold SETUP (green P), until the LCD screen changes
2) Press RECORD, then follow the prompts.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 22064
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

jptheripper wrote:oh and robman, the macro is exactly that, however, i wanted to program it to the dvd device key (which the 2116 current reports as invalid), hencee the upgrade suggestions
The fact that you want the macro on a device button doesn't have any bearing on the sequence of key strokes required, but you do need JP1 in order to get it there.

But like John said, you can experiment even without JP1 by programming the macro to almost any other button and trying it out. Plus, if you find that the macro runs too slow, you can indeed make it a bit faster by using keymoves to DVD mode and eliminating the device buttons from the macro. I've used that technique myself to reduce the number of steps in a macro (when I hit the 15 step limit).
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

I have to say i am very impressed with the responses (and speed) of help on this forum, even to a noob.

I guess the concept I am struggling with the still programming the macro. I have tested it on another button and it works fine. The problem is I want to store it on device key (so i need jp1, cable being ordered) and I want a button press of that same device key in the macro. But i am getting the impression that this is fine, my guess being it uses the currently defined value while programming the macro. I have done scripting and programming so I think once the jp1 cable arrives this will all become clearer.

I think want i really want is short and long button presses, its pretty easy to tell the wife "if you want to watch a dvd just press and hold dvd".

I (and she) thank you for your patience and help.

-JP
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

jptheripper wrote:I want a button press of that same device key in the macro. But i am getting the impression that this is fine, my guess being it uses the currently defined value while programming the macro.
Close. But it is not "fixed" by something that occurs at definition time. It is something that occurs at macro execution time.

When you define a macro (either on the remote itself or via JP1) you are storing keystrokes into the macro, not meanings of keystrokes. If the meaning of any keystroke is different when you execute the macro than it was when you defined the macro, you get the meaning as of execution time.

But, macros don't "nest" (without the extender). So if, in any macro, you use any key onto which a macro is bound, the remote ignores that macro binding and uses the other meaning of the key, the meaning that is hidden by the macro binding when the key is used directly from the keyboard.

In other words, macros are only expanded directly from keypresses, not from keystrokes that were themselves expanded in macros.
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

ahh, makes sense

i.e. the macro wont execute the same macro within itself, therefore it defaults to the original button definition. This all makes sense finally, thanx to you guys.

JP1 cable ordered from Hovis and hopefully on the way soon. :)


can't wait to start hacking this thing, love doing that, cant believe i waited this long

-JP
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

again thanx for the help. The full reset worked, Hovis wrote me to let me know the cable is going out tomorrow (good customer service).

Been spending my time searching for dsicrete codes for my devices, been lucky on Receiver (Pioneer that has full code database listed in files section ;) and DVD player (powers on play).

TV might be tough (Toshiba 46h83) but i think they exist based on settings from an older model listed in file section

Cable box will just stay on

Panny VCR shouldnt be hard either, so i think im golden!!

Question:

If I do managed to get the full EFC codes for a new device should they be posted to the files section? These can be exracted from learned commands also right?

-TIA
-JP
The Robman
Site Owner
Posts: 22064
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

1) Toshiba TV.
If it turns out that your set doesn't support discretes, there is a workaround for input selection. Pressing the CH+ or CH- buttons will always return the TV to "Antenna" mode. So, once the TV is in a known state, you can use the appropiate number of presses of TV/VCR to get it to the desired input. I have a Toshiba TV and this is what I do. Discrete power codes are not as essential for a TV as they are for other devices as the TV is typically on in all modes (except for pure audio modes, of course), so I just include the power toggle in my "power on" and "power off" macros.

2) Panasonic VCR
Most older Panny VCRs don't support traditional discrete power codes, but the recent discovery that EFC 016 works as a discrete on makes it possible to simulate a discrete off (ie, EFC 016, followed by POWER)

3) Yes, share you upgrades with others.

4) Yes, read this: http://www.hifi-remote.com/jp1/help
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

hmm, that sucks about the tv.

i can acutally direct input for device selection, its just 2 presses instead of 1 (same as format tw1,w2,full etc) its input, then the number 0-7 corresponding with the input. So thats easy. Discrete on/off would have been nice, may i ask where you found the info that there is none for this tv?
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

found this link

http://www.remotecentral.com/cgi-bin/fi ... vision&fc=

they are pronto codes, but i think they might apply to my tv... now off to decifer
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

They are the standard Toshiba TV protocol and device.

On is OBC 126, EFC 006
Off is OBC 127, EFC 010

They don't work on my Toshiba TV, but I assume they work on someone's Toshiba TV.
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

I remember in the (what seems like) hundreds of pages of reading that I can test these on my tv with my RS 15-2116 by pressing setup and punching in one of the codes.. is this correct? Sorry I ask so much, really trying to learn
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

1) You need to put the remote in TV mode first, by pressing a device key that was previously programmed to setup code TV/0156 or some very compatible alternative.

2) Use a short press of the P key (not the long press used for programming the remote).

3) Key in the three digit number, aiming the remote before pressing the third digit. For a reliable test hold the third digit longer than a typical keypress (the signal is sent while the third digit is held).

If it doesn't work, try an EFC that you're sure is right (such as 246 for VOL- on any TV/0156 TV) to make sure your test method is right.
jptheripper
Posts: 36
Joined: Mon Aug 02, 2004 11:14 am

Post by jptheripper »

thank you!!!

i imagine the three digit is the EFC and not the OBC correct? i .e.

put in TV/0156 (this is right for my tv)
press p briefly
type 006 or 010, holding the last digit, aiming at tv

thanx again, i will report back
Post Reply