Hi, I am Ole, a backend developer and home automation enthusiast. From time to time I like to share the problems I had to solve.

After detecting my phone using WiFi (which does only work under Marshmallow while the phone is loading or the display is enabled) and detecting the fitbit device I came back to my original task to detect my phone using Bluetooth.

 

While there are many documents out there that describe this...