Need help for Energy Sensor over MQTT

I tried to add the Hichi-Smartmeter IR Reader to HA but I failed. The EDL21 does not deliver any values.

Therefore I used iobroker to read the IR Reader and distribute the values over MQTT. This does work so far, with this addition to the configuration.yaml.

Unfortunately the sensors are not available in the Energy Dashboard.

#---Add Smartmeter MQTT
mqtt:
    sensor:
    - state_topic: 'iobroker/smartmeter/0/1-0:0 0 9  255/value'
      name: "Smartmeter.DeviceID"
    - state_topic: 'iobroker/smartmeter/0/1-0:1 8 0  255/value'
      name: "Smartmeter.Bezug.total"
      device_class: energy
      state_class: total_increasing
      icon: "mdi:counter"
      unit_of_measurement: 'kWh'
    - state_topic: 'iobroker/smartmeter/0/1-0:2 8 0  255/value'
      name: "Smartmeter.Abgabe.total"
      device_class: energy
      state_class: total_increasing
      icon: "mdi:counter"
      unit_of_measurement: 'kWh'

Any ideas what I did wrong

How long have you waited? It takes a while for relevant entities to show on the energy dashboard.

I would say no waiting time. But I checked again this minute and I still cannot select the entities.
But I received the current values from the energymeter with HA.

I tried the “utility-meter” integration, but this is also resulting a Warning, the entity is not provided by the integration utility-meter anymore.

I guess I got it solved.
Developer Tools → Statistics
The entities for the smartmeter had an issue. The “fix” button showed the unit was " " and was corrected to “kWh”. Afterwards both entities showed up in the energy dashboard and delivering values.

Hi there,
I habe the same/or related problems.
ioBroker to MQTT works fine
On HA I installed the MQTT Integration.
I configured my MQTT-Broker and recived the values from it when I start listening to #.
After that I added the lines from #querys and Chancen it to my own settings but nothing happend.
I can see the sensors under the statistics with no issues.
I can use the entities on the electic dashboard but it only says There are no data available.

Has anyone any idea what I‘m doing worng?

Sorry for my bad english…

Benedikt ließt sich deutsch, ich Probier es mal der Einfachheit so.

Es scheint mir so als würdest du keine Daten senden. Hast du mal den MQTT Explorer ausprobiert? Der zeigt dir alles an was gerade gesendet wird. Kommen in HA Daten an? Die kannst du dir unter Entwicklerwerkzeuge— Zustände auch mal ansehen. Wenn dort leer ist dann stimmt was mit den MQTT Einstellungen nicht.
Funktioniert der simple Test in der Integration MQTT (Core-mosquitto) — auf Thema hören (Test/Test/Test) und dann veröffentlichte)Test/Test/Test und unter payload irgend was schreiben. Und dann mal berichten