Geofency does not update my status

I am using Geofency to turn on lights when I arrive at home (status “home” starts automation). Lately it has not been working, something changed after one of the latest upgrades of the HA software.

I am using webhook to notify on entry and on exit.
URL: https://XXXXXn.duckdns.org:8123/api/geofency?api_password=XXXXXX

Anyone with same problem=

It changed recently to use web hooks - updated documentation is here:

The documentation changed is here:

To configure Geofency, you must set it up via the integrations panel in the configuration screen. You must then configure the iOS app (via the Webhook feature) to send a POST request to your Home Assistant server at the webhook URL provided by the integration during setup.

Paul

1 Like

Hello
But I’ve got family cloud with 5 iPhone’s and Geofency App on each, and before it was one link like this example https://XXXXXn.duckdns.org:8123/api/geofency?api_password=XXXXXX for each device. But now each device should have own link. How to do it?

This worked for me:

  1. Use the same URL across all the phones - each phone includes a UUID as part of its http POST payload (a long hexadecimal number)
  2. Trigger a post in the geofency webhook setup (e.g. “TEST CONNECTION ENTRY”) and note the hexadecimal number displayed.
  3. Use this hex number at homeassistant UI to identify a particular phone; the entity will be device_tracker.<hex_uuid> (e.g. to add it to a devices card on lovelace, edit the UI, edit the card and select the new phone device_tracker from the entity dropdown).

Paul