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 3 of 4
Topic:
Reset Wifi in prontoscript.
This thread has 45 replies. Displaying posts 31 through 45.
Post 31 made on Saturday January 24, 2009 at 19:54
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
the latest firmware and software..pep2 2.1.18 pep1 1.1.20 firmware 6.0.21
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 32 made on Sunday January 25, 2009 at 07:49
Tom Light
Long Time Member
Joined:
Posts:
December 2006
229
i think it doesn't work with fw 6.0.21
Because i tryed it on a TSU9600 with firmware 5.0.6 (i think), worked fine...
Same file on a TSU9800, didn't work..
Post 33 made on Monday January 26, 2009 at 22:23
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
FAO Lyndel, did you manage to replicate the wifi on/off problem i had..

It seems to happen with the new firmware update..
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 34 made on Monday January 26, 2009 at 22:57
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
What is FAO?

Remind me please as I've been busy as well, is this the wifiEnabled = true | false; ?
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 35 made on Monday January 26, 2009 at 23:00
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
On January 26, 2009 at 22:57, Lyndel McGee said...
What is FAO?

Remind me please as I've been busy as well, is this the
wifiEnabled = true

when you envoked the wifiEnabled=false, the aerial mast icon used to have a red cross above it, but now the icon completely disapears (there is just an empty space)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 36 made on Monday January 26, 2009 at 23:48
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
If you have a small config that does this, you might want to email it to ProntoTeam at philips dot com. Honestly, I did not try to reproduce the problem.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 37 made on Tuesday January 27, 2009 at 00:27
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
FAO = For attenion of
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 38 made on Monday April 6, 2009 at 19:20
avdorks
Long Time Member
Joined:
Posts:
November 2008
68
OK... So where are we with this? Seems like this is the solution to roaming...

Odd solution.. But I will give it a shot. Any word from philips?
Post 39 made on Monday April 6, 2009 at 19:26
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
This is the only solution available. Unless, of course you want to install a PakEdge router. :-)
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 40 made on Monday April 6, 2009 at 19:30
avdorks
Long Time Member
Joined:
Posts:
November 2008
68
Ya think it would cover a 7000 sq ft house... with radiant on 4 floors? lol... looks like I'll us 3com baseline 2489 with 4 9550 ap's... but still gonna have a roamin issue... So the point is... what is up with roamin? and switchin aps...
Post 41 made on Tuesday April 7, 2009 at 10:37
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
If you use multiple Pakedge WAP's, configure them for their WDS service, and run them on the same radio channels, they will pass off clients between them without the client knowing it. In theory (I have not tried this) the WAPS know when a client has roamed to another "zone" and the WAP's pass the client between them. The Client just sees the radio at the same frequency still working. Call Pakedge and discuss it with them
Post 42 made on Thursday October 1, 2015 at 06:45
MikeMelga
Long Time Member
Joined:
Posts:
November 2009
25
Sorry to dig up an old thread but I was looking for something like this for a while.

My problem is that my 9400 looses connection to the AP now and then.

I tested the wifi on/off through a button an it works. The 9400 reconnects to AP with no problem.

What I would like is to automate this: if the 9400 looses connection to the AP, it restarts the wifi.

Is there any way of doing this?

Thanks.
Post 43 made on Sunday October 4, 2015 at 13:38
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
If you are familiar with JavaScript and have the latest firmware (7.2.4 or higher) on your machine, you can see the dev guide for the System Class.

A.12.1.11. System.getNetlinkStatus()
(available since application version 7.2.4)
Synopsis
System.getNetlinkStatus()
Purpose
Obtain the control panel's network interface status.
Parameters
None.
Return
String
Either “disabled”, “sleeping”, “wifi-disconnected”, “wifi-noip”, “wifi-standalone”,
“wifi-level1”, “wifi-level2”, “wifi-level3”, “wifi-level4”, “ethdisconnected”,
“eth-noip” or “eth-ok”.

Note that you can also add event listeners to the wifi status and will get a callback when it drops. Once you stop Wi-Fi, you may have add an event listener again. You will need to test this to see if it requires re-registration for events. Also note that I have only supplied addEventListener below.
In order to play well with the system, if you call add a second time, always remove the previous registration by calling System.removeEventListener().


A.12.1.1. System.addEventListener()

(available since application version 7.2.4)

Synopsis
System.addEventListener(type,listener)

Purpose
Registers a function to be called for a class of system events.

Parameters
type String
Type of events to listen for. Valid types are “battery"” and
“netlink”.
listener systemEventListener

When you create a callback, you would do so like this.

A.12.2.1. systemEventListener
Purpose
Called when a system event occurs, if registered with System.addEventListener() .
Parameters
event String
The new state caused by the event.
For event listeners registered for “battery” events, this is
the value which would be retrieved with the getBatteryStatus()
method.
For event listeners registered for “netlink” events, this
is the value which would be retrieved with the get-
NetlinkStatus() method.


For testing purposes, add this code to either the Activity Script or Page Script.

function wifiChanged(newState)
{
// here, newState is a string as documented in the DEV Guide.
// write your code to act accordingly.
// Either “disabled”, “sleeping”, “wifi-disconnected”, “wifi-noip”,
// “wifi-standalone”, “wifi-level1”, “wifi-level2”, “wifi-level3”,
// “wifi-level4”, “ethdisconnected”,“eth-noip” or “eth-ok”.

/* one or more of the target states you want/*
if ('wifi-disconnected,wifi-noip'.indexOf(newState) >=0 )
{
// remove listener so don't get 2nd callback when you disable.
System.removeEventListener('netlink', wifiChanged);
CF.activity().wifiEnabled = false;
CF.activity().wifiEnabled = true;
System.addEventListener('netlink', wifiChanged);
}
}
System.addEventListener('netlink', wifiChanged);
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 44 made on Monday October 5, 2015 at 05:57
MikeMelga
Long Time Member
Joined:
Posts:
November 2009
25
Lyndel McGee,

WOW! That is just what I needed! Thanks.
Post 45 made on Tuesday October 6, 2015 at 22:43
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
Mike,

If you don't mind, please post back as to whether or not this worked 'out of the box'.

Thanks,
Lyndel
Lyndel McGee
Philips Pronto Addict/Beta Tester
Find in this thread:
Page 3 of 4


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