Hi, John If you have a separate skin for the app, you can set the unit system for just that skin. This way, you would not have to read the units used by the Standard skin. There's an example of how to do that with Gary's Stell Series installer <https://github.com/gjr80/weewx-steelseries/blob/master/install.py>.
Or, am I misunderstanding your question? -tk On Thu, Mar 22, 2018 at 5:21 AM, John Smith <[email protected]> wrote: > Just to give some background I made an android app similar to Pocket PWS. > I liked the app, but it was closed source so I couldn't do anything to add > new features. > > With Tom's blessing I named the app weeWx Weather App and I have published > it to google play (https://play.google.com/store/apps/details?id=com. > odiousapps.weewxweather). > > To use the app there needs to be some small changes made to weeWx, to > automate the steps needed I created a weeWx extension but it defaults to > imperial units. The only way round this was to make a metric extension as > well. > > So my question is this, can the install.py in the extension find out > default units some how? >
