• You've been granted Beta access to this site, allowing you to explore some of the new features while they're still under construction. More information can be found in the Beta forum.

MQTT - HA - CumulusMX Question for 123


Noticed your posts on the Home assistant forums relating to HA-MQTT and CumulusMX.
Here using Cumulus webtags to generate my MQTT stuff and it works fine (work in progress).
Created an MQTT IntervalTemplate text file in CumulusMX that looks like this:

        "topic": "CumulusMX/Interval",
        "data": "{\"time\":\"<#timehhmmss>\",\"battery\":<#txbattery channel=5>,\"pressure\":<#presstrendenglish rc=y>,\"inside-temp\":<#intemp rc=y>,\"temp\":<#temp rc=y>,\"humidity\":<#hum>,\"inside-humidity\":<#inhum>,\"wgust\":<#wgust rc=y>}",
        "retain": true

and edited my HA configuration.yaml file so it looks like this:


- platform: mqtt
    name: "CumulusMX_Interval"
    state_topic: "CumulusMX/Interval"

Using MQTT Explorer and HA I see this:


This is good.  Trying to get individual variables in HA is where I am having issues:
IE:  This does not work for me:


- platform: mqtt
    state_topic: "CumulusMX/Interval:battery"
    name: "Davis ISS Battery"
    unit_of_measurement: ''
    value_template: value_json.battery

What am I doing wrong here?