>
> I am not sure what additional functionality he has added, nor what he is
> calling his extension nor what stanza he is using to configure.


Since I never planned to fork it, I hadn't renamed it. For now it has the
uninspired name of MQTTPublishV2
<https://github.com/evilbunny2008/MQTTPublishV2> until someone has a better
suggestion.

As for what's changed here's the short version:

* Removed the aggregation code and turned that into it's own extension
* Added a few new configuration options to enable new functionality
* Reduced the need for repetitive configuration by shifting the heavy
lifting into the python script.
* Stopped values being converted to strings by default
* Added a conversion type for compass degrees to ordinal_compass values

An exert might better illistrate

        [[[website/stats]]]
            publish = true
            type = json
            binding = archive
            qos = 1
            retain = True
            unit_system = METRICWX
            ignore = true
            minmax = both
            append_unit_label = false
            publish_none_value = true
            day = true
            yesterday = true
            month = true
            last_month = true
            year = true
            last_year = true
            alltime = true

            [[[[fields]]]]
                [[[[[outTemp]]]]]
                    ignore = false

Adding the above to weewx.conf now turns 1 field  definition into
day_outTemp_max, day_outTemp_maxtime, day_outTemp_min, day_outTemp_mintime
and the same fields for yesterday_*, month_*, last_month_*, year_*,
last_year_*, alltime_*

Similar things happen to other fields based on characteristics of that
field, such as compass direction for wind etc a full stanza example
can be viewed
here
<https://github.com/evilbunny2008/MQTTPublishV2/blob/main/weewx-sample.conf>
.

On Wed, 8 Jul 2026 at 22:29, [email protected] <[email protected]> wrote:

> No apologies are necessary. I hope a bit of history will help us figure
> out what is going on...
>
> Matthew Wall's mqtt is the OG for publishing to MQTT. It's configuration
> is found under [StdRESTful][[MQTT]]. This has been around for a long time
> and is very stable. It is the extension most people think of when
> publishing to MQTT. It is here, https://github.com/matthewwall/weewx-mqtt
>
> I need to publish to multiple topics so I developed MQTTPublish. So named
> to avoid confusion with Matthew's extension and align with my naming of
> MQTTSubscribe and MQTTReplicate. It's configuration is found under
> [MQTTPublish]. With these names and locations, I was hoping to make it
> easier for people to know what they have installed and are running. Looks
> like I need to do some more work on this. I have been using it for years,
> but only recently made it publicly available. So it has less 'real world'
> use and probably not as stable as Matthew's. It is here,
> https://github.com/weewx-mqtt/publish
>
> John apparently has a fork of my repository. I am not sure what additional
> functionality he has added, nor what he is calling his extension nor what
> stanza he is using to configure.
>
> I just ran the following commands:
>
> weectl extension list
> Using configuration file /home/richbell/weewx-data/weewx.conf
> Extension Name    Version   Description
> MQTTSubscribe     3.2.0-rc01aSource WeeWX data from MQTT.
>
> weectl extension install
> https://github.com/matthewwall/weewx-mqtt/archive/master.zip --yes
>
> weectl extension install
> https://github.com/weewx-mqtt/publish/archive/refs/tags/latest.zip --yes
>
> weectl extension list
> Using configuration file /home/richbell/weewx-data/weewx.conf
> Extension Name    Version   Description
> MQTTPublish       1.1.0      Publish WeeWX data to a MQTT broker.
> MQTTSubscribe     3.2.0-rc01aSource WeeWX data from MQTT.
> mqtt              0.24      Upload weather data to MQTT server.
>
> Note using 'latest.zip' is just a convenience for install the latest
> released version of MQTTPublish. So if you want to continue. to try to use
> MQTTPublish, lets specify the exact version via,
> weectl extension install
> https://github.com/weewx-mqtt/publish/archive/refs/tags/v1.1.0.zip
>
> and see what you have installed by running
> weectl extension list
>
> Hopefully you now have MQTTPublish 1.1.0 and we can continue where we left.
>
> Again my apologies for the confusion. I will look into how I can make this
> less confusing.
> rich
>
>
>
>
>
>
> On Tuesday, 7 July 2026 at 22:19:38 UTC-4 [email protected] wrote:
>
>> sorry for all the posts...also it looks like your latest version is
>> 2.0.5.
>>
>> --
> 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 visit
> https://groups.google.com/d/msgid/weewx-user/324cc8c3-6699-45cf-8e1c-badb414370b9n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/324cc8c3-6699-45cf-8e1c-badb414370b9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/CAGTinV70g_gMm2Gw_zWQHi1M-TPFCS1XTzAwQe0VkjcrFscLAg%40mail.gmail.com.

Reply via email to