Boom! Thanks Matt, that was the problem. Also [[[inputs]]] needs to be all
lower case

Now - do I need to do that for all of the rain measurements?

On Wed, Nov 21, 2018 at 5:21 PM mwall <[email protected]> wrote:

> On Tuesday, November 20, 2018 at 10:45:39 PM UTC-5, Colin Larsen wrote:
>>
>> This is my MQTT section in weewx.conf, the skin just says "Connected.
>> Waiting for data" and never gets any. I'll have a look for errors
>>
>> [[MQTT]]
>>
>>         #This section is for the MQTT service setup
>>
>>         server_url = mqtt://192.168.20.121:1883/
>>
>>         topic = weather/41south
>>
>>         unit_system = METRIC
>>
>>         [[[Inputs]]]
>>
>>                 [[[[dayRain]]]]
>>
>>                    name = dayRain_mm
>>
>>                    units = mm
>>
>>         binding = loop
>>
>>         aggregation = aggregate
>>
>>         log_success = False
>>
>>         log_failure = True
>>
>
> colin,
>
> the indents do not matter - the square brackets do matter.
>
> the configuration you posted is equivalent to this:
>
> [[MQTT]]
>
>     server_url = mqtt://192.168.20.121:1883/
>
>     topic = weather/41south
>
>     unit_system = METRIC
>
>     [[[Inputs]]]
>
>         [[[[dayRain]]]]
>
>             name = dayRain_mm
>
>             units = mm
>
>             binding = loop
>
>             aggregation = aggregate
>
>             log_success = False
>
>             log_failure = True
>
> try this instead:
>
> [[MQTT]]
>
>     server_url = mqtt://192.168.20.121:1883/
>
>     topic = weather/41south
>
>     unit_system = METRIC
>
>     binding = loop
>
>     aggregation = aggregate
>
>     log_success = False
>
>     log_failure = True
>
>     [[[Inputs]]]
>
>         [[[[dayRain]]]]
>
>             name = dayRain_mm
>
>             units = mm
>
>
> m
>
> --
> 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.
>

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