Any idea what I’m doing wrong? I’m crossposting here as I don’t get a reply from Owntracks themself and I think there is a lot of Owntracks knowledge here.
In case anybody else encounters this issue: I found out what the problem is… This stuff is for version 1.1.6 and below.
your uuid should be in the format with dashes (e7a3a5a9-1ed4-4ae7-bfaa-2898514cedff)
after installation and after you setup your region as mentioned above, you should restart your phone as the Android ServiceBeacon is already started without IBeacon support as it did not find any regions. Because it is not notified with the newly setup region, the BeaconManager is not started and listening for IBeacons is not working.
Once you restart your android phone, all should be working as expected… killing the app will not work as there is a bug in a dependency of OwnTracks called AltBeacon. AltBeacon will not listen once it is killed in Android (in version 2.9.1, this is fixed in 2.9.2). So, restarting your phone is the way to go…
Nope, it does not turn red in Android. However, I just created a pull request in OwnTracks (https://github.com/owntracks/android/pull/443) to make it also red in Android. Let’s see how this goes and hopefully it will go in the next release of OwnTracks…
Hi I have exactly the same issues as described in the opening post. Restarting the phone (a Samsung S7) doesn’t change anything. I can also see the beacon on the rp3 in a beacon scanner but owntracks doesn’t seem to react/see the beacon. Any more progress on this front?
I also have trouble with this. I’m having a Samsung S5 mini with LineageOS and and Samsung S7 with the strock OS. In both cases it seems, the beacon is not recognized or used at all. I can see the location entry and exit events if I use geofencing, but I never see any location event based on an beacon (radius set to 0).
I use the iBKS Config Tool on Android to see whether the iBeacons are publishing - lovely tool for debugging.
I still run my own version of Owntracks. I recently went through the code and I don’t think my pull request made it in.
Perhaps an issue at https://github.com/owntracks/android/ can help? I found it confusing that the docs state that the fence turns red which is only the case on an IPhone.
After lots of trial and error i finally seem to have it working. I had to leave Beacon minor and major empty in Owntracks; entering 0 there did not work somehow.
One thing I do notice is many enter/leave events when I’m a few meters from the beacon. I may need to get some more i guess, will have to experiment.