Hi all,
Total noob here so apologies in advance for stupid questions. I am trying to set up GPSLogger to use with a Zone trigger. The instructions how to set it up on the mobile device is confusing to me.
GPSLogger - Home Assistant (home-assistant.io)
"The relevant endpoint starts with: /api/webhook/
and ends with a unique sequence of characters. This is provided by the integrations panel in the configuration screen (configured above).
https://YOUR.DNS.HOSTNAME:PORT/api/webhook/WEBHOOK_ID
- Add the above URL (updating YOUR.DNS.HOSTNAME:PORT to your details) into the URL field.
- It’s HIGHLY recommended to use SSL/TLS."
Where do I get YOUR.DNS.HOSTNAME:PORT from? Is this some other service I need to set up somehow? My internal address for HA is http://homeassistant.local:8123. Could I use the Nabu Casa URL here?
And the webhook/WEBHOOK_ID - Is this supposed to be a unique set of characters and if so, where do I get those from?
"Use the domain that Home Assistant is available on the internet (or the public IP address if you have a static IP address). This can be a local IP address if you are using an always on VPN from your mobile device to your home network.
- Only remove
PORT
if your Home Assistant instance is using port 443. Otherwise set it to the port you’re using. - Add the following to HTTP Body"
latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT
"* You can change the device_id
of your phone by replacing &device=%SER
with &device=SOME_DEVICE_ID
, otherwise your phone’s serial number will be used.
- Make sure that HTTP Method is changed to
POST
"
Finally, how do I change HTTP Method to POST
?
Many apologies for the dumb questions but the instructions are not clear.
Thanks in advance.