CumulusMX MQTT change

Looks like Mark has updated CumulusMX MQTT. Could use some assistance please.

Do I need to add anything to my configuration.yaml file to make it work?

My yaml:

  • platform: mqtt
    state_topic: “CumulusMX/DataUpdate”
    name: “Davis Windspeed”
    unit_of_measurement: ‘mph’
    icon: mdi:weather-windy
    value_template: ‘{{ value_json.wspeed }}’

CumulusMX new DataUpdateTemplate.txt file:

{“topics”: [
{
“topic”: “CumulusMX/DataUpdate”,
“data”: ““time”:”<#timehhmmss>",“windspeed”:<#wlatest rc=y>,“winddir”:<#bearing>,“temp”:<#temp rc=y>,“humidity”:<#hum>,“wgust”:<#wgust rc=y>,“dew”:<#dew rc=y>,“wchill”:<#wchill rc=y>,“wspeed”:<#wspeed rc=y>,“press”:<#press rc=y>,“UV”:<#UV>,“SolarRad”:<#SolarRad>,“rfall”:<#rfall>,“rrate”:<#rrate>,“heatindex”:<#heatindex>,“bearing”:<#bearing>,“wchill”:<#wchill>,“forecast”:<#forecastenc>,
“retain”: false
}
]}

Working fine. I missed a couple things at the end: "}"

{“topics”: [
{
“topic”: “CumulusMX/DataUpdate”,
“data”: “{“time”:”<#timehhmmss>",“temp”:<#temp rc=y>,“humidity”:<#hum>,“wgust”:<#wgust rc=y>,“dew”:"<#dew rc=y>",“wchill”:"<#wchill rc=y>",“wspeed”:"<#wspeed rc=y>",“press”:"<#press rc=y>",“UV”:"<#UV>",“SolarRad”:"<#SolarRad>",“rfall”:"<#rfall>",“rrate”:"<#rrate>",“heatindex”:"<#heatindex>",“bearing”:"<#bearing>",“wchill”:"<#wchill>",“forecast”:"<#forecastenc>"}",
“retain”: false
}
]}

Hello,

I am new to cumulus and also on hameassistant.
I got cumulus to send mqtt messages via mqtt, which are picked up bij homeassistant.

Tehe only thing is that the file is only showing ‘time’, ‘temp’, ‘humidity’ and ‘wgust’. All other sensors seem to be ignored.

Can you tell me how to get the info from the other sensors (like rain, extra temp, solar rad)?

Did you get them working?

Hello,

I got at least a kind of solution.
I found the api and with rest in the configuration file I can now get every information out of cumuls.
So without mqtt

Hi @curtiszm,

sorry to bother you with this question, but if possible, I need some help to correctly configure my Home Assistant to show CumulusMX data sent via MQTT.

I have a Davis Vantage Pro 2 weather station connected to an independent Raspberry Pi 3B which runs CumulusMX just updated to the last available version; this system runs from about 16 months.

Only today I decided to try to show the weather data into my Home Assistant which runs on a RPi 4B; MQTT broker is already installed and configured and it works fine with other devices on my home network.

I updated the DataUpdateTemplate.txt file in the CumulusMX RPi with the content you suggest; however if I add the suggested yaml code fragment to my configuration.yaml file, I receive many syntax errors, one for every row following the first.

This is what Home Assistant shows me in a floating window if I try to quick reload the yaml configuration:

Failed to reload configuration

Cannot quick reload all YAML configurations because the configuration is not valid: Integration error: value_template - Integration ‘value_template’ not found. Integration error: name - Integration ‘name’ not found. Integration error: unit_of_measurement - Integration ‘unit_of_measurement’ not found. Integration error: icon - Integration ‘icon’ not found. Integration error: state_topic - Integration ‘state_topic’ not found. Integration error: platform - Integration ‘platform’ not found.

Please, can you guide me to solve this problem?

Did you add this to your configuration.yaml

mqtt:
sensor:
- name: “Cumulus Windspeed”
state_topic: “CumulusMX/DataUpdate”
unit_of_measurement: ‘mph’
icon: mdi:weather-windy
value_template: ‘{{ value_json.wspeed }}’

- name: "Cumulus Windgust"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'mph'
  icon: mdi:weather-windy
  value_template: '{{ value_json.wgustTM }}'
  
- name: "Cumulus WindgustTime"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: ''
  icon: mdi:weather-windy
  value_template: '{{ value_json.TwgustTM }}'
  
- name: "Cumulus WindDirection"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: ''
  icon: mdi:weather-windy
  value_template: '{{ value_json.wdir }}'
  
- name: "Cumulus WindCompass"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: ''
  icon: mdi:weather-windy
  value_template: '{{ value_json.currentwdir }}'
  
- name: "Cumulus Humidity"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: "%"
  icon: mdi:tailwind
  value_template: "{{ value_json.humidity }}"
  
- name: "Cumulus Solar"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'Rad'
  icon: mdi:tailwind
  value_template: '{{ value_json.SolarRad }}'
  
- name: "Cumulus UV"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'Rad'
  icon: mdi:tailwind
  value_template: '{{ value_json.UV }}'

- name: "Cumulus Rain Rate"  
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'In/hr'
  icon: mdi:tailwind
  value_template: '{{ value_json.rrate }}'

- name: "Cumulus Heat Index"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'DegF'
  icon: mdi:tailwind
  value_template: '{{ value_json.heatindex }}'

- name: "Cumulus Windchill"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'DegF'
  icon: mdi:tailwind
  value_template: '{{ value_json.wchill }}'

- name: "Cumulus Rain"
  state_topic: "CumulusMX/DataUpdate"
  unit_of_measurement: 'In'
  icon: mdi:tailwind
  value_template: '{{ value_json.rfall }}'

- name: "Cumulus_Station_Temp"
  state_topic: "CumulusMX/DataUpdate"
  value_template: '{{ value_json["temp"] }}'
  unit_of_measurement: 'DegF'

- name: "Cumulus Wind Direction"
  state_topic: "CumulusMX/DataUpdate"
  value_template: '{{ value_json["bearing"] }}'
  unit_of_measurement: 'Deg'