Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

MQTT sending temp and rain of previous days.

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
claustro
Posts: 2
Joined: Thu 13 Jan 2022 9:47 am
Weather Station: PCE-FWS 20N
Operating System: Windows 10

MQTT sending temp and rain of previous days.

Post by claustro »

Hi all ,
I am sending trough mqtt some variables to my homeassitant server
this is what I have till now in MQTT/DataUpdateTemplate.txt file

Code: Select all

{"time":"<#timehhmmss>","windspeed":<#wlatest rc=y>,"winddir":<#bearing>,"tempout":<#temp rc=y>,"press":<#RecentPressure rc=y>,"raintoday":<#RecentRainToday rc=y>,"rainrate":<#rrate rc=y>,"gust":<#wgust rc=y>,"dew":<#dew rc=y>,"humidity":<#hum>,"windchill":<#wchill rc=y>,"test":<#temp d=1 rc=y>}
All works perfectly but I would need to add more value for my irrigation programm
1) raining now
2) total rain yesterday

Any idea on how I can accomplish it?
How can I see all the data I can transmit through mqtt?

Thank you
Andrea
User avatar
mcrossley
Posts: 12771
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 sending temp and rain of previous days.

Post by mcrossley »

You can use any of the web tags available to put data into your messages. They are detalied here: https://cumuluswiki.org/a/Webtags#Full_ ... _Tag_Names
claustro
Posts: 2
Joined: Thu 13 Jan 2022 9:47 am
Weather Station: PCE-FWS 20N
Operating System: Windows 10

Re: MQTT sending temp and rain of previous days.

Post by claustro »

Thank you very much for your help !
Post Reply