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/d867098c-1d57-40a3-af07-30afc8a676b6n%40googlegroups.com.
# Options for extension 'MQTTSubscribe'
[MQTTSubscribeService]
    # This section is for the MQTTSubscribe service.
    
    # Turn the service on and off.
    # Default is: true
    # Only used by the service.
    enable = false
    
    # The MQTT server.
    # Default is localhost.
    host = localhost
    
    # The port to connect to.
    # Default is 1883.
    port = 1883
    
    # Maximum period in seconds allowed between communications with the broker.
    # Default is 60.
    keepalive = 60
    
    # username for broker authentication.
    # Default is None.
    username = None
    
    # password for broker authentication.
    # Default is None.
    password = None
    
    # The binding, loop or archive.
    # Default is: loop
    # Only used by the service.
    binding = loop
    
    # The message handler to use
    [[message_callback]]
        # The format of the MQTT payload.
        # Currently support: individual, json, keyword
        # Must be specified.
        type = individual
    
    # The topics to subscribe to.
    [[topics]]
        # Units for MQTT payloads without unit value.
        # Valid values: US, METRIC, METRICWX
        # Default is: US
        unit_system = US
        
        # The first topic
                # MQTT Topic
                [[[first/topic]]]
                        # MQTT name
                        [[[[snowDepth]]]]
                                # weewx name
                                name = snowDepth
                                ignore = false
                                contains_total = True
                                conversion_type = float
                                units = inch

                # The second topic
                [[[second/topic]]]
                        [[[[snowRate]]]]
                                name = snowRate
                                ignore = false
                                contains_total = False
                                conversion_type = float
                                units = inch_per_hour

                # The third topic
                [[[third/topic]]]
                        [[[[snowBatteryStatus]]]]
                                name = snowBatteryStatus
                                ignore = false
                                contains_total = False
                                conversion_type = float
                                units = volt

Reply via email to