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


  • 0

HC3 + GeoFencing Problem


Question

Posted

I am trying to establish a process that uses GeoFencing to turn my Alarm on when both household users LEAVE the home and turns it back off when people come home.  . I have already established a process for when "The first person comes home" . That works well. It uses a trigger when person A OR person B comes home then turn the Alarm OFF.   What that means is the GeoFencing is working .  

However my problem is that when I set a scene that uses as a trigger  " when Person A AND person B LEAVE the home"  turn the alarm ON. 

The GeoFence works when the location of either person A OR person B triggers an action but won't work when the location of  person A AND person B are needed to trigger an action. 

I'd greatly appreciate any advice in this area ....

 

I use the Block Process to build my scenes.  

  • Like 1

15 answers to this question

Recommended Posts

  • 0
Posted

@Mike MJ could you show off your block scene?

  • 0
  • Inquirer
  • Posted

    See the attached images.  I have replaced the alarm with two lights as I attempt to get this system to work reliably.  As I said previously, the Return scene works where one phone returning home will trigger the scene but where I use AND to link the 2 phones being away from home ....it doesn't work.  Any suggestions as to how to remedy this will be appreciated.    Mike 

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted

    I am having geofencing issue for years. Apparently it will not be solved, as this is not a priority to any developer i think.

    At this moment, my Coming home scene triggers only when i am inside my home like 3-4 minutes. Never on geofencing cross.

    Sometimes i can see some notification that "YUBII is using your location", and it hapens at places where the geofencing actualy is defined, but the scene never triggers. Only when i am inside my house.

    • Like 1
    • 0
    Posted
    On 10/29/2022 at 5:24 AM, Mike MJ said:

    See the attached images.  I have replaced the alarm with two lights as I attempt to get this system to work reliably.  As I said previously, the Return scene works where one phone returning home will trigger the scene but where I use AND to link the 2 phones being away from home ....it doesn't work.  Any suggestions as to how to remedy this will be appreciated.    Mike 

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    I Noticed that on returning you use the ANY OF THESE ARE TRUE statement but on leaving you use the ALL OF THESE ARE TRUE .

    So basically when only one of you leaves the house it does nothing. If any of you return to the house, the light will switch.

    • 0
    Posted
    3 hours ago, GeeMoney said:

    I Noticed that on returning you use the ANY OF THESE ARE TRUE statement but on leaving you use the ALL OF THESE ARE TRUE .

    So basically when only one of you leaves the house it does nothing. If any of you return to the house, the light will switch.

    @GeeMoneyHe has it correctly set. That is his goal. When anyone comes home (ANY), the alarm should be turned OFF, but turned ON back only when everybody has left the house (ALL). This will be probably another proof that geofencing is just unusable at this moment in FIbaro. It is way way behind expectations regarding reliability.

    • Like 1
    • 0
    Posted

    To check if it's the Geofencing/GPS thingy not working correctly or the scene, maybe try to create 2 scenes.

    Each scene will just set a global variable and try to see if they get changed or not ?

     

    • 0
    Posted

    Hi,

     

    Does anyone have this working?
    I have created scenes but hey are never triggered, tried both Block and Lua scenes. I have also checked the mobiles so they have been set to "always" in the mobile app..

     

    BR

     

    • 0
    Posted

    Didn't yet came to geofencing on HC3, but on HC2 I never managed to get it work reliably. Not to mention that in one moment Home Center app was draining battery of our mobile phones when location services were enabled for this app.

    I then tried to use Netatmo welcome cameras, but was also not reliable and I needed to enter dark house with alarm on for camera to see me and recognize to set home properly.

    At the end I start to use Geofency mobile app with web-hooks and that works very reliably for years.

     

    BTW - I might be wrong, but probably not. Above scenes won't work as expected. With block scenes you need one scene for each user that will be triggered by that user and then check other users location before setting home to either empty or inhabited. Since this is impossible with block scenes only LUA scene can do. With block scenes is also possible but not one, but a bunch of scenes where each scene will do one task at the time.

     

     

     

    • 0
    Posted (edited)

    Yes, i have tried both block scenes and Lua scenes and also tried the AOQ but nothing gets triggered..

    @Sankotronic do you have a QA for using the Geofency app?

    ahh, its only for IOS..

     

    BR

    Edited by 747
    • 0
    Posted

    Hi @747,

     

    I'm working on QA now. Solution is not only for Apple, but there is also same app for Android, only name is different, but it does the same thing. Actually any geo-fencing app with web-hooks can be used with this solution.

     

    I see that under your avatar you still have Home Center 2 as your gateway. Are yous till using HC2 or you just forget to change it?

    • Like 1
    • 0
    Posted

    Hi @Sankotronic, Oops, my bad. Just recently went over to HC3 (Still use HC2 for some VD´s and scenes and then use its global variables from HC3)

    Ok! That sounds promising!
    I will follow you as a stalker until you have released the QA ;)

     

    BR

    • 0
    Posted

    @747,

     

    you can check here what I did few years back for HC2 UHAS:

    Of course now with quick apps many things can be done much better and reduce usage of global variables and scenes with Yubii UHAS :-) 

    I will post news about Yubii UHAS progress here:

     

    • Like 1
    • 0
    Posted
    • 0
    Posted (edited)

    I read the thread rather quickly. I’m wondering what the real problem is: the unreliable operation of geofencing, or the difficulty of determining the location of more than one household member at the same time. Or maybe both?

    In my setup, the return home of any household member triggers various actions. In particular, the gate to the property opens. With simple logic I even manage to recognize if someone just went out for a walk – when they re-enter the zone, the gate does not open. But if the second person is at the same time returning by car, the gate does open. Quite sophisticated, isn’t it? And all this is achieved by very simple means. Both my wife and I have iPhones, and geolocation via Yubii works properly on them. If it didn’t, it could be moved to another app, e.g. IFTTT. But I’ve tried it, and on our phones via IFTTT it doesn’t work any differently or better.

    The idea, described in another thread as well, is the following:
    To determine who is at home and who is away, my solution requires that all household members have an iPhone, any Wi-Fi in the house, and a free IFTTT account. It works extremely well, and you don’t need the paid IFTTT version with webhooks (free for up to 2 people).

    iOS has the Shortcuts app, which can run an IFTTT script in two cases: when the user disconnects from Wi-Fi, and in the opposite situation, when they connect (two various scripts). The IFTTT script, in turn, can remotely perform ANY action on the Fibaro hub. For example, it can turn a device on or off. It’s enough for such a virtual device to simply have an ON and OFF state defined. That can already serve as the basis for building conditions in a block scene, in case geolocation combined with logical OR doesn’t work.

    It really isn’t as complicated as it sounds, and I’m sure it works. Unfortunately, I don’t know how to do the same on Android – the problem is the lack of Shortcuts app (who can IFTTT trigger for Wi-Fi status change). If you solve that, you’re good to go with Android as well.

    By the way - action connect to wi-fi is triggered outside the house door - so alarm can be disarmed without disturbing any of the sensors. Furthermore, I don't see any obvious security holes (excluding my public description here). Do you see any?

     

    The device ("user presence" - one for each person) - is simple binary switch. And code behind it:

    Please login or register to see this code.

     

     

    Edited by Łukasz997
    • 0
    Posted

    Hi @Łukasz997,

     

    My solution does the same, it is known who is at home and who is away and actions can be different for different household members. This is also enforced with Netatmo welcome since this cameras have face recognition and can additionally personalize interaction with home automation.

     

    Regarding the Fibaro solution I wrote my piece and now rest my case :-D 

    • Like 1

    Join the conversation

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

    Guest
    Answer this question...

    ×   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...