Help with ToadTog to built Discrete On and Discrete Off

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

Moderator: Moderators

Post Reply
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Help with ToadTog to built Discrete On and Discrete Off

Post by 15-1994 »

Trying to implement a Discrete On and Discrete Off by using the Toad Tog Protocol built in the Extender 5 for a Toshiba TV that doesn't have discrete codes (RS 15-1994 Remote), I already post my file in the Diagnosis Files in the yahoo group, the title is:

ToadTog Fail.txt.

The Extender is working fine in my remote but I would love to be able to built Discrete codes for my Toshiba TV, can somebody please take a look at my file ...

I just can see to understand how the ToadTog works

Felipe
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Hey Felipe,
Please post a link to your file to make it easier for others to get it. Thanks.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Post by 15-1994 »

Sorry Rob (I forgot, I was bit frustated...), the file is at

http://groups.yahoo.com/group/jp1/files ... is%20Area/

It's title:

ToadTog Fail.txt.


In this file the las 3 Key moves in the key move section are the ones that I try for the toadtog, and the las to macros on the Macros section are the ones that I'm trying to use for the Discrete On and Off. I really apreciate any sugestions.

Felipe
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Post by 15-1994 »

Maybe this is a better link:

http://groups.yahoo.com/group/jp1/files ... 20Fail.txt

(link fixed - MP)

Felipe
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

15-1994 wrote:Maybe this is a better link
Nope. Please read the message regarding Posting Links (found below in my signature).
Mark
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Post by 15-1994 »

Mark,

Thank you for fixing it for me!!

Felipe
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

You're welcome... but you only get one free pass! :wink:
Mark
pgk
Posts: 113
Joined: Sat Aug 21, 2004 11:53 am
Location: London

Post by pgk »

I've had a look and here's what I can see.

Macros as you describe on 1s and 2s for TV;Shift-Phantom1/2
The Macro TV has O_TV so the Shift-Phantom1/2 are from the TV device.

So far so good, onto the keymoves

TV,Shift-Phantom1: ToadTog(0) Force Off by Shift-Power
TV,Shift-Phantom2: ToadTog(0) Force On by Shift-Power


And this is where I think the problem lies, since you also have a keymove for TV,Shift-Power:

TV,Shift-Power: ToadTog(0) Toggle On/Off by Shift-Power

So what this means is that pressing "TV,Shift-Power" and the ToadTog will toggle by pressing "Shift-Power" which will then toggle and press "Shift-Power", which will toggle and press "Shift-power" etc. causing a loop.

Since its a built in code for the TV, is the power button on its own toggling the tv power?
If so then that's what your shift-phantom1/2 toadtogs should be using, the shift-power keymove should be deleted.
(Note. If you want to assign a macro or keymove to the Power button then you will need to use Shift cloaking, so shift-power will be correct in the shift-phantom1/2 toadtogs, but you still need to remove the keymove from tv,shift-power)
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Post by 15-1994 »

Thanks pgk, your observations help me understand better what to do. Right now I'm able to create de Discrete On and Off for my Toshiba TV, however; I still have some questions. This are the changes that I made to my configuration:


KEY MOVES

SHIFT-Power ToadTog (0) VCR/DVD 1800 $01 $BA $BB 215* (Use Hex) Toggle On/Off by SHIFT-Phantom1 and SHIFT-Phantom2

TV SHIFT-Phantom1 ToadTog (0) VCR/DVD 1800 $88 $3B 219* (Use Hex) Force On by Phantom1

TV SHIFT-Phantom2 ToadTog (0) VCR/DVD 1800 $09 $3A 227* (Use Hex) Force Off by Phantom2


TV Phantom1 TV TV 0156 $B7 119
TV Phantom2 TV TV 0156 $B7 119



MACROS

1s TV;SHIFT-TV;SHIFT-Phantom1 [This creates my TV Discrete On]

2s TV;SHIFT-TV;SHIFT-Phantom2 [This creates my TV Discrete Off]


Now, my questions, Do I need to have all my ToadTogs to be ToadTog(0), does it make any difference if I use ToadTog(1), ToadTog(2), …, or ToadTog(7), and how can I use ToadTog(0) TEST ONLY or what are the advantages of using it?

Felipe
pgk
Posts: 113
Joined: Sat Aug 21, 2004 11:53 am
Location: London

Post by pgk »

I'm still not certain I understand what you are trying to do.

From your details the hexcode $B7 for your tv device 0156 seems to be a power toggle for your TV.

(a) If so then you don't need to setup the toadtog on shift-power just to toggle the TV power, just use the $B7 code directly. The toggle function on ToadTog is really for when your device doesn't already have a power toggle of it's own.

(b) Similarly your toadtogs for discrete on and off, you point to separate but identical in function keymoves, you don't need to do this, they can both use the same keymove. In fact if you had keymoved the $B7 code onto shift-power directly they could both use $83 as the final code in the toadtogs, to just press shift-power.

(c) Finally I would have thought that since your TV device is 156, then the power button probably already has the $B7 code assigned to it. In which case you don't need the shift-power keymove at all. With nothing assigned to shift-power the extender will treat it just like the power button before you assigned and macros/keymoves to it.

The Different toadtogs numbers 0-7 allow you to have multiple toadtogs. Each number represents one tracking of on/off state, so if you wanted to implement discrete power on/off for your tv and xxx (because they both only have power toggles), you would use one number for your tv and a different number for your xxx.

I haven't used the test only function, but reading the document, if you only aim (at the moment) is to have separate buttons to turn your tv on and turn your tv off, then I don't think you need it yet.
pgk
Posts: 113
Joined: Sat Aug 21, 2004 11:53 am
Location: London

Post by pgk »

Just had another thought about what you might be trying to do.

If you are trying to have discrete on, discrete off and toggle power buttons and normaly use any of them (In my earlier posts I was assuming you didn't actually need the shift-power in normal use)
Then you can simplify things to this:

SHIFT-Power ToadTog (0) VCR/DVD 1800 $01 $3A $3A Toggle On/Off by Phantom 1 and Phantom 1

TV SHIFT-Phantom1 ToadTog (0) VCR/DVD 1800 $88 $3A Force On by Phantom1

TV SHIFT-Phantom2 ToadTog (0) VCR/DVD 1800 $09 $3A Force Off by Phantom1

TV Phantom1 TV TV 0156 $B7


Since the SHIFT-Power doesn't need to call the discrete functions to do the on/off toggle it can send the code directly via phantom1 (The toadtog will still keep track of the state properly)
Shift-Phantom 1 can 2 can also use the same Phantom 1 keymove, they don't need to be separate since this won't cause a loop.
15-1994
Posts: 22
Joined: Tue Sep 23, 2003 2:06 pm
Location: San Diego, California

Post by 15-1994 »

pgk,

Thank you again for your advice and observations; I would take a look a my setings to make it more eficient.

Felipe
ot04298
Posts: 17
Joined: Wed Sep 17, 2003 7:07 am
Location: Crystal River, FL

Post by ot04298 »

Utilize shift cloaking and you do not need the Phantom1 keymove:

TV POWER <N/A> TV 1800 $11 $83 $83
TV DiscreteON<N/A> TV 1800 $98 $83
TV DiscreteOFF <N/A> TV 1800 $19 $83

The above example uses ToadTog bit 1 (adjust accordingly for your use). Use the DiscreteOn & DiscreteOff functions in your macros, and the ToadTog toggle is on the Power key. When things get out of synch (and they will occasionally), use shift-Power to access the original power toggle and get the ToadTog bit status back so that the discrete functions are not reversed.
Post Reply