Mqtt not loaded, how to access mqtt data

Hallo, here comes a newbee’s question:

I installed the HA system to get the State of Charge (SoC) of my car’s traction battery while loading it. For this reason I installed the mqtt broker add-on and the mqtt Explorer add-on.

An OBD device in my car sends mqtt topics to the broker. In the mqtt explorer I can see the messages. But it is strange that the device overview says that the mqtt add-on is not loaded (“nicht geladen” in the screenshot). If it is not loaded how can the explorer show topics? And how can I remove this state of the mqtt broker?

Resulting from here arises my basic question. I don’t find any possibility to access the SoC payload to use it in an automation, script or scene. All articles I found in the web only show how to implement mqtt values but nowhere I find anything about how to access them. Maybe I can’t find them as entity because of the same reason like for the “not loaded”-message and it is not available yet.

Can somebody help me to get out of this situation?

Screenshot with 3 windows attached

I find from time to time the browser doesn’t keep in sync with the AddOn’s state. Try refreshing the browser to see what happens. Otherwise take a look a the AddOn’s logs to see what they say.

You’ve created a sensor which should have the name sensor.soc. In UI->DevTools->States do you see this sensor, and does it have a state value? You would use this sensor in an automation.

That’s my problem, I do not see it. But you write: UI->DevTools->States, I cannot reproduce that, maybe becaus I have a german UI. I am searching here:


Am I searching at the right place? I would call it (translated) UI->settings->Dev’s and services->entities. Or am I wrong here, than please help me with a screenshot.
Thank you so far
Micha

additional, as a new member here I can attach only one Picture. Before coming to the window shown in the screen above, I go through here:

and related to the logs:
I cannot find any entity related to the mosquito broker, I only see mosquito broker update logs but the broker is up to date, ver. 6.4.1

This is a different place, but its OK as it does show you all your sensor entities. (BTW Dev tools would be “Entwicklerwerkzeuge”)

I don’t see a sensor.soc. I think the configuration.yaml for needs adjusting. Take a look at mqtt sensor

mqtt:
  blah blah
  sensor:
    - sensor1 stuff
      blah blah
    - sensor2 stuff
      blah blah

That was the reason, now it works and I see the sensors.
… and I’ve learned that Dev in Dev Tools relies to Developer and not to Device :slight_smile:
Thank you for the help