Homey Community Forum

Beacon - An app for presence detection using BLE beacons

Hey @Peter_Kawa can you pls share your settings? Have updated to the test version but my Tile Pro still keeps ducking in and out ever few minutes.

It’s not 100% yet. (Running v6.1.0-rc.1)
My beacons report out and back in every x mins/hours, not a pattern I can discover.
Note the gap in the log (long version below screenshot) between 02:41AM and 10:57AM today:

2021-04-30 02:41.36		Flow ELSE Lief Beacon thuis J/N: true
2021-04-30 10:57.57		Flow Lief Beacon thuis J/N: false

(AND, I just unticked Display non-static afdresses anyway to see if it makes a difference. But my beacons have static addresses, so…)

  • logs
2021-04-28 23:26.38		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-28 23:26.40		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-28 23:26.47		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-28 23:26.47		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-28 23:28.13		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-28 23:28.39		Flow Lief Beacon thuis J/N: false 
2021-04-29 00:08.17		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 01:40.35		Flow Lief Beacon thuis J/N: false 
2021-04-29 01:41.15		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 02:03.05		Flow Lief Beacon thuis J/N: false 
2021-04-29 02:03.45		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 02:05.40		Flow Lief Beacon thuis J/N: false 
2021-04-29 12:00.07		Pe_auto status: "true"
2021-04-29 21:54.33		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 21:57.27		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-29 22:00.26		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-29 22:05.31		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-29 22:11.57		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-29 22:19.57		Flow Lief Beacon thuis J/N: false 
2021-04-29 22:20.23		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 22:36.04		Flow Lief Beacon thuis J/N: false 
2021-04-29 22:36.31		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 22:42.53		Flow Lief Beacon thuis J/N: false 
2021-04-29 22:43.19		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 23:17.22		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-29 23:33.26		Flow Lief Beacon thuis J/N: false 
2021-04-29 23:34.18		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 23:44.29		Flow Lief Beacon thuis J/N: false 
2021-04-29 23:44.53		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-29 23:54.46		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-30 01:04.29		Flow Lief Beacon thuis J/N: false 
2021-04-30 01:05.00		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 02:41.04		Flow Lief Beacon thuis J/N: false 
2021-04-30 02:41.36		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 10:57.57		Flow Lief Beacon thuis J/N: false 
2021-04-30 10:59.29		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 12:06.12		Flow Lief Beacon thuis J/N: false 
2021-04-30 12:06.43		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 12:34.04		Flow Lief Beacon thuis J/N: false 
2021-04-30 12:34.36		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 12:35.06		Flow Lief Beacon thuis J/N: false 
2021-04-30 12:36.09		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 12:44.26		Flow Lief Beacon thuis J/N: false 
2021-04-30 12:45.29		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 12:54.14		Flow Lief Beacon thuis J/N: false 
2021-04-30 12:54.46		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 13:07.08		Flow Lief Beacon thuis J/N: false 
2021-04-30 13:08.11		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 13:36.04		Flow Lief Beacon thuis J/N: false 
2021-04-30 13:37.38		Flow ELSE Lief Beacon thuis J/N: true 
2021-04-30 13:47.00		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 13:47.10		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 13:47.28		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-30 14:36.46		Flow ELSE Peter Away > beacon Pe_8erdeur Gecancelled
2021-04-30 14:36.48		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 14:57.02		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 15:23.57		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 15:23.59		Flow ELSE Peter Away > beaconPe_auto Gecancelled
2021-04-30 15:45.59		Flow Lief Beacon thuis J/N: false

These settings work fine for me:

1 Like

Hello,

I collaborated with @Koktail for the new version of the Beacon app.

First of all, even though the Homey firmware 6.0.0 has relevant improvements for the Bluetooth support, still there are some minor issues that are preventing the Beacon app from working at its best. Maybe the upcoming Homey firmware 6.1.0 will solve the problems… Meanwhile the settings recommended by @Peter_de_Vos should work well (they work well also for me; if the detection is still unreliable, the parameter “verification amount outside range” can be raised from 5 to 6 or higher values).

In addition to the new features announced by @Koktail there are two other minor features in v1.3.0:

  • Battery level (on selected models).
  • Ability to replace (repair) physical beacon devices without the need to re-create Homey flows and scripts (on iBeacon and Eddystone beacons).

I wrote a short technical guide about the Beacon app and beacon devices. Those interested in a technical documentation can find it here.

Best Regards

Piero

7 Likes

(Running v6.1.0-rc.1)
No Beacon status changed after my last log. (Beacons didn’t move).
Anyhow, I’ll try the 30/30 sec settings

Test version + 30/30 sec + verificationoutsiderange = 15 seems to do the trick. No false detections inside/outside range in 18 hrs.
Thanks for the swift action.
Regards,
Paul

2 Likes

@Koktail @Piero_F Is there any chance that Apple’s new Airtags are going to work with the Beacon app in the (near) future?

I use a flow with an doorsensor on a timer:

1 Like

Hello @Nox,
What you ask for does not depend on our will or our ability. To use Airtags that advertises an encrypted ID, Apple must provide developers with a resolver service (a cloud service that takes as input the encrypted content of the Bluetooth advertisement and returns the ID of a registered Airtag). Does Apple offer this service? I don’t think so. What I understand is that Apple currently offer a cloud service for tracking your stuff (Same as Tile®).
Anyway, I’m currently testing a beacon device with similar features (size, shape, case protection degree). I’ll let you know within 10 days.

2 Likes

30, 30,1,11 gave a few false positives the last 2 days. So confirmed

Hi @Piero_F, I fully realised upfront this wasn’t depending on your will or ability. I asked mainly because I didn’t know if the AirTag provided (sends out) the necessary information for you guys to get it working. The only thing I see (with my n00b eyes) is that it is a similar device to Tile Pro which does work. I thought that the AirTag would send out some BLE signal (so it can be found with iPhone when close enough) that Beacon app could pick up and that it “only” needed to be added to the app as ‘compatible device’ to get this working. But obviously there is more to it than that. I will crawl back I’m my n00b cave so you can continue your work :rofl: :+1:

I have installed the Itag bluetooth tracker and am testing it. 1st day went well. setting: 30,30,1.15

1 Like

After a PTP and fresh batteries for both my beacons, I am now at 32,25,1,6 without false aways.

1 Like

Thx! I copied your settings, I still had a few false positives, even when 1 beacon lies next to Homey

No false positive for 4 days in a row. works fine

Same here, it’s literally 10 centimetres away from homey. Many false away notifications. Any recommendations? Maybe PTP? Different settings?

There is bug in the BLE binding: BLE discovery gives 0 advertisements · Issue #202 · athombv/homey-apps-sdk-issues · GitHub

1 Like

@ my place my beacons aren’t detected anymore with your settings…
I’m getting the idea the update interval can’t be higher than 29, maybe 30s

I just adjusted it to 29,28,1,6 and all beacons were detected immediately.

Strange, I would say using an interval shorter than the 30s timeout would result in 1 in every 2 auto searches to be empty?

Because of the new BLE 30s cache, you mean?
That seems logical. I don’t see why detection stops when using intervals > 30s.
But that has to be connected with the reported bug.
BUT, the bug is the other way round🤔