Vera has a number of user-specified settings under it’s “Location” tab, such as:
Timezone
Temperature Format
Geo-Location
In my plug-in, I’d like to access some of this data (Temperature Format, and Geo-Location in particular).
What luup API do I use to read the location information?
For things like Geo-Location, it displays my [Localized] City name. What format(s) is this available in internally? I’ve seen both the Localized name (like “Reno”) as well as Lat/Long values in the UI, but generally it’s the Localized name.
Also, is there a “normalized” value we should be returning for Temperature controls?
eg. Always return degC or always return degF for compatibility across devices?