oliwa
(Brian)
January 31, 2019, 6:13pm
1
I recently updated to the latest version of HA and the blog says that GeoFency now uses a webhook. So I created a webhook in the integrations as stared in the docs and when I test Entry and Exit the app says the posts were successful but the device tracker in HA is not updated.
I think a few vital steps are missing from the docs.
lmiphay
(Paul Healy)
January 31, 2019, 7:32pm
2
Check the entity you are looking at maybe? I have seen two entities appear which only differ in the presence of underscores/no-underscores. The one with underscores works for me:
Also have a look in your home assistant log for an entry like this when you test entry/exit:
2019-01-31 19:23:33 INFO (MainThread) [homeassistant.components.http.view] Serving /api/webhook/71d19e89c26a1a3e5c50039eb3cf6b9e36212ff0e25213a2534xxxxx to 192.168.1.254 (auth: False)
Paul
oliwa
(Brian)
January 31, 2019, 7:48pm
3
The device ids changed to underscores in a previous release and I fixed those. So yes, I only have device trackers with underscores.
In my log I see this…
Received message for unregistered webhook 31212bfd284124b6ac865478bc68aaf1c6d74bd6f1f43b85003db5820
lmiphay
(Paul Healy)
January 31, 2019, 7:59pm
4
That message seems to indicate that the webhook hasn’t been setup properly?
It returns immediately without attempting to do anything (but without an error response to avoid letting someone know if the hook exists or not ): core/homeassistant/components/webhook.py at bb21cb6c89740c236a6fedcadb5ab219ae75be15 · home-assistant/core · GitHub
Try setting up the webhook again maybe?
Paul
oliwa
(Brian)
January 31, 2019, 9:38pm
5
I deleted it and I set it up again. Same warning, just a different webhook id.
When I added the webhook the only file that changes was /config/.storage/core.config_entries
and this was added…
"connection_class": "unknown",
"data": {
"webhook_id": "da2931d4b03ffe18414fb100af1"
},
"domain": "geofency",
"entry_id": "006cb80f037e43f39a0fc460972a1cd5",
"source": "user",
"title": "Geofency Webhook",
"version": 1
}
oliwa
(Brian)
January 31, 2019, 9:51pm
6
The only reference to webhook
in the docs leads me to a webhook automation trigger which is not correct.
I see in the webhook source it is looking for a domain and in the geofency source it has a domain but somehow the webhook is not getting loaded.
luci84tm
(Lucian)
April 4, 2019, 7:48am
7
I do have the same issue with geofency, I cannot see my devices.
Are there any updates here or hints how to fix this ?
oliwa
(Brian)
April 4, 2019, 11:46am
8
Update to the latest version of HA
Find Geofency under Configuration -> Integrations
If you already added it, remove the integration and readd it.
luci84tm
(Lucian)
June 4, 2019, 6:44am
9
Hi there,
I readd it several times now, with no success, same behavior.
Any other idea why integration geofency is not working?
oliwa
(Brian)
June 4, 2019, 11:52am
10
Can you provide the steps you’ve tried?
luci84tm
(Lucian)
June 4, 2019, 1:48pm
11
Sure!
i removed the Geofency webhook from integration menue
added a new one from the same menu
updated the URL in the Geofency webhook
One more thing, I’m using nginx as reverse proxy to publish ha outside
With letsencrypt cert
oliwa
(Brian)
June 4, 2019, 10:53pm
12
Do you have anything Geofency related in /config/.storage/core.config_entries
?
luci84tm
(Lucian)
June 8, 2019, 1:24pm
13
Geofency got fixed by the latest update 0.9.4