Page 1 of 1

MQTT sending temp and rain of previous days.

Posted: Thu 13 Jan 2022 10:00 am
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

Re: MQTT sending temp and rain of previous days.

Posted: Thu 13 Jan 2022 3:19 pm
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

Re: MQTT sending temp and rain of previous days.

Posted: Thu 13 Jan 2022 5:16 pm
by claustro
Thank you very much for your help !