Skip to content

Options removed in 2.0.0

Rich Bell edited this page Mar 11, 2024 · 17 revisions

Here are the options removed and the replacements.

Option prior to 2.0.0 Option in 2.0.0
[MQTTSubscribeDriver] or [MQTTSubscribeService]
  topic = topic-name
[[topics]]
  [[[topic-name]]]
For additional information see.
[MQTTSubscribeDriver] or [MQTTSubscribeService]
  overlap =
[[topics]]
  adjust_start_time = and/or adjust_end_time =
For additional information see.
[[archive_field_cache]]
  [[[fields]]]
    [[[[field-name]]]]
      expires_after =
[[topics]]
  [[[topic-name]]]
    [[[[field-name]]]]
      expires_after =
For additional information see.
[[message_callback]]
  full_topic_fieldname = True
[[topics]]
  [[[topic-name]]]
    [[[[field-name]]]]
With the field definition under the topic, name clashes across topics cannoy happen and therefore this option is no longer needed.
[[message_callback]]
  contains_total = field-name
[[topics]]
  [[[topic-name]]]
    [[[[field-name]]]]
      contains_total = True
For additional information see.
[[message_callback]]
    [[[label_map]]]
   field-name = WeeWX-name
[[topics]]
  [[[topic-name]]]
    [[[[field-name]]]]
      name = WeeWX-name
For additional information see.
[[message_callback]]
  [[[fields]]]
    [[[[field-name]]]]
[[topics]]
  [[[topic-name]]]
    [[[[field-name]]]]
For additional information see.
[[topics]]
  use_topic_as_fieldname = True
In 2.0.0 this option is no longer needed. MQTTSubscribe will use the topic as the fieldname if there are no [[[[field-name]]]] sections and at least one field configuration option is found.
Getting Started

    Prerequisites
    Required MQTT information
    Required WeeWX information
    Installing MQTTSubscribe
    Configuring MQTTSubscribe
    Running MQTTSubscribe with WeeWX
    Debugging

Common Options

    Main section
    The [[topics]] section
    The [[[message]]] section
    The [[[topic-name]]] section
    The [[[[field-name]]]] section

Additional Options

    Main section
    The [[tls]] section
    The [[topics]] section
    The [[[topic-name]]] section
    The [[[[field-name]]]] section

Date/Time Processing Options

Experimental Options

Configurator Mode

    Environment setup
    Invocation
    Options

Simulator Mode

    Environment setup
    Invocation
    driver simulation options
    service simulation options

Parser Mode

    Environment setup
    Invocation
    Options

Example individual Configuration

Example json Configuration

    Simple json message
    'Nested' json message
    json message with array

Example keyword Configuration

Example Configuration with multiple types

Example unit and unit group customization

FAQ

Debugging
Understanding The log

    Initialization
    MQTT Initialization
    MQTTSubscribeDriver secondary thread processing
    MQTTSubscribeDriver primary thread processing
    MQTTSubscribeService secondary thread processing
    MQTTSubscribeService primary thread processing

Supporting Additional message types
Development Environment
Deprecated Documentation

     Configuring pre 1.6.0
     Options Removed In 2.0.0
     Using test_mqtt.py To Check MQTT
     Running As A driver In Standalone Mode
     Running As A service In Standalone Mode

Clone this wiki locally