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

Login:
Pass:
 
 

Page 2 of 3
Topic:
Escient
This thread has 32 replies. Displaying posts 16 through 30.
OP | Post 16 made on Thursday July 8, 2010 at 17:57
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
I am using a fixed id on the pronto 192.168.1.116
I have an ssid of 2WIRES and using wep 128 bit logic with the pass phrase of
ALEX021400000. I am also noticing that when I input the DNS server id it does not seem to stick. I input and the curser blinks after the last number I download it this way but when I open up the file it is back to all zeros.

I have a linksys n router model wrt610n that is g capable. It is running in dual mode. The pronto connects to it fine with atleast one green bar in my entire house. The Escient is on the same network with the same subnet but is connected to a switch. My cell phone and pc connect to escient flawlessly. The ssid matches I have a MusicCast system that the main unit is connected through the switch and two clients through the router hardwired and three clents connected to the router wirelessly.
OP | Post 17 made on Thursday July 8, 2010 at 18:02
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
I entered Escient model MX552 because the MX752 was not preconfigured. I am wondering if this was a mistake. I hope I did not leave out any pertinent information.
Post 18 made on Thursday July 8, 2010 at 18:56
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
In PEPV2, Did you insert a built-in activity for Escient Media Server?
In all cases, do NOT use host names, but IP addresses.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 19 made on Thursday July 8, 2010 at 19:07
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
Yes I used IP addresses. I used a built in activity.
Post 20 made on Thursday July 8, 2010 at 21:01
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
I'm curious if your Pronto is even able to see the internet or other networked items. There's a weather module for the 9400 in the files section. Can you try that and see if you can get data?

Or, can you maybe post screen shots (media fire or some other file share site) of your actual properties pages of your config.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 21 made on Saturday July 10, 2010 at 01:57
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
Also, when you use a PC to get to the Web Interface of the escient, what IP address does the browser see? You can also get this from the Escient setup.

Quite honestly, I use a Linksys WRT54G (G-Only) in WEP128 security and have no issues with Pronto or with Escients.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 22 made on Sunday July 11, 2010 at 16:08
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
I have sent you e-mail of configuration. The weather module link has a broken link to bad I would have loved to give it a try. The browser uses 192.168.1.116 and works flawlessly. I had the same router but it was receiving a lot of interference from microwave when I was streaming music from MusicCast. The wrt610 did not play well with my cordless phones and I had to purchase new ones.
Post 23 made on Sunday July 11, 2010 at 18:26
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
Your config file looks OK except that you did not put a Jump (that I could find) to either the Player Page or the Guide Page in the Built-in module. I sent you a few questions via email with regard to escient and subnet.

If you are having that kind of interference, you should try different channels and getting that weather module to work.

Put this code into a button, press the button and then review diagnostic log to see what you find.

System.setDebugMask(9);
function EscientPowerControl(ipAddress)
{
this.ipAddress = ipAddress;
this.socket = null;
}

EscientPowerControl.prototype.powerOff = function powerOff()
{
var command = '1009';
this.synchronousConnectAndSendSingleCommand(command);
};

EscientPowerControl.prototype.getEscientVersion = function getEscientVersion()
{
var command = '5007';
this.synchronousConnectAndSendSingleCommandResponse(command);
};

EscientPowerControl.prototype.writeCommand = function writeCommand(command)
{
if (this.socket && this.socket.connected)
{
try
{
var message = 'ESCX' + command + '\r';
this.socket.write(message);
}
catch (e)
{
Diagnostics.log('EscientPowerControl socket write failed. error:' + e);
}
}
};

EscientPowerControl.prototype.writeCommand = function writeCommand(command)
{
if (this.socket && this.socket.connected)
{
try
{
var message = 'ESCX' + command + '\r';
this.socket.write(message);
}
catch (e)
{
Diagnostics.log('EscientPowerControl socket write failed. error:' + e);
}
}
};

EscientPowerControl.prototype.closeSocket = function closeSocket()
{
try
{
this.socket.close();
}
catch (e)
{
Diagnostics.log('EscientPowerControl close failed. error:' + e);
}
};

EscientPowerControl.prototype.synchronousConnectAndSendSingleCommand = function synchronousConnectAndSendSingleCommand(command)
{
try
{
// create blocking socket
if (this.socket)
{
if (this.socket.connected)
this.closeSocket();
this.socket = null;
}

this.socket = new TCPSocket(true);
if (!this.socket)
{
Diagnostics.log('EscientPowerControl socket create failed.');
return;
}

// wait up to 5 seconds for connect.
this.socket.connect(this.ipAddress, 251, 5000);
// if connect is successful, we attempt to write the command.
this.writeCommand(command);
}
catch (e)
{
Diagnostics.log('EscientPowerControl failed. error:' + e);
}
finally
{
if (this.socket)
{
if (this.socket.connected)
this.closeSocket();
this.socket = null;
}
}
};

EscientPowerControl.prototype.synchronousConnectAndSendSingleCommandResponse = function synchronousConnectAndSendSingleCommandResponse(command)
{
try
{
// create blocking socket
if (this.socket)
{
if (this.socket.connected)
this.closeSocket();
this.socket = null;
}

this.socket = new TCPSocket(true);
if (!this.socket)
{
Diagnostics.log('EscientPowerControl socket create failed.');
return;
}

// wait up to 5 seconds for connect.
this.socket.connect(this.ipAddress, 251, 5000);
// if connect is successful, we attempt to write the command.
this.writeCommand(command);
// read a response up to 8KB and wait for 5 seconds.
System.print('Beginning read.');
var response = this.socket.read(8192,5000);
var wResponse = GUI.widget('RESPONSE');
if (wResponse)
wResponse.label = response;

Diagnostics.log('RX:'+response);
}
catch (e)
{
Diagnostics.log('EscientPowerControl failed. error:' + e);
}
finally
{
if (this.socket)
{
if (this.socket.connected)
this.closeSocket();
this.socket = null;
}
}
};

System.print('Starting...');
var ipAddress = '192.168.1.116';
var pc = new EscientPowerControl(ipAddress);
pc.getEscientVersion();


After running this, use Backlight-Menu-Firm2 to ascertain which of the above messages is in the diagnostic log.

If you cannot get this far, you should try different router/different channel or figure out what is up with your network.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 24 made on Monday July 12, 2010 at 21:12
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
I put links from Listen>Fireball>Listen to Music > Browser
Is this a problem? I also found my old wrt54gs and set that up and got it going but still no luck. I am going to try the hieroglyphics next (please no spelling nazis)
I am assuming it is a cut and paste and I will try atleast three times before I post.
Post 25 made on Monday July 12, 2010 at 22:15
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
I had posted via email as to needing additional information from your escient. What router is it wired to? What is the gateway, subnet mask, etc... Is the escient on the same network as the pronto? If not, that may be the issue. Is there a firewall in place such that pronto is on separate network or escient is behind a firewall?

If so, then setup on different networks or behind a firewall, have you opened up port 251 (0xFB) for TCP communication such that the Pronto can communicate with the escient? Contacting escient through a web browser uses HTTP port 80 and one might think that this is OK (most firewalls allow ports 80 and 443 to pass) but not port 251. Port 251 via TCP/IP must be open such that the Pronto can connect to the escient via the external control protocol.

FYI, the script above that I posted, (not hieroglyphics) should give us additional information about whether the pronto can connect to port 251.

The more I think about this, all things reported here indicate that 1) you have a bad wifi xmitter in remote or 2) more likely, you have not poked hole through a firewall.

Let us know, please.

FYI, I recently saw this documented in the FP-1 manuals but no where else other than in the Vision and Fireball external control protocol specification.

Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 26 made on Monday July 12, 2010 at 23:12
aguillon5
Long Time Member
Joined:
Posts:
August 2008
19
My Escient is connected to the same router via a switch. I tried both linksys my wrt610n and the wrt54gs. Yes the escient is on the same network as the pronto. I disabled the firewall in the routers and had no luck that way either. I had not opened the port until I read the post. I entered range 251 to 251 I am not sure what (0xfb) is.

I entered entire script and tried diagnostics log and it was completely empty. Sorry I am sure I did something wrong.
Post 27 made on Tuesday July 13, 2010 at 00:43
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,152
0xFB is merely the hexadecimal (base 16) equivalent of the decimal number 251.

Most routers will pass all local traffic(LAN Side) but act to firewall the WAN side of the router. You appear to be operating strictly on the LAN side of the router which is correct. Did you try G mode only as opposed to dual mode?
Post 28 made on Tuesday July 13, 2010 at 01:32
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
If you did all this, I'm leaning towards #1.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 29 made on Tuesday July 13, 2010 at 01:35
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
On July 12, 2010 at 23:12, aguillon5 said...
My Escient is connected to the same router via a switch. I tried both linksys my wrt610n and the wrt54gs. Yes the escient is on the same network as the pronto. I disabled the firewall in the routers and had no luck that way either. I had not opened the port until I read the post. I entered range 251 to 251 I am not sure what (0xfb) is.

I entered entire script and tried diagnostics log and it was completely empty. Sorry I am sure I did something wrong.

The script should be pasted into a button, not into the Activity script nor into a page script. Is that where you pasted it? Once you pasted and then downloaded the config to the pronto (not the simulator), did you press the button?

Might you be available for a short (and I do mean short) phone call tomorrow or tomorrow evening? Email me @ yahoo with details.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 30 made on Tuesday July 13, 2010 at 01:44
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,385
From a PC on the wireless network (same router as pronto connects to), can you telnet to Port 251 on the escient

192.168.1.116:251 and key the following:

ESCX5007[Enter]
Assumption is that pressing [Enter] will send ASCII 13/Carriage Return.

If you get a response, that is what we are looking for. If not, there's a problem with your network. If you do get a response, then Pronto is configured incorrectly or your remote is faulty.

Cannot remember if we tried this but can you change from passphrase to a hex key (or completely disable security for a bit) to see if things work?


If you can telnet to this port on this host (your escient) and you can get a response, there is NO reason that pronto should not be able to do this.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Page 2 of 3


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