Tesla Car to Hubitat

Hi all,

I'm trying to port a device driver and app from the Smartthings forum. It is to connect my Tesla to Hubitat.

I have it all working expect the presents sensor. My car doesn't have the homelink so I'm trying to use the Lat and Long to set my presence. Could use some help on that. Not sure if it is possible.