Does someone know a solution when using System Alive Checker (Ping) with iPhone?
On Android it works perfect, but on iPhone it kills the connection when the screen is locked Found some topics on the internet but no fix
Présence ping iPhone
Moderators: leecollings, remb0
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Présence ping iPhone
Also search or months to solve this. Now playing around with iBeacon modules and a python script...
Presence is working when I use locative. When you go inside a range or outside it will send a http link to Domotic. But I want a second presence option. When you don't have your mobile data network on it will turn your presence also on using other method.
Verzonden vanaf mijn iPhone met Tapatalk Pro
Presence is working when I use locative. When you go inside a range or outside it will send a http link to Domotic. But I want a second presence option. When you don't have your mobile data network on it will turn your presence also on using other method.
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 11
- Joined: Thursday 24 January 2019 16:59
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Présence ping iPhone
Tried locative and that works. Only when going out it doesn't work because i use VPN to connect to Domoticz. Wi-Fi is a better option because you don't need GPS location for it..
Someone got a working solution?
Someone got a working solution?
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Présence ping iPhone
I tried a tracker and iBeacon. Not ok. Many times the tracker disconnect and reconnect so that means I'm gone but still in the house.... Will be hard to find a good solution
Verzonden vanaf mijn iPhone met Tapatalk Pro
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Présence ping iPhone
ping and iOS cannon live together...
iOS devies does not answer even out of standby
andorid's works but drain battery fast
a good way to achieve it is gain arp tables from the router (if available) or use TR-069 with the router to retreive active leases
I use this method and it works pretty good
ciao
M
iOS devies does not answer even out of standby
andorid's works but drain battery fast
a good way to achieve it is gain arp tables from the router (if available) or use TR-069 with the router to retreive active leases
I use this method and it works pretty good
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Présence ping iPhone
that's a low battery issue.
you have to add a delay time (I use to wait 10 minutes from the last state change) before take actions
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Présence ping iPhone
I test the battery and give me up to 75%. I add those as a second check. My partner don't have mobile data on all the time, and when he comes home then iBeacon will act also haha I use locative and work very good. I have always Mobile Data on... When leaving the area and when enter it... work always more for a year now.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Présence ping iPhone
Beacons have a specific time window in which you can interact with them... NUT uses 45secs, Tile 60 Secs and other compatible devices uses 60secs
this means that if you have a continuous scan or a small time window; yes, they will disappear even if they are not.
the bash script available in the Wiki should be cinfgured witha 60sec of pause between scans
for beacon I used a node red flow with an async time windows. it works like this
scan for 60secs, then it looks for the specific mac address (UUID) and [de]activate the respective idx in domoticz.
Then: if macs were found, scan is paused for 600secs (10 mins), if none has found, pause 60secs, and then restart.
this works pretty good, but I start having problems with batteries: they drain too fast (due to NUT 2 and, I think, low quality batteries)
so I actually moved to TR-069 protocol from my Fritz router to get the mobile phones attached to my wifi.
Actyally I'm using all of this... and it works perfetcly
this means that if you have a continuous scan or a small time window; yes, they will disappear even if they are not.
the bash script available in the Wiki should be cinfgured witha 60sec of pause between scans
for beacon I used a node red flow with an async time windows. it works like this
scan for 60secs, then it looks for the specific mac address (UUID) and [de]activate the respective idx in domoticz.
Then: if macs were found, scan is paused for 600secs (10 mins), if none has found, pause 60secs, and then restart.
this works pretty good, but I start having problems with batteries: they drain too fast (due to NUT 2 and, I think, low quality batteries)
so I actually moved to TR-069 protocol from my Fritz router to get the mobile phones attached to my wifi.
Actyally I'm using all of this... and it works perfetcly
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Présence ping iPhone
Thanks for the info. I use the TrackR Pixel devices.
Will check the delay time for scanning.
Will check the delay time for scanning.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Who is online
Users browsing this forum: No registered users and 1 guest