No sir, 1 0 is not needed. It will be ignore by my script.
Did you read out via console command or via pimatic to confirm 30 minutes network stay?
How many times are you check devices with pimatic. Did you check other devices in the meanwhile?
Fritzbox WLAN Script SomeOneAtHome
No sir, 1 0 is not needed. It will be ignore by my script.
Did you read out via console command or via pimatic to confirm 30 minutes network stay?
How many times are you check devices with pimatic. Did you check other devices in the meanwhile?
I read out via console command and Pimatic. Is would check only one device. The interval is 12000ms.
The network stay is differently. Some times 5 minutes up to 3 hours.
12000ms??? That is toooo short… Set to 60000 each minute is really enough. Otherwise you will float your box with to much request.
Ok, i will changs this too.
But i think that is not the Problem.
Using this since today. Great stuff works for me…
Would be nice to have this out of the box from pimatic a mobilePresenceSensorFritz or something like this.
I’m not familiar with coffee script and I don’t have time to learn another script language. So if there is a developer, it would be nice to create a plugin for that thing.
But I’m lucky that my script works for other people and would proud to share it.
Dear pimatics
Would anybody be so kind to provide a step by step guide on how to implement this script ?
Thanx
Start to ask with your issue and we try to help…
Well… my issue is that I would like to track the presence of my iphone at home but due to the “deep sleep” the pimatic-ping plugin does not work.
my question is: how to I implement this solution into my pimatic
I am more of a “user” used to GUI and I would need step by step guidance to implement this script. Is it part of a plugin, or do I need to run it in the terminal, what are the commands…??
@cherberg hi you copy the scipt an make a php file with the code
in pimatic add a shellpresencesensor
http://img292.imagevenue.com/img.php?image=131408686_Unbenannt222_122_105lo.JPG
thanx for your help. As said I am a “gui user” so I am already struggling to perform this very first taks and would need exact steps to “copy the scipt and make a php file with the code”
I am looking for something like the step by step install guide for pimatic with detailed instructions which commands to use “click here” “copy and paste this” “execute sudo xxxxxx”…
Thanx for your patience
@cherberg The First Task.
Copy all Code from the Box
Make a new iphone.txt on your desktop an paste the code -> save
Rename the file from iphone.txt to iphone.php and you have a php file
Second Task
Upload the File to your Pi with WinSCP add your Pi (IP) an Upload the php file to /home/pi
Last Step is in the pimatic GUI add a new Device with the config same like my Picture
// The very first Step is to install php! Is php not install google “install php on raspberry” or like this
Thanx wuschel
Last Step is in the pimatic GUI add a new Device with the config same like my Picture
What type of device would I need to create?
@cherberg Device is a “ShellPresencsesensor”
Thanx
There seem to be different Versions of PHP. Which one would I need to install?
You can install the newest one PHP7.0. If you use PHP7.0 edit the first line of my script:
#!/usr/bin/php to
#!/usr/bin/php7.0
Thats all… The script must be executable that means you must set this script via chmod +x yourfile.php
via ./yourfile.php you can execute this script but don’t forget to give arguments. Read first thread.
Hello,
i have see that this script works not with a IPhone which have activate power saving mode.
When i start then this script i become “0” as output.
Have anyone else this problem?
Only with Apple devices!!
I used a Fritz Box 7360.
@swen said in Fritzbox WLAN Script SomeOneAtHome:
via ./yourfile.php you can execute this script but don’t forget to give arguments
Thanx for the guidance.
Not sure what “arguments” means. Do you refer to the adress, Login and Password for the Fritzbox which have to be added to into your script??
I have installed PHP7.0 using “sudo apt-get install php7.0”
After restart I cannot reach the pimatic GUI anymore but get a “debian Apache2 Debian Default Page”.
Can anyone please help me how to fix this?
Change the default port of the apache Webserver to e.g. 8080
http://www.noveldevices.co.uk/rp-webserverport