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


Search the Community

Showing results for tags 'geofence'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie

Categories

  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Google+


Skype


Website URL


WhatsApp


Country


Gateway/s


Interests

Found 2 results

  1. Hello! I have HC2 v4.590 and suffer over the user arrive and leave scenes which allow to determine home area entering or leaving by event GeofenceEvent. This event never triggers. Tried to leave and enter home perimeter which set in Localization panel for that location many times. So I've added "Location" property scene trigger. Of course, I have Fibaro app 1.27.0.0 installed and running on my Samsung S9+ (Android 10), all requested app permissions are given, phone ID in Lua scene is correct and location ID is correct too - checked many times. Could anybody tell me what's wrong? Scene code is: --[[ %% properties 2 Location %% events 379 GeofenceEvent 4 %% globals --]] local adminUserId = 2; local homeLocation = "XX.ZZZZZZ;YY.NNNNNN"; local startSource = fibaro:getSourceTrigger(); local userAdminPosition = fibaro:getValue(adminUserId, "Location"); local userAdminDistance = tonumber(fibaro:calculateDistance(userAdminPosition, homeLocation)); local isUserAdminHome = fibaro:getGlobalValue("UserAdminAtHome"); local homePerimeter = tonumber(fibaro:getGlobalValue("HomePerimeter")); fibaro:debug(json.encode(startSource)); fibaro:debug("---------------------------------------------------------------"); fibaro:debug(os.date("%a, %d.%m") .. " - " .. tostring(math.floor(userAdminDistance)) .. " m (perimeter " .. homePerimeter .. " m), Admin @home - ".. isUserAdminHome); fibaro:debug("=============================================="); if ( ( (userAdminDistance <= homePerimeter or (startSource["type"] == "event" and startSource.event["type"] == "GeofenceEvent" and startSource.event.data["geofenceAction"] == "enter") ) and isUserAdminHome == "no" ) or startSource["type"] == "other" ) then fibaro:startScene(231); -- run Admin Home scene end Outcoming log is:
  2. Hi All, I tried to use my iphone for presence/location detection in combination with the fibaro mobile app & HC2 locations. current location in the HC2 looks good. I tried making 2 blokscenes to test, one to send me an e-mail and push when leaving an area with range 100m and one for entering an area with range 100m. However, I never receive any push/mail, it looks like nothing is happening. The fibaro app has access to location data of the Iphone all the time. Am I missing something or is this just not working ?
×
×
  • Create New...