On Wednesday, August 10, 2016 at 2:24:15 PM UTC-4, Ryan Sommers wrote:
>
>
> 2) I'd prefer all fields in the same measurement
>
not sure what you mean by this. default is to use the units appropriate
for each observation, in the unit system of the weewx database. but these
can be changed all together or individually.
>
>
The following diff takes care of these. (I know just enough Python to be
> dangerous)
>
thanks for the patch.
> One thing I didn't know how to address... What do I need to do to get
> units in metric?
>>
>>
>>
put this in your weewx.conf:
[StdRESTful]
[[Influx]]
unit_system = METRIC # options are METRIC, METRICWX, or US
then restart weewx. see comments at the beginning of the code for ways to
customize the format/units of individual observations. these follow the
same pattern that i have been using for all of the other uploaders that
have arbitrary server-side formatting/units (i.e., not the weather
services).
m