MQTT and Ai on the edge

Hello everyone,

I’ve been trying to connect my “AI on the Edge” to my Home Assistant via MQTT for a week now, but unfortunately it doesn’t work as described in the tutorials. I can see both the Home Assistant and the electricity meter via the MQTT explorer. I can add a sensor manually (which is quite tedious), but it cannot be integrated in the energy dashboard, only in the normal dashboard.

In the tutorials, all possible sensors have automatically appeared in Home Assistant, but unfortunately not in my case, and I just can’t get any further.

Many thanks and best regards
Fabian

Please translate your post to English. Thank you.

Did you actually enable HA discovery in AI on edge?

Yes, it is already activated. As I said, I can read out the sensors if I add them manually via yaml. But adding them all automatically does not work

Did you use, e.g., MQTT Explorer, to confirm the discovery topics are actually there?

(your root topic should be called “homeassistant”, likely)

Yeah, you mean this? Do I have to write this value somewhere in the yaml or somewhere else?

Then, unless you changed your discovery topic, I’m clueless

.storage/core.config_entries:

image

I have found the solution! I used a letter on the ESP that mqtt couldn’t do anything with (e.g. ö, ä and ü). I have now changed this letter and suddenly all the sensors were available.
Thanks anyway, have a nice day!