# \[Tutorial\] Presence detection with bluetooth beacon

**URL:** <https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536>\
**Category:** Tutorials\
**Tags:** tutorial\
**Created:** [November 1, 2018, 12:00pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536 "2018-11-01T12:00:06Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![MartijnJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnj/32/12555_2.png) [@MartijnJ](https://community.homey.app/u/MartijnJ)\
**Post date:** [March 5, 2020, 10:30am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/120 "2020-03-05T10:30:40Z")

</div>

I see you bought these tags also, how did you get them to work? They don’t popup in the Beacon app at my side…

---

<div class="post-metadata">

**Author:** ![KvM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvm/32/6707_2.png) [@KvM](https://community.homey.app/u/KvM)\
**Post date:** [March 5, 2020, 10:45am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/121 "2020-03-05T10:45:17Z")

</div>

Checked if there is a battery inside? As they come from China? The ones from Ali I ordered before didn’t have one, took me quite some time to figure that out 😛

---

<div class="post-metadata">

**Author:** ![MartijnJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnj/32/12555_2.png) [@MartijnJ](https://community.homey.app/u/MartijnJ)\
**Post date:** [March 5, 2020, 10:47am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/122 "2020-03-05T10:47:54Z")

</div>

Haha, no that one I figured out, pressing the button gives me a small green LED blinking few times.

---

<div class="post-metadata">

**Author:** ![MartijnJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnj/32/12555_2.png) [@MartijnJ](https://community.homey.app/u/MartijnJ)\
**Post date:** [March 30, 2020, 2:25pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/124 "2020-03-30T14:25:42Z")

</div>

No one?

---

<div class="post-metadata">

**Author:** ![PascalB](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@PascalB](https://community.homey.app/u/PascalB)\
**Post date:** [March 30, 2020, 6:14pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/125 "2020-03-30T18:14:23Z")

</div>

I don’t remember exactly, but just keep on trying, also with long presses to reset the module? Eventually it will pair!

---

<div class="post-metadata">

**Author:** ![FEY](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fey/32/17582_2.png) [@FEY](https://community.homey.app/u/FEY)\
**Post date:** [June 11, 2020, 2:47pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/126 "2020-06-11T14:47:04Z")

</div>

Hello. I have bought five of [NRF51822](https://nl.aliexpress.com/item/32826502025.html?spm=a2g0s.9042311.0.0.72dd4c4dq5TozM). I was able to add them to Homey via the BEACON App. For the sake of testing them, I have created a simple flow that is supposed to send me a notification when the beacon is outside range.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b3eb8ddde4048f993b408fdb14916ce22d89760f.jpeg)

I put one in my car and drove away with it. For some reason, HOMEY is simply not detecting any status change. See Screenshot.

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/ebb569cc515d52c9cb06f3f3f5c91a86280abeb9.jpeg) ](https://dl.dropboxusercontent.com/s/7ppanifwgrf9wms/Screenshot%202020-06-11%2016.46.22.png?dl=0)  
I am not sure what the issue is.

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [June 11, 2020, 4:04pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/127 "2020-06-11T16:04:24Z")

</div>

Is the automatic detection activated in the apps settings? Or are you updating manually?

---

<div class="post-metadata">

**Author:** ![FEY](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fey/32/17582_2.png) [@FEY](https://community.homey.app/u/FEY)\
**Post date:** [June 11, 2020, 5:19pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/128 "2020-06-11T17:19:15Z")

</div>

Yes. It is.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18ab8eac5fe6806cae7e2f2dd1991772e1375e5a.jpeg).

I have question though: What’s the normal behaviour of the app?  
1- if the beacon is on and in range, it will show as detected.  
2- If the beacon does not go out of range, what should the app show? Assume a beacon got detected 2 hours ago, the app keeps on showing detected two hours ago. Does this mean that Homey is not checking and updating the status?  
3- If the beacon’s battery goes off, shouldn’t it appear as as out of range? In my case, even after removing the battery, the app is not updating its status! As you can see, now after 11 hours and me removing the battery several times, it is still showing as detected.

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [June 12, 2020, 4:12am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/129 "2020-06-12T04:12:56Z")

</div>

You can find more information of the app here: [[APP][Pro] Beacon - Detect your presence with BLE beacons](https://community.homey.app/t/beacon-an-app-for-presence-detection-using-ble-beacons/3550)

> This app integrate the basic flows for BLE beacons into Homey. Once the app is installed it will do a discovery of BLE devices, after a short adjustable timeout it wil keep discovering. After each discovery the app compares the found devices with the one paired. If the beacon is not found within the new “discovered list” the beacon is changed in state.

> For filtering out false positives there is a verification amount inside or outside the range available in the settings. This setting is the amount of times the beacon needs to be changed before it wil marked as such. The amount will be reset if the beacon is not in that current state.

And here is some Q&A

> **Q1** Why is the beacon marked ‘outside range’ when i use the beacon with my phone?

_If a BLE beacon is connected to a device (phone) it cannot be discovered anymore and the app set the device as away. You can prevent this by removing the app from your phone._

> **Q2** Why is the beacon marked ‘outside range’ after a couple of minutes?

_Your beacon is powering down for saving energy. Sometimes this is configurable by the manufacturer his software._

> **Q3** Is the app compatibel with v2.0.0?

_The app will be compatible from version v1.2.1 on Homey firmware \> v2.0.5_

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [June 12, 2020, 4:14am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/130 "2020-06-12T04:14:16Z")

</div>

> [@FEY](#):
>
> attery, the app is not updating its status! As you can see, now after 11 hours and me removing the battery several times, it is still showing as detected.

Looks in your case that the automatic update isn’t running anymore. Have you tried to reboot Homey? Can you send the developer an log, then i’ll look into this.

---

<div class="post-metadata">

**Author:** ![Austriacus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/austriacus/32/75331_2.png) [@Austriacus](https://community.homey.app/u/Austriacus)\
**Post date:** [October 30, 2020, 10:40am UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/131 "2020-10-30T10:40:03Z")

</div>

Got a Gigaset keeper today.  
Installation was easy, but after some minutes the device goes standby and is “out of range”  
Of course this is not useful for presence detection.  
Does anybody know how to deactivate standby?  
Or is there another solution?

BTW" the Gigaset G-Tag works fine

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 18, 2021, 5:07pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/132 "2021-01-18T17:07:04Z")

</div>

@Austriacus  
Gigaset G-Tag is interesting!  
Which Homey app do you use for this?  
T.i.a.  
Cheers

---

<div class="post-metadata">

**Author:** ![Austriacus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/austriacus/32/75331_2.png) [@Austriacus](https://community.homey.app/u/Austriacus)\
**Post date:** [January 18, 2021, 5:11pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/133 "2021-01-18T17:11:18Z")

</div>

I use the Beacon App from Leendert De Kok

---

<div class="post-metadata">

**Author:** ![Otter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/otter/32/11467_2.png) [@Otter](https://community.homey.app/u/Otter)\
**Post date:** [January 27, 2021, 10:59pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/134 "2021-01-27T22:59:35Z")

</div>

Gets horrible reviews tho

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 28, 2021, 4:30pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/135 "2021-01-28T16:30:52Z")

</div>

Thanks @Otter !

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [January 28, 2021, 4:44pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/137 "2021-01-28T16:44:06Z")

</div>

> [@RoyWissenburg](#):
>
> Iam using the beacon app from @Koktail as long i can remember and working perfect

Same overhere!

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [January 28, 2021, 4:50pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/138 "2021-01-28T16:50:05Z")

</div>

Thanks for the complements! 🍻

---

<div class="post-metadata">

**Author:** ![Otter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/otter/32/11467_2.png) [@Otter](https://community.homey.app/u/Otter)\
**Post date:** [January 28, 2021, 5:39pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/139 "2021-01-28T17:39:56Z")

</div>

True, but there are other alternatives for the pricebut if it works it works

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 28, 2021, 7:05pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/140 "2021-01-28T19:05:45Z")

</div>

I know, I know. I always do my own research as well.

---

<div class="post-metadata">

**Author:** ![Quakerix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/quakerix/32/10155_2.png) [@Quakerix](https://community.homey.app/u/Quakerix)\
**Post date:** [February 1, 2021, 9:40pm UTC](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536/141 "2021-02-01T21:40:08Z")

</div>

When it’s working, it works perfect. No better detection then this app and I tried them all.

I just need to restart the app each day automatically and somehow someway I have a couple of tags that worked for months end then stop. New battery doesn’t work etc weird but I just have a few spares and it’s worth it

[Previous page](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536.md?page=5)

[Next page](https://community.homey.app/t/tutorial-presence-detection-with-bluetooth-beacon/3536.md?page=7)
