MQTT Sensor Data Extration

I am using GoveetoMQTT to connect to two air purifiers and a humidifier. I am trying to use some cards I found for these devices, however, I am running into an issue where the sensor data displays {“value”:42} for the filter life percentage and {“value”:4} for the air quality. I am unsure how to extract the 42 to display on the card. I am pretty new to all this, so I apologize if it has been answered before or if this is a simple process. I wasn’t quite sure how to search for this specific instance.
Thank you!

Show us the full jason string then we be able to help you more

here this mite help

Where can I find that?

Find what ???

you need the topic path

also get MQTT Explorer that come your best friend


This is what I find under that specific sensor. Is this what you would need?

Thats what we want to see

  - name: "Bla-Bla Its name"
    state_topic: "copy the topic here that big long test bottom of page"
    value_template: "{{value_json['value'] }}"  #, <= think this is right 
    unit_of_measurement: ""

next you be asking where do i put

in the MQTT section under the sensors: bit

mqtt:
  sensors:
      - name: "Bla-Bla Its name"
        state_topic: "copy the topic here that big long test bottom of page"
        value_template: "{{value_json['value'] }}"  #, <= think this is right 
        unit_of_measurement: ""

not the spacing could be off

1 Like

Thank you so much!

All good bro

MY BILL is you must help some else in here