Discovery of MQTT

Hi,
I am using the latest version of HA and HassIO with RP3. I installed Mosquitto broker and can see my Tasmota Sonoff devices connected and also HA.
I don’t see but I can’t see the sonoffs in the integration and as a entinty under HA.

any idea what could be the problem?
the log for Mosquitto is

I’m rather new to this too… so apologize if you know this. Did you enable “SetOption19” on your Sonoff Tasmota devices?
Info --> https://github.com/arendst/Sonoff-Tasmota/wiki/Home-Assistant
This seems to work well for me. Devices show up almost immediately in HA (e.g., https://192.168.1.xxx:8123/states).
image

thanks it didn’t work. I used manual configuration instead.

@Ophir_Fux
What did you use for manual config? I got mine to work with the auto config “SetOption19” but I wanted to change to manual so that I understood how it was working. I can’t get the manual settings to work.
I have it set like this
light:

  • platform: mqtt
    name: “Basement 2”
    command_topic: “Basement2/POWER”
    state_topic: “Basement2/STATE”
    brightness_command_topic: “Basement2/Dimmer”
    brightness_state_topic: “Basement2/STATE”

I also tried with
light:

  • platform: mqtt
    name: “Basement 2”
    command_topic: “cmdn/Basement2/POWER”
    state_topic: “stat/Basement2/STATE”
    brightness_command_topic: “cmdn/Basement2/Dimmer”
    brightness_state_topic: “stat/Basement2/STATE”

neither seem to work.

That’s why you dont see them in the integration.

I used the manual approach after giving up the automatic option.

I used:

switch:

  • platform: mqtt
    name: “Sonoff power”
    state_topic: “sonoff/stat/RESULT”
    value_template: “{{ value_json.POWER }}”
    command_topic: “sonoff/cmnd/POWER”
    availability_topic: “sonoff/tele/LWT”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    payload_available: “Online”
    payload_not_available: “Offline”
    retain: false

I changed the order of prefix/topic because my sonoff configuration was in different order.

So, dumb question… where do you put this "switch: " stuff in the previous post? configuration.yml? I suspect this is qhy the mqtt add-on is seeing my four sonoff basic’s, but HA never sees the devices??

very frustrated because there isn’t one post out there that explains how to do this well.

help…thanks all.