That worked - thanks a lot, i was missing the name!

Below is the snip in case it also helps anyone else. Easy when you know how 
:)


I now have rain in mm and wind in mph, so the norm in the UK.


Thanks again


Andy

       
       
        topic = downhamweather
        binding = loop
        unit_system = METRICWX
        [[[inputs]]]
        [[[[windSpeed]]]]
        name = windSpeed_mph
        format = %.1f
        units = mile_per_hour




On Wednesday, 30 January 2019 00:52:03 UTC, Pat wrote:
>
> > 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:-)
>
> I'm with you. After I clicked Post I had a "oh man I kinda just repeated 
> what was in his question". I also added the "name = windSpeed_mph".... 
> Anyways, I didn't want to delete my message in hope that MAYBE it helped 
> out. Here's hoping?
>
>
> On Tuesday, January 29, 2019 at 7:47:31 PM UTC-5, vince wrote:
>>
>> 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