Posts: 5
Joined: Oct 2012
Reputation:
0
I'm interested in getting the weather add-on to update the location based on GPS instead of ip address. is this possible?
I can put in hard work to make it happen of someone points me in the right direction.
Thanks!
Posts: 5
Joined: Oct 2012
Reputation:
0
Ok, so I can take GPS Longitude and Latitude data and get the closest city name, zipcode, state abbreviation, and state name. I don't know python all that well, but what I could do is write up a quick VB program to edit the location settings for the weather add-on, say every 15-30 minutes, if I knew where the locations were stored.
I see " __addon__.setSettings('Location1', Data['location'] ['city'])" but I don't know where it stores that information...yet.
Can anyone point me in the right direction?
Posts: 5
Joined: Oct 2012
Reputation:
0
I figured that out only a few minutes before you posted!
and that does make my life simpler. I'm going to code the app in vb.net first for simplicity, then I'll figure out how to do it in python and add settings for com port and gps type
Thanks for your help!