Beacon - An app for presence detection using BLE beacons

Hi Sharkys. I have seen this behaviour before and have not found anything that will resolve it. The Homey app’s memory is automatically cleaned with the garbage collector.

The apps core functionality is polling the BLE stack from Homey. I can imagine that adds up to the memory consumption.

Anyone that want to test a longer update interval to check if the memory consumption is lower?

1 Like

Unfortunately I’m restarting regularly but since 04/2021 I see the highest peak was 34MB - so still below 40MB - but it’s nice contrast with Flora app, where I have 6 Flora sensors and it’s still running on ~9MB, compared to Beacon app, where I have just two “dummy” sensors - kettle and boiler detection. While Flora app mem utilization remains almost stable, Beacon is going from very nice initial value of 7.4MB to ~34MB.


obrazek

Maybe @Koktail you might see something strange in the logs ? Just in case : 61768edb-cef9-42a9-a60a-62aa80a636aa

But as already pointed out by @Peter_Kawa , it’s probably not issue at all - I was just wondering why this app is more memory hungry compared to others app, including those using Bluetooth stack.

Hi Sharkys. Could not find anything strange in the logging.

The big difference between the beacon app and other BLE apps is that this app is using the discovery mechanism to detect BLE devices. So from a technical perspective the issue is pointing in that direction.

Because I didn’t find any other cause, and the BLE discovery is Homey core firmware I cannot do anything about it. And the stacked memory that is allocated is freed by the garbage collector anyway after some time. And the memory doesn’t exceed the prescribed maximum values.

1 Like

Can i make homey run a flow when my phone connects to a beacon?

That should be possible, in theory, with Android Macrodroid app and webhooks.
Macrodroid can read alerts on your phone and use it as trigger.
Example (in Dutch) → link

I have four title pro’s from 2018, they work perfect.

I ordered a couple of tiles from China based on a URL in this topic. They are detected once, and then never again.

Any suggestions of tiles that I should order that work?

Feasycom maybe Beacon - An app for presence detection using BLE beacons - #663 by Piero_F

I bought the Feasycom Beacon as @Piero_F wrote, it adds up as an iBeacon. I’m still playing with the settings now, as there were a few false alarms overnight. However the distance from Homey is not working at all. Settings so far are 15, 1, 20.
:

He’s been laid up in one place all night:

Hello @Miroslav_Gluch,
I have been using Feasycom FSC-BP108 for over a year and I very satisfied.
Since Feasycom is a beacon that can be used in many environments and systems, you need to set the most suitable parameters for Homey. You should install the Feasycom app in your smartphone in order to set the interval of transmitted signal to 760 ms and the signal strength (TxPower) to 2.5 dB (a complete guide for setting beacon parameters can be found here).

Best Regards

3 Likes

Thanks a lot!
I didn’t know about that, it still has to be set up sideways in the app. I’ll try to play around with it a bit and hopefully it will be better. I found out that one beacon has the option of two iBeacons in the settings. Each has a different UUID. I thought I had added both to Homey, but yet it was just one keychain with two UUIDs :see_no_evil:

I’m sure it will work properly. It’s just something new to me again, so I need to familiarize myself with it.
But again, thank you so much for your help.

Since my partner bought a new phone, we constantly had problems with his presence. I bought him a Tile Pro 2022 and installed this app. Works like a charm! A big thank you to the maker and to the posters of the various info in this topic, necessary to get things working.

1 Like

Hello,
I intend to switch from homee to homey in 2023.
Not everyone in the family has a cell phone in their pocket all the time, so the geofancing story doesn’t work for us.
I am successfully using three Gigaset G-Tags (version1) with a raspberry pi zero as a BLE scanner/server. The notification to homee takes place via webhook.
homeean presence
The G-Tags have good reception in the home, the message comes as soon as I drive into the carport.
I hope this works with the homey-pro (2023) as well,
and without additional raspi?
Grüße :raising_hand_man:

Hey guys,
because the presence function of Homey itself still doesn’t work properly, I decided to manage the presence/away status by a beacon. So at this point, I would like to thank @Koktail for this awesome and quite helpful app. I really appreciate your efforts and time you’ve invested in the developement and given support for it. (i will suit the action to the words when I’m familiar with the app functionality :wink:)

In the end, I bought a BLE beacon called finder2 from the German engineer brand musegear (see https://www.amazon.de/dp/B01MRXVY2O/ref=redir_mobile_desktop?_encoding=UTF8&psc=1&ref_=psdcmw_364918031_t1_B09998MBFM&th=1 and the manufacturers homepage Produkte – musegear finder – Finde den richtigen für dich! for details).
It’s very similar to Tile or rather the same, with the decisive benefit, that there are no hidden-costs or a need for an account or a registration of the beacons.

I don’t want to overdo this topic at all (it’s still long enough), but I want to share a simple as confusing experience with you:
as mentioned above, there’s no duty to register the beacons. This is why I didn’t installed the musegear-App on my smartphone. Instead of this, I tried to add the beacon directly to Homey. I knew, that it’s public discoverable, because my smartphone was able to detect it as a generic BLE device.
I tried several attempts to add it to Homey. But it didnt’t function.
Than, the only thing I did was to restart Homey (not the beacon-app itself) - and suddenly my beacon was founded. And never lost its connection until now for around 10 hours. So far, so good.

But know I’ve got an issue very similar to other user, especially to Peter_Kawa. This is the reason, why I wanted to reply to his post for asking for a solution, because I’ a little bit unsure about the right seetings (I didn’t changed the default ones).
As you can see on the screenshot, regularly after 20-25 seconds, the outside range status is changed in inside status. In the meantime, the beacon was moved only in direct range of Homey (not outside of our house).


Is this a matter of a too less number of verifications out of range? (even if it seems to be a trivial question… :innocent: :grimacing:)

I would be very grateful for any reply!
Greets
Albert

Sorry…just one more question from me as a newbe:
What’s the difference between an Beacon and a iBeacon? I didn’t find any explanations on this question by searching the topic.
I’m asking this question myself, because I want to rule out of course, that I added the wrong type of beacon to Homey.
I just red something about random addresses as an advertising signal from some beacons. And I was wondering, if mine is such one (see screenshot as follows). Even because of its default name iTrack

just for understanding of my first post: this was the issue, which I wanted to reply originally. But for whatever reason it didn’t so…maybe i used the wrong button. Sorry!

Hi Albert, no worries.
I understand the Ble stack of Homey is not perfect (yet), and connections get dropped at random. That makes, in this case, the beacon(s) somehow getting marked as ‘away’.

I use a Chronograph timer in between now. The timer’s time should be higher than the time between the typical faulty ‘away’ and ‘home’ status changes. For me, 2 minutes was sufficient.

When…
beacon X status = away
Then…
start or replace timer Y with a duration of x minutes

When…
timer Y has finished
And…
beacon X status = away
Then…
(presence) mark Person X (beacon X) as away

BLE stability improvements in this firmware update, but clueless how to read what they updated :smiling_face:

3 Likes

I will play with the settings to see if there are improvements

Still unstable at the 10 times settings. Back to 15

Hey Peter,
finally, I found time to answer: thank you so much for your both quick and especially very kind response! :ok_hand: :clap:
It’s really helpful while logical, although I didn’t tried out yet. But this is what I’ll do next, maybe in combination with a higher verification amount outside range. I figured out in the meantime, that 15 times seems to be the best - just at the moment. :man_shrugging:

Since I’ve been a (still proud :wink:) owner of a Homey Pro (early 2019) I’m regularly excited about this huge community of Homey users. In my opinion, one of the strengths of Homey, among others.

But nevertheless: at this point, I can absolutely agree with @NoX comments about Homey’s usability und Athom’s policy: Beacon - An app for presence detection using BLE beacons - #608 by NoX
I invested 399 € as well in this futuristic “wonderball”, and for that, we can expect a stable system with it’s general functions. Herefore belongs e.g. the Bluetooth connectivity in general. (By the way, even my wife told me some days ago, I should not spend more time in configurating our smart home as it will save us in the end​:grimacing::man_facepalming:)
But I don’t want to start a new discussion about it though, that’s not the right place for it.

Just to clarify and intensify the awareness, I think about reporting one more issue for that to Athom.
Greets
Albert

1 Like