Horacio, I had to ask for help with this one. As mentioned in Tom's response 
<https://groups.google.com/d/msg/weewx-development/60IYLKye4mo/JZhdSqfVBQAJ>, 
he has a fix which will go inside your weewx.conf. 

Add this to the [[[[Groups]]]] section:

group_distance = km


Restart weewx and wait for an archive period. This fixed it for me. 


On Tuesday, March 12, 2019 at 9:28:17 AM UTC-4, HoracioDos wrote:
>
> Hi.
> I've set mqtt and weewx database in metric system, but Windrun is still in 
> miles. How can I get Windrun value in Km? What am I missing?
> There are my units in weewx.conf
>     [[Belchertown]]
>         ...
>         ...
>         ...
>         [[[Units]]]
>             [[[[Groups]]]]
>                 group_altitude     = meter                # Options are 
> 'foot' or 'meter'
>                 group_degree_day   = degree_C_day         # Options are 
> 'degree_F_day' or 'degree_C_d$
>                 group_direction    = degree_compass
>                 group_moisture     = centibar
>                 group_percent      = percent
>                 group_pressure     = hPa                  # Options are 
> 'inHg', 'mmHg', 'mbar', or 'h$
>                 group_radiation    = watt_per_meter_squared
>                 group_rain         = mm                   # Options are 
> 'inch', 'cm', or 'mm'
>                 group_rainrate     = mm_per_hour          # Options are 
> 'inch_per_hour', 'cm_per_hour$
>                 group_speed        = km_per_hour          # Options are 
> 'mile_per_hour', 'km_per_hour$
>                 group_speed2       = km_per_hour2         # Options are 
> 'mile_per_hour2', 'km_per_hou$
>                 group_temperature  = degree_C             # Options are 
> 'degree_F' or 'degree_C'
>                 group_uv           = uv_index
>                 group_volt         = volt
>
> [image: Windrun.png]
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to