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:
I would Like a Projector status Script Please :)
This thread has 6 replies. Displaying all posts.
Post 1 made on Saturday January 24, 2009 at 17:11
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
I have just installed a projector at home and realised that the cool down time can vary...

Having a quick look through most of the protocol for projectors you can get status back from them to tell you when they have called down, e.g. my HC6000

POWER ON/OFF POSSIBLE send 30h 30h 76h 50h 4Bh 0Dh it will return 30h 30h 76h 50h 4Bh 31h 0Dh if the on/off function is posible.

So it would be good to get a cool down screnn " Please wait projector cooling down" while the script is polling the projector...





Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 2 made on Saturday January 24, 2009 at 18:47
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
yes, my theater does all that with a JVC DLA RS2. However I do not use the Pronto directly, but rather have a PC do that work
OP | Post 3 made on Saturday January 24, 2009 at 18:52
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
On January 24, 2009 at 18:47, Barry Gordon said...
yes, my theater does all that with a JVC DLA RS2. However
I do not use the Pronto directly, but rather have a PC
do that work

I thourght you might do that,, on another note , have you found any good/easy to use ethernet/IP analouge converter or tempreture converter?, i have some one with a rack that over heats now and then, i need to get the temprature reading back to the pronto.. its a pitty the RFX9600 didn't have a temprature sensor on it, ( may be next time, you guys in belgium)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 4 made on Saturday January 24, 2009 at 19:38
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Why confuse everything with hex markup? The answer to the simplest solution is in the ASCII translation of the data.

Send
30h 30h 76h 50h 4Bh 0Dh is in ASCII "00vPK\r"

Receive
30h 30h 76h 50h 4Bh 31h 0Dh is in ASCII "00vPK1\r"

One line will send and get response.

var str = serial.match("00vPK\r","\r",200);

Then use substring to strip off what you don't need.

var sResult = str.substring(5,1); // leaves you with a string of "1" or likely "0" if unit is not ready.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 5 made on Saturday January 24, 2009 at 19:45
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
On January 24, 2009 at 19:38, Lyndel McGee said...
Why confuse everything with hex markup? The answer to
the simplest solution is in the ASCII translation of the
data.

Send
30h 30h 76h 50h 4Bh 0Dh is in ASCII "00vPK\r"


Receive
30h 30h 76h 50h 4Bh 31h 0Dh is in ASCII "00vPK1\r"

One line will send and get response.

var str = serial.match("00vPK\r","\r",200);

Then use substring to strip off what you don't need.

var sResult = str.substring(5,1); // leaves you with a
string of "1" or likely "0" if unit is not ready.

Got ya.. is the 200 a time out in ms?
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 6 made on Monday January 26, 2009 at 19:24
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
If you are curious about the match() function, why not have a look at the Dev Guide? Who knows what tidbit of information you might discover that you did not know. ;-)

However, yes, and I chose an arbitrary value of 200.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 7 made on Monday January 26, 2009 at 22:37
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
When you mention about the match fuction, i found it in the dev guide, i think i had been up too long and needed some sleep ..LOL its funny how the time gets away from you when you start programming... the gray matter has started to tick over again, its a long time since i last did any programming. i think i got a tick out of my pronto too, but that has now disapeared, or i could have been dreaming... :))
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control


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