Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
How to send a combined ir code?
This thread has 5 replies. Displaying all posts.
Post 1 made on Friday April 3, 2009 at 06:06
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
For my airco (Revoy SL500) I would like to make a wizard to send the commands. The airco always uses a single command for all actions. I've stripped down the ir command to this:
serie01 = 35
serie02 = 203
serie03 = 38
serie04 = 1
serie05 = 0
serie06 = POWER + TIMER
serie07 = MODUS
serie08 = TEMP
serie09 = FAN + ANGLE
serie10 = on TIME
serie11 = off TIME
serie12 = 0
serie13 = 0
Serie14 = 256 - (sum of all other series) made possitive (so -1 = 1)

POWER
power on 36
power off 32

TIMER
timer for on 16
timer for off 8

MODUS
auto 8
cool 3
dry 2
heat 1

TEMP
16 15
17 14
18 13
19 12
20 11
21 10
22 9
23 8
24 7
25 6
26 5
27 4
28 3
29 2
30 1
31 0

FAN SPEED
auto 0
auto eco 1
speed1 2
speed2 3
speed3 5

ANGLE
All 0
90 8
66,5 16
45 24
22,5 32
0 40
Up and down 56

But how can I send an ir command with prontoscript?
Or send a part of a command with a button? (so I can use multiple executeActions)
Or do I really have to create hidden buttons for all possible combinations and call them with executeActions?

Last edited by sWORDs on April 3, 2009 08:52.
Post 2 made on Friday April 3, 2009 at 15:20
Rusty Fobe
Long Time Member
Joined:
Posts:
December 2008
47
This is how I implemented it using prontoscript. Indeed with hidden buttons, in this case just 0 to 9.

function sendIR(irCode) {
// send decomposed IR-code

var i;

irCode=irCode.toString();

i=0;
while (i< irCode.length) {
CF.widget("IR"+irCode.charAt(i)).executeActions();
i++;}
}
OP | Post 3 made on Wednesday April 8, 2009 at 09:58
sWORDs
Long Time Member
Joined:
Posts:
November 2006
373
You are sending multiple complete commands as far as I can see, I want to send 14 small parts of one command.
Post 4 made on Wednesday April 8, 2009 at 10:12
avdorks
Long Time Member
Joined:
Posts:
November 2008
68
Is there a way to specify extender and port?
Post 5 made on Wednesday April 8, 2009 at 11:02
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,001
On April 8, 2009 at 10:12, avdorks said...
Is there a way to specify extender and port?

I don't understand the relevance of your question to combining IR data?

If using pepv2, enable the extender for the specific component. If in PEPv1, enable the extender for the specific device containing the IR codes. This is done in Device Properties.

Last edited by Lyndel McGee on April 8, 2009 11:12.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 6 made on Wednesday April 8, 2009 at 11:11
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,001
Swords,

You can create "macros" (PEPv2 - single button with multiple DB Codes, PEPv1 - Single Button with links to other code buttons or multiple local IR codes) just like you did before where there are multiple actions in a single button. If this is what you are looking for, just assign a prontoscript name to the button containing the 14 actions and then use executeActions on that button.

If combining IR code data from multiple commands is what you want, you need to understand the ProntoHex IR format (see Barry Gordon's doc in the Classic Pronto Files Section) such that you include IR code data from multiple commands in a single IR transmission. This has been discussed previously in the Classic Pronto Forum and likely the NG forum. However, a set of keywords for search escapes me.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse