On Tuesday, January 29, 2019 at 4:00:02 PM UTC-8, Pat wrote:
>
> Try
>
> [[MQTT]]
>     unit_system = METRIC
>     ***snip***
>     [[[inputs]]]
>         [[[[windSpeed]]]]
>             name = windSpeed_mph
>             units = mile_per_hour
>
>
> On Tuesday, January 29, 2019 at 5:30:32 PM UTC-5, Andy Hudson-Smith wrote:
>>
>> Evening,
>>
>> Hope its ok to ask - i have MQTT running happily but i am looking to use 
>> MPH for wind (UK configertation). I have written the config file as (it 
>> does not work - this the commenting out)
>>
>>      binding = loop
>>
>>         unit_system = METRICWX
>>
>> #       [[[inputs]]]
>>
>> #        [[[[windSpeed]]]]
>>
>> #               units = mile_per_hour
>>
>>
>>
>>

Pat - I'm not quite seeing what changes you're suggesting, but that might 
just be my old eyes and non-cooperating fonts in the browser here.   I'm 
not aware that weewx cares about indentation if that's what you changed 
(guess I need either more or less coffee, uncertain which:-)

Andy - can you post again and this time mark your code snippet with the 
'highlight code syntax' format using the { } on the right side above the 
input window if you're posting via a browser, so it appears as a code 
snippet with easy to read fonts like Pat's post did ?   Basically we need 
to see your whole [[MQTT]] block.

The MQTT extension readme doesn't have a full-up example of how to override 
units individually, but https://github.com/weewx/weewx/wiki/emoncms has a 
nice example of the same thing.




-- 
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