#how can I find my gpslogger webhook data ?

1 messages · Page 1 of 1 (latest)

mental stag
#

I'm using the gpslogger integration and have generated a configuration webhook and used this for a device that's allways on the move.
Now I'd like to use this for other purposes like my own phone for tracking, but It seems like I need to use the same config for all entities with different device names, but for the life of me I cant find the config data anywhere and the device is in another country so retrieving that to find the settings is also not possible.
Creating a new config would possibly workn vut then the out of country device will stop tracking and I'm not planning on going there in the next couple of months...
Any good suggestions on how I might possibly find this data so I can use it on other devices ?

mental stag
#

thats just it, I didnt copy it anywhere so its only on the one device that's out of country

#

and inside of home assistant I cant seem to find the webhook data anywhere

quiet hazel
#

it's going to be in an automation

#

there should also be a configuration in some other software that's serving up the webhook

mental stag
quiet hazel
#

then you have a node red automation doing it

mental stag
#

I dont believe so ? its just the integration that provided the webhook api data, I filled those into the gpslogger app on the smartphone thats out of country and it sends gps updates every x seconds

#

i did not do anything in nodered to make it work 🤷‍♂️

quiet hazel
#

there's something somewhere configured to send information to HA

#

it's not going to magically work without a setup somewhere

#

I'm not sure how we can help you without having the existing configuration from whatever software youre using to generate the webhook, or without an automation that uses said webhook

mental stag
#

let me recap.. I have the gpslogger integration that sets up a webhook config
I then entered the data I was given into the mobile android device running the gpslogger application and now the device is using the webhook data to send gps data from the app to HA.
There is no mention of the webhook in automations anywhere since it was setup with the integration.

quiet hazel
#

Right, so then what's the problem, you have to follow that process again

#
  1. Install GPSLogger for Android from GitHub or F-Droid on your device.
#
  1. To configure GPSLogger, you must set it up via the integrations panel in the configuration screen. This will give you the webhook URL to use during mobile device configuration (below).
#

If you're using webhooks outside the GPSLogger integration, you'd be providing a webhook to HA and you'd be triggering off an automation.

mental stag
#

the gpslogger integration only allows one single configuration

quiet hazel
#

Then you have to go the automation route

mental stag
#

the device seperation is done within the data that is returned to HA in http body data

#

I'll see if I can somehow get my hands on the data that i used for the device...
was expecting to be able to retrieve this info since I have full acces to HA

mental stag
#

seems weird that this isnt stored anywhere

quiet hazel
#

what info? it's not going to be the same webhook

#

different device, different webhook_id

mental stag
#

I think so, since the device seperation is being done using the http body data using the same webhook ??? see the integration page

#

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

quiet hazel
#

So you're just looking for your current webhook information to put into the other apps?

mental stag
#

yes

quiet hazel
#

config/.storage/config_entries will likely have that info

mental stag
#

AHA ! found it I think !!! thank you !

#

was doing searches in the whole of HA but due to the "." in front of the folder name it wasnt being included in the search .. 🚫

quiet hazel
#

Yes, that's normal. . on a folder means "hidden folder" on linux

mental stag
#

I know, but didnt consider it.. thanks again !