Preferred unit system? That's up to you! I'm assuming you want to send
yourself a message when the alarm goes off. That message should use
whatever unit system you prefer.

On Wed, May 1, 2019 at 1:58 AM Graham Eddy <[email protected]> wrote:

> great! that fixed the conversion problem
>
> nearly there. is there some way to tell whether METRICWX or US is the
> required unit system for the email message? (apart from the obvious, which
> is to make it a weewx.conf parameter).
> thanks
>
> On Tuesday, 30 April 2019 21:29:57 UTC+10, Tom Keffer wrote:
>>
>> Sorry. It should be:
>>
>> t_vh = weewx.units.ValueHelper(t_vt,
>> converter=weewx.units.StdUnitConverters[weewx.METRICWX])
>>
>> -tk
>>
>

Reply via email to