After the update to the new Fritz OS I have the first time (for 1 hour) also a Problem with 5GHz the Fritzbox says it is temporaly not avaible…
I think they have changed there something with the Radar detection.
-
Fritzbox WLAN Script SomeOneAtHome
-
@V1per yes, the wifi settings were changed in the latest fritz os version. For more see: https://www.heise.de/newsticker/meldung/FritzOS-6-80-nun-auch-fuer-die-Fritzbox-7490-erhaeltlich-3605362.html (german only)
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de -
Interesting! This week I have very spare time and when I at home this issue will not show up anytime. At weekend I will investigate this issue. But if there is no error on my side then the script is fine.
-
@Swen said in Fritzbox WLAN Script SomeOneAtHome:
Interesting! This week I have very spare time and when I at home this issue will not show up anytime. At weekend I will investigate this issue. But if there is no error on my side then the script is fine.
I don’t have installed your script yet, but I don’t think it`s a problem of it. I think since the update, the 5Ghz Wifi of the FritzBox is sometime not avaible.
-
That is exactly what I think. But I have the same constellation and then this issue must be the same with my fritz.box and then I can make some tests. But this will happen if I have the issue and then time to investigate this issue.
-
@Swen said in Fritzbox WLAN Script SomeOneAtHome:
That is exactly what I think. But I have the same constellation and then this issue must be the same with my fritz.box and then I can make some tests. But this will happen if I have the issue and then time to investigate this issue.
I think the Radar detection of the FritzBox is typlical not the same. Because on every place you have other neighbor Wifi or Radio waves who disturb yours. So your FritzBox can run normal and my have sometimes no 5GHz Wifi. The 2,4GHz Wifi isn’t affected because there it gives no Radar detection.
-
Hi guys,
i test a little bit around…
Lumia 950 and LG G4:
5Ghz -> internet & Network works fine -> Script says “0” (Also after a waiting time of 1 Hour), in the Fritzbox at WLAN you see its there and the Wifi Icon is Blue
2,4Ghz -> internet & Network works fine(just slower because of lower bandwidth) --> Script says “1” (Very reliable, without a missing moment), in the Fritzbox at WLAN you see its there and the Wifi Icon is Bluethe deletion of the Device in the Fritzbox and a reconnect didnt helped, 3 Restarts of the Fritzbox didnt helped, make the Fritzbox powerless for 5min didnt helped.
I have no idear what it can be I know there otherways for detection if some one at home but i like the script because its not burn the Accu of my devices out.
-
@Swen I wonder if I can get the network status of all host, not only the Wifi clients which are direktly connected.
I found this:
https://www.symcon.de/forum/threads/25745-FritzBox-mit-SOAP-auslesen-und-steuern?p=259011#post259011
but i dont know how to use it. What du you think? -
Sure why not. But the focus of my script is for network devices via wlan they go to sleep any time and doesn’t response a ping signal. All other network device you can ping it normally and normally they give a response. That’s all.
You can modify my script via print_r($result); then you can see what happens.EDIT: You don’t need testing. My script works with network devices also.
@tehmilcho
It seems that my script is working. I don’t have any loss of any wlan devices at the moment. -
Hi got this stuff… is this helpful for you that you can help me?
pi@Leetwerkberry:~ $ php test2.php 192.168.178.52 <— Lumia 950 with 2,4Ghz
1
Array
(
[NewAssociatedDeviceMACAddress] => 60:45:bd:42:47:6a
[NewAssociatedDeviceIPAddress] => 192.168.178.22
[NewAssociatedDeviceAuthState] => 1
[NewX_AVM-DE_Speed] => 54
[NewX_AVM-DE_SignalStrength] => 79
)
pi@Leetwerkberry:~ $ php test2.php 192.168.178.36 <— LG G4 5Ghz
0
Array
(
[NewAssociatedDeviceMACAddress] => 60:45:bd:42:47:6a
[NewAssociatedDeviceIPAddress] => 192.168.178.22
[NewAssociatedDeviceAuthState] => 1
[NewX_AVM-DE_Speed] => 54
[NewX_AVM-DE_SignalStrength] => 79
)
-
Simply searching for your DFS error:
DFS= Deutsche Flugsicherung
Is there an airport in you surroundings??? Try to use another channel if this error stay its better to use 2,4Ghz.
Otherwise contact AVM and ask them why you get this error AFTER update and this error was not BEFORE.
However i can’t help in this case my script working well. Sorry mate.
-
Hey,
i changed the Channel at moment like the Website says… but same … 5Ghz = “0”, “2,4Ghz” = “1”
-
Question! What’s that:
pi@Leetwerkberry:~ $ php test2.php 192.168.178.52 <— Lumia 950 with 2,4Ghz 1 Array ( [NewAssociatedDeviceMACAddress] => 60:45:bd:42:47:6a [NewAssociatedDeviceIPAddress] => 192.168.178.22 [NewAssociatedDeviceAuthState] => 1 [NewX_AVM-DE_Speed] => 54 [NewX_AVM-DE_SignalStrength] => 79 )
You get an response on IP 22 if you request 52? What’s going on there?! Are you really sure that you are using fixed ips?!
Please set print_r($result) at first before if $result and you will get a total of all devices.
What you post here is strange and is not true.
-
Yes, for my Phones its fixt… i disabled now the 5Ghz wait and activated it again … now it get from the Script “192.168.178.29” as IP if i use it for “…36”
And i get a “1” for the right device… if i set my LG to 2,4Ghz… i get “1” … if a turn it off i get “0” … but still the wrong IP form the $result
-
i funny thing is this…
WLAN-Umgebung
2,4-GHz-Frequenzband
3 WLAN-Netze auf demselben Kanal aktiv
1 WLAN-Netz mit demselben Namen, Hinweis: vergeben Sie einen individuellen “Namen für Ihr WLAN-Netzwerk”5-GHz-Frequenzband
keine WLAN-Netze auf demselben Kanal aktiv
keine WLAN-Netze mit demselben Namenthe Fritzbox says there is a other Network with the same name, but i check it … there is no same … and my SID is a URL so nobody use this.
-
I changed now the Name… just for the Lolz… and now Script says a Error.
pi@Leetwerkberry:~ $ php test2.php 192.168.178.29
0PHP Notice: Undefined variable: result in /home/pi/test2.php on line 47if a connect my 2,4Ghz back than its same… everytime in the Result the frist IP of the WLAN-List
-
Thats not my script, i will say the issue sit 50cm in front of the monitor. Your are testing so much and ran into other trouble.
If you get an error from my script so then say me which line but reset to default as it works before and then check again.
-
than i have to Downgrade the Fritzbox… thx anyway…
-
I think it worked by you because you use one SID for 2,4ghz and 5ghz…my lg g4 connects in this way controlled by the fritzbox to 2,4ghz. Bytheway factory reset also not work. And if no device is at 2,4ghz the $result gives out a error because its gets from the fritzbox no value or a worng value…maybe i Test it later with a other Fritzbox of a friend.
-
Here is my version of the script to check for all devices which are connected to a fritzbox regardless if connected via wifi, cable or another accespoint
#!/usr/bin/php <?php /*Fritzbox client status via upnp //Aufruf mit IP als Argument: someoneathome.php 192.xxx.xxx.xxx //Liefert 1 wenn IP an Fritzbox angemeldet */ if(empty($argv[1])){ die("Arguments missing."); } $uri = "urn:dslforum-org:service:Hosts:1"; $location = "http://fritz.box:49000/upnp/control/hosts"; $echo = 0; $client = new SoapClient( null, array( 'location' => $location, 'uri' => $uri, 'noroot' => True, 'login' => "",//empty, not needed 'password' => ""//empty, not needed ) ); $totass = $client->GetHostNumberOfEntries(); //echo $totass."\n";//show soap client data for($i=0;$i<$totass;$i++){ $result = $client->GetGenericHostEntry(new SoapParam($i,'NewIndex')); if (is_soap_fault($result)) { echo "there is an unexpected fault"; }else{ if($result['NewIPAddress'] == $argv[1]and $result['NewActive'] == 1){ $echo = 1; //print_r($result); //show complete answer } } } echo $echo; ?>
maybe you want try it @tehmilcho
By the way: the interval time for the ShellPresenceSensor is in ms!