Mosquitto broker hass.io add-on vs sensors

Hello,
I have installed hass.io (docker on rp3, 0.84.6) and really like the idea of integrated add-on. I have enabled original Mosquitto broker add-on according to the guideline /https://www.youtube.com/watch?v=JskHgGsbWeI/, but what I am missing there is example how to link this broker with sensor. Broker seems to be working /verified by mqtt.fx/, but no sucess to get data inside HA.

Does somebody has example of working configuration? What am missing is linking a topic inside this integrated add-on. I have configured topic homeassistant on my espeasy.

Thanks a lot!

BR,
P.

configuration example:
` # sensors

  • platform: mqtt
    name: Living room humidity
    state_topic: “homeassistant/sensor_w1/temperature_w1/Humidity”
    device_class: humidity
    unit_of_measurement: “%”
    icon: mdi:home `

From memory ESPeasy automagically places a backslash at the start of the state topic.

Have you confirmed that the state topic is correct ?

Hi,
thanks for a tip. The rootcause was little bit different but finally get it working :)!

The ESPeasy need to have configured OpenHUB mqtt and slighly modified configuration see screen below. It works finally!

!


official guideline / see end of the page