Presence detection based on IP and Bluetooth

rlg6767
Posts: 7
Joined: Friday 30 March 2018 22:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Presence detection based on IP and Bluetooth

Post by rlg6767 » Wednesday 11 April 2018 15:11

When I initially run the script from the terminal I can see in the terminal it sees the mobile device from both ping and bluetooth. Then after that it just reports that it can see the device from ping.

If this is by design, then that is totally fine.

User avatar
jvdz
Posts: 1316
Joined: Tuesday 30 December 2014 20:25
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Westland/Netherlands
Contact:

Re: Presence detection based on IP and Bluetooth

Post by jvdz » Wednesday 11 April 2018 17:08

Ok, but that wasn't the question. ;)
The script will only try BT when the IP PING fails, so the question is what happens when the IP Ping fails and the BT is tried?
This is just to ensure both methods work as that is used a safeguard since most cellphone shut down their WiFi for periods to preserve battery life.

Jos

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest