I have one more question that may or may not be related to the MQTT 
subscribe function.  We just got some rain and my weather station sends a 
0.011 inch value every bucket tip but accumulating.  So it continues to go 
up.  It seems the way I have my weewx set up that the rain amount is going 
up exponentially like it's not raining and the rain rate is huge as well as 
the accumulated rain is like over 1 foot which is completely ridiculous. I 
was under the impression that weewx would parse out that the value hasn't 
increased since the last read but that's not the behaviour I'm seeing.  I 
thought that was the default rain behaviour but maybe I'm missing something 
in my config.  Any thoughts?

On Wednesday, July 8, 2026 at 12:15:30 p.m. UTC-4 [email protected] wrote:

> Thanks that should help. 
> Please remove the incorrect information that MQTTPublish was forked from 
> Matthew’s mqtt extension from your readme
>
> On Wednesday, 8 July 2026 at 10:11:13 UTC-4 John Smith wrote:
>
>> 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/a69c53c3-3fce-497d-a3b1-8c11a3e0ad00n%40googlegroups.com.

Reply via email to