Open grahamck opened 3 years ago
I'm not sure. I haven't looked at the response JSON in a long time. If you use Postman to query the API you can see all the attributes that are returned.
OK – thanks for the reply. I will let you know if I find out anything interesting.
From: swamplynx @.> Sent: Monday, April 19, 2021 9:20 AM To: swamplynx/SmartThingsGroovy @.> Cc: Graham Knight @.>; Author @.> Subject: Re: [swamplynx/SmartThingsGroovy] Whistle Tracker - current location lat/lon? (#1)
I'm not sure. I haven't looked at the response JSON in a long time. If you use Postman to query the API you can see all the attributes that are returned.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/swamplynx/SmartThingsGroovy/issues/1#issuecomment-822553572, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK3WIDRC3IR7AF3BIMCTZ3LTJRC3VANCNFSM43F5WIQQ.
Thanks! Would love to hear your approach, as I'll need to rethink this as ST transitions away from the Groovy API.
I tried just accessing now via Postman, but kept getting a 400 error. I probably screwed up the header somewhere, but don't have time to play with it their server is VERY picky about the header spoofing exactly what the app does.
I am researching before I buy a collar. I will probably get one, and try it then.
From: swamplynx @.> Sent: Monday, April 19, 2021 9:26 AM To: swamplynx/SmartThingsGroovy @.> Cc: Graham Knight @.>; Author @.> Subject: Re: [swamplynx/SmartThingsGroovy] Whistle Tracker - current location lat/lon? (#1)
Thanks! Would love to hear your approach, as I'll need to rethink this as ST transitions away from the Groovy API.
I tried just accessing now via Postman, but kept getting a 400 error. I probably screwed up the header somewhere, but don't have time to play with it their server is VERY picky about the header spoofing exactly what the app does.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/swamplynx/SmartThingsGroovy/issues/1#issuecomment-822557396, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK3WIDRBBORZXSJKYM3QSDDTJRDOVANCNFSM43F5WIQQ.
Thanks for this code - very much appreciated.
I'm curious - in your investigation of the Whistle Tracker have you found a way to get current location in latitude/longitude? It appears as if the only location data s "home" or "not home". I would love to be able to scrape lat/lon and make that determination myself so that I can scrap the app. :-)
Thanks!