I just updated to 4063, because I thought this had been fixed since my old version, but apparently not. If I ask for mqtt messages 'on update' I am getting one every 2 oe 3 seconds, although the data being sent has not changed. See:
Message 336 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.4,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 335 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.4,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 334 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.4,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 333 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.4,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 332 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.4,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 331 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.3,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 330 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.3,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
Message 329 received on CumulusMX/Interval at 1:35 PM:
{"temp":5.2,"humidity":94,"windspeed":0,"rainrate":0.0,"dayrain":0.0,"press":1015.3,"intemp":21.6,"inhum":52}
QoS: 0 - Retain: false
(Ok it says 'interval' because I am using the same mask to receive the values the other end).
This is with a Davis Vue, and a very old data logger.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
mqtt update sending all the time
Moderator: mcrossley
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: mqtt update sending all the time
Please post the template you are using.
-
GSV3MiaC
- Posts: 28
- Joined: Fri 15 Feb 2013 5:24 pm
- Weather Station: Davis Vantage Vue.
- Operating System: Win 10, rasp Pi, etc.
- Location: Shropshire
Re: mqtt update sending all the time
It is this:
{"topics":[
{
"topic": "CumulusMX/Interval",
"data": "{\"temp\":<#temp>,\"humidity\":<#hum>,\"windspeed\":<#wspeed>,\"rainrate\":<#rrate>,\"dayrain\":<#rfall>,\"press\":<#press>,\"intemp\":<#intemp>,\"inhum\":<#inhum>}",
"retain": false
}
]}
which is what I have used for the interval updates since forever. none of the references values seem to change between one mqtt post and the next.
{"topics":[
{
"topic": "CumulusMX/Interval",
"data": "{\"temp\":<#temp>,\"humidity\":<#hum>,\"windspeed\":<#wspeed>,\"rainrate\":<#rrate>,\"dayrain\":<#rfall>,\"press\":<#press>,\"intemp\":<#intemp>,\"inhum\":<#inhum>}",
"retain": false
}
]}
which is what I have used for the interval updates since forever. none of the references values seem to change between one mqtt post and the next.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: mqtt update sending all the time
Try adding "doNottriggerOnTags"
Code: Select all
{
"topics": [
{
"topic": "CumulusMX/Interval",
"data": "{\"temp\":<#temp>,\"humidity\":<#hum>,\"windspeed\":<#wspeed>,\"rainrate\":<#rrate>,\"dayrain\":<#rfall>,\"press\":<#press>,\"intemp\":<#intemp>,\"inhum\":<#inhum>}",
"retain": false,
"doNotTriggerOnTags": ""
}
]
}