So, the [[[first/topic]]] are meant to be replaced with the actual topic.
So it would be something like this
```
[[Topics]]
[[[topic name that snowDepth is published on]]]
[[[[topic name that snowDepth is published on]]]]
name = snowDepth
[[[topic name that snowRate is published on]]]
[[[[topic name that snowRate is published on]]]]
name = snowRate
```
The duplication is an artifact of dealing with json and keyword payloads.
The ```use_topic_as_fieldname``` option can be used to make the config a
bit prettier.
```
[[Topics]]
use_topic_as_fieldname = true
[[[topic name that snowDepth is published on]]]
name = snowDepth
[[[topic name that snowRate is published on]]]
name = snowRate
```
Note, if snowDepth is actually published on the topic snowDepth, the
```name``` option can be left off.
I don’t think that you want to set contains_total=true for snowDepth. This
is used when the field contains a total and it needs to be converted into
an increment for WeeWX.
I’ll work on clarifying the wiki.
With that said, it shouldn’t have broken WeeWX. If you are up for it,
before changing the config, setting debug=1, restarting WeeWX for a couple
of archive intervals and attaching the log would be appreciated .
rich
On Tuesday, 6 October 2020 at 13:28:34 UTC-4 [email protected] wrote:
> Attached is the extension material that I put into weewx.conf. But when I
> set enable = true, weewx stops archiving data. Is there an error in this
> configuration, or could subscribe be incompatible with another service? I'm
> using the Weatherflowudp driver with mqtt and GW1000 extensions.
>
> On Tuesday, October 6, 2020 at 9:17:07 AM UTC-6 Timothy Buchanan wrote:
>
>> Thanks, Rich, I should be able to edit weewx.conf based on the example at
>> the bottom of that page.
>>
>> I am using an ESP8266 board with an ultrasonic sensor and a temperature
>> sensor (to calibrate the speed of sound), and programming in the Arduino
>> IDE. I'll 3D print a case and mount it above my deck. The materials cost
>> about $15.
>>
>> I'd be happy to post the code here, under a new topic, once I get it
>> working.
>>
>> Timothy
>>
>> On Tuesday, October 6, 2020 at 8:53:45 AM UTC-6 [email protected] wrote:
>>
>>> What type of sensor are you using for measuring snow depth?
>>>
>>>
>>>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/f8f0483a-da51-4082-b800-321ce07b3c7cn%40googlegroups.com.