Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

Posted (edited)

Geofencing on HC3 has been broken for several months.

This feature is essential for daily automation, and many users have repeatedly reported the same issue across multiple firmware versions.

We need a clear and transparent update: Is Geofence being actively worked on, and when can we expect a reliable fix?

Edited by cag014
  • Like 1
Posted

Hi @cag014,

 

Please check this:

I just got it from @m.roszak, but since I'm not at home for next 5 weeks can you please test it?

I almost finished my geofency presence and UniFy Presence quick apps, but would also like to have Fibaro geofencing.

Thanks!

 

Posted
9 hours ago, cag014 said:

Geofencing on HC3 has been broken for several months.

This feature is essential for daily automation, and many users have repeatedly reported the same issue across multiple firmware versions.

We need a clear and transparent update: Is Geofence being actively worked on, and when can we expect a reliable fix?

Its not related with the hub itself, the upcoming 2.5.3 app should fix it (we got it running at this point). I am putting here "should" as this is always a tricky subject with different vendors of the phones.

  • Like 2
  • Thanks 1
  • Topic Author
  • Posted
    5 hours ago, Sankotronic said:

    I just got it from @m.roszak, but since I'm not at home for next 5 weeks can you please test it?

    I almost finished my geofency presence and UniFy Presence quick apps, but would also like to have Fibaro geofencing.

    Thanks!

    As @m.roszak mentioned, the issue is on the mobile app side and not the HC3 itself. I opened this Geofence topic mainly to get an official update from Fibaro regarding the fix roadmap.

    In any case, I’ll test the workaround you suggested and will post the results.

  • Topic Author
  • Posted
    On 3/10/2026 at 3:39 PM, cag014 said:

    As @m.roszak mentioned, the issue is on the mobile app side and not the HC3 itself. I opened this Geofence topic mainly to get an official update from Fibaro regarding the fix roadmap.

    In any case, I’ll test the workaround you suggested and will post the results.

    @Sankotronic

    Have tested as suggested, no Geofence triggers received from Yubii app.

    • Thanks 1
    • 4 weeks later...
    Posted

    Yubi app update 2.5.3 not fixed geofencing for me on galaxy s24 ultra :-(

    Posted

    Hi,

    could you please provide more details about this issue?  

     

    Best regards

    Posted
    W dniu 12.04.2026 o 00:34, B4rrett napisał:

    Yubi app update 2.5.3 not fixed geofencing for me on galaxy s24 ultra :-(

     

    Hi,

     

    geofencing issue appears to be related to the latest Samsung phones. Unfortunately, this is beyond our control - it results from more restrictive power-saving mechanisms in the system, which limit background location activity.

     

    Best regards

    Posted

    @B4rrett so, below some summary gathered over the internet with some recommendations with what may fix this for you:

     

    Common Causes

    • Battery Optimization: Samsung's "Device Care" can put background location-monitoring apps to sleep to save power, preventing them from detecting boundary crossings in real-time.
    • Location Accuracy Limits: When a device is still and connected to Wi-Fi, the system may stop active location sampling to save battery. If the "passive" location results from other apps aren't considered precise enough (e.g., >30-40 meters of error), geofence events are dropped.
    • Network Switching: If a geofence boundary is set in a spot where the phone is actively switching between Wi-Fi and cellular, or has poor coverage, the signal to trigger the event may be lost.
    • Hardware Interference: Using magnetic phone cases or mounts can de-calibrate the device compass, significantly impacting geofencing reliability. 

    Recommended Fixes

    To improve reliability on devices like the Galaxy S24 or S25 series, check the following settings:

    1. Disable Battery Optimization:
      • Navigate to Settings > Apps > [Your App] > Battery.
      • Select Unrestricted to ensure the app can run in the background without being throttled.
    2. Ensure "Allow All the Time" Permission:
      • Go to Settings > Location > App permissions.
      • Find the relevant app (e.g., Yubii Home, Google Maps) and set it to Allow all the time. Enabling Use precise location is also critical.
    3. Enable Improved Accuracy:
      • Go to Settings > Location > Location services.
      • Turn on Wi-Fi scanning and Bluetooth scanning. These allow the phone to use nearby signals for faster positioning even if those radios are technically "off".
    4. Increase Geofence Radius:
      • If triggers are consistently late (e.g., you are already in your driveway before the gate opens), try increasing the radius to 150–300 meters to give the system more time to process the crossing.
    5. Remove from "Sleeping Apps":
      • Go to Settings > Battery > Background usage limits.
      • Ensure the app is not in the Sleeping apps or Deep sleeping apps list. Ideally, add it to Never auto-sleeping apps
    • Like 1
  • Topic Author
  • Posted

    @m.roszak

    Your setup is correct, but it doesn't enable geofence trigger.

    Just few days ago I think I have found the problem in newest Samsung Galaxy mobile phones.

    Running some tests and will post the solution

     

    • Like 2
    Posted

    Please login or register to see this code.

  • Topic Author
  • Posted (edited)

    As promised, here is the solution I found to finally activate Geofence on my Galaxy Z Flip 6 (and my wife’s S24) after months of it not working.

     

    The solution below will not work with the old “Yubii Home Center” app. That app no longer supports geofence because it doesn’t use the new Google Play Services geofence API. Only the new Yubii Home app is compatible with the updated Android location system.

     

    Short explanation of why Geofence stopped working on newer Android versions.

    Google split Location History into two parts — Timeline and device‑location — starting from Android 12–14. Because of this change, the device‑location component can get stuck OFF when Google Play Services disables background reporting internally (after system updates, battery optimization, crashes, or long inactivity). Rebooting or toggling Timeline (on/off) does not fix it; the device must re‑register by opening the Timeline screen.

     

    Why we need Timeline (Location History) enabled -

    Yubii geofence works only when the Yubii app registers your home location with Google Play Services, and Google Play Services sends the enter/exit events back — which requires Google Timeline (Location History) to be ON and the phone to appear in the “Devices on this account” list. Unlike Alexa or Google Home, which use active GPS requests, Yubii relies entirely on passive geofence triggers from Google Play Services, so the background reporting engine must be fully active for it to work.

     

    Before Timeline setup please - 

    Make sure Google Play Services set correctly - Settings → Apps → Google Play Services → Battery → Unrestricted

    Set Yubii app as instructed by @m.roszak in post above 

    Please login or register to see this link.

     

     

    How to Enable Google Timeline (Location History) on Android

    1. Open Settings on your phone
    2. Scroll down and tap Google
    3. Tap on your Google account (your name/email at the top)
    4. Tap Google Account
    5. Go to the Data & Privacy tab
    6. Scroll down and tap Timeline
    7. Turn Timeline (Location History) ON
    8. Stay on the Timeline screen for 10–20 seconds
    9. Tap Devices on this account and make sure your phone is listed

    Please login or register to see this spoiler.

     

     

    Please let me know if this solution works for you as well — your feedback will help confirm whether the fix is consistent across different devices.

    Edited by cag014
    • Thanks 3
    Posted

    After many attempts and numerous setting checks, I unfortunately cannot

    report any positive results. I am extremely frustrated.

  • Topic Author
  • Posted (edited)
    5 hours ago, PitCock said:

    After many attempts and numerous setting checks, I unfortunately cannot

    report any positive results. I am extremely frustrated.

    What Android version your Sony Xperia 10 III has?

     

    Xperia 10 III is compatible

    The Xperia 10 III runs Android 12–13 (depending on updates), and the Google Play Services geofence API works normally on these versions. So the Yubii Home app can receive geofence events on this device.

    But geofence will fail unless these conditions are met

    Your Xperia must have:

    1. Google Play Services → Battery → Unrestricted

    2. Google Timeline (Location History) ON

    3. Your phone listed under “Devices on this account”

    4. The new Yubii Home app (not the old “Yubii Home Center”)

    5. Location permission set to “Allow all the time” for Yubii Home

    6. Battery optimization disabled for Yubii Home

    7. Physical Activity permission ON (some Sony phones block geofence without it)

    📌 Special note for Sony Xperia phones

    Sony is known for aggressive battery management. On Xperia 10 III, you must also check:

    • Settings → Battery → Battery Care / Stamina Mode → turn OFF

    • Settings → Apps → Yubii Home → Battery → Unrestricted

    • Settings → Apps → Yubii Home → Advanced → Remove “Optimized for battery” restrictions

    • Settings → Device Connection → Adaptive Battery OFF (optional but helps)

    If these aren’t adjusted, Sony may kill Google Play Services in the background, which breaks geofence.

    Edited by cag014
    Posted

    Im also sorry to say that its not working for me either..

    I have a Samsung S24 and have followed you instructions and double/tripple checked them, but still not working..

     

    BR

    Posted

    .. and since i installed the new Yubii app, i forgot to enable GeoLocation..

     

    Will see if it works better now :)

    • Like 1
    Posted

    Yes!

     

    It works, and really good also!

    Many thanks for this @cag014!

     

    BR

    • Like 1
    • 2 weeks later...
    Posted

    Please login or register to see this code.

    Please login or register to see this code.

    • Thanks 1
    Posted

    I can confirm that with latest updates geofencing is working flawlessly with iOS devices. I have made Yubii Presence QA that receives location events and depending on the presence of the family members also adjusts profile on my HC3.

    Please login or register to see this image.

    /monthly_2026_05/YubiipresenceQAdev.png.3272bc1a8338741915733280207133aa.png" />

    Just need to check if profile vacartion is activated after profile away was active for more than X hours that can be setup on this quick app.

     

    • Like 3
    • 2 weeks later...
    Posted

    @cag014, The Geolocation is working really good for me but when i try to setup the same for my kids then nothing happens..

    They both have Android phones, same as i.

     

    Any idea why i cant get those phones to work?

    I followed the exact same way that i setup om my phone..

     

    BR

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...