Energy dashboard with MQTT Topics

Hello everyone,

i´m 4 weeks into HA by now and I finally managed to get EVCC running for charging with PV for my car.

In my house there is a Growatt Inverter and battery system installed. All of my power entities are available through MQTT. I can see them in the MQTT explorer.

What i want to do now is to setup the Energy dashboard. At this point my problem is, that if I start the UI to configure f.e. the external energy (first step) I don´t get any of my MQTT entities in the drop down for selection.

How do I have to edit my configuration.yaml or anything else to get access to these MQTT entities?

Any hints or tips are highly appreciated :slight_smile:

Here´s a screenshot of my MQTT explorer:

Kind regards,
Stubbi

Do you already have entities in HA. If not you have to create sensors. But I can’t help with just a screenshot, I need the text of both the topic and the value.

Hi Francis,

thanks for your reply. Sorry for beeing such a noob with HA but I´m willing to learn :slight_smile:

I will show you an example of an value, that i can see in MQTT explorer:

I have a topic (JSON) in energy/solar/“OutputPower”: 4302
Is that what I need to creat a sensor f.e. for the current power that is used?
Or if I should have an sensor already, where could I find that one?

Sorry again for beeing that blind right now.

Thanks!

Not totally clear, put based on the little you told. Put this in configuration.yaml and restart HA

mqtt:
  sensor:
    - name: "Solar Output Power"
      state_topic: "energy/solar"
      value_template: '{{ value_json.OutputPower }}'
      unit_of_measurement: 'W'
      unique_id: "solar_output_power"