MQTT explorer no message read

Good morning,
I have some shellys installed in HA and they work but I don’t see them in the integrations.
I downloaded mqtt explorer but I can’t see any message when I connect.
Explorer connects to HA’s mqtt but shows no message.
Do I need to implement something in the configuration of HA or what else?
Thanks, Alberto

You need your Shellys to talk to your MQTT broker

More information would be helpful…

Can you please let us know:

Is MQTT setup in your configuration.yaml, add-on, integration screen, etc.
Are your shelly’s using cloud or disabled, and setup to send MQTT (I don’t think they do by default).
How did you setup your shelly’s in HA - please include the configuration.yaml code.

There few items to start will help people on the forum to help you.

Cheers!
DeadEnd

Yes
I control my shelly with mqtt

Ok
I use mqtt broker addon in HA
In configuration.yaml I have insert:

cover:
- platform: mqtt
  name: Tapparella cucina
  command_topic: "shellies/shellyswitch25-XXXXXX/roller/0/command"
  position_topic: "shellies/shellyswitch25-XXXXXX/roller/0/pos"
  set_position_topic: "shellies/shellyswitch25-XXXXXX/roller/0/command/pos"
#  availability_topic: "shellies/shellyswitch25-XXXXXX/online"
  payload_available: "true"
  payload_not_available: "false"
  qos: 1
  retain: false
  payload_open: "open"
  payload_close: "close"
  payload_stop: "stop"
  position_open: 100
  position_closed: 0
  optimistic: false

- platform: mqtt
  name: Tapparella sala
  command_topic: "shellies/shellyswitch25-XXXXXX/roller/0/command"
  position_topic: "shellies/shellyswitch25-XXXXXX/roller/0/pos"
  set_position_topic: "shellies/shellyswitch25-XXXXXX/roller/0/command/pos"
#  availability_topic: "shellies/shellyswitch25-XXXXXX/online"
  payload_available: "true"
  payload_not_available: "false"
  qos: 1
  retain: false
  payload_open: "open"
  payload_close: "close"
  payload_stop: "stop"
  position_open: 100
  position_closed: 0
  optimistic: false

In the first cover I see position,and button up/stop/down Ok
In the second cover I not see position and button /up/stop/down always enabled though the shutter is all down or all up

On the integrations page I see only one of the two shelly 25 installed
But both work even if I don’t have the open / close percentage of the second one I installed

Well initially everything looks pretty good.
Based on your comment that they are working, I assume MQTT is setup correctly on the shelly’s.

So maybe we can try to get the explorer working…
You said it connects to your HA MQTT broker but you don’t get any messages?
What topic are you subscribed to?

As a test subscribe to “#” (without the quotes).
This should get all messages (hopefully you don’t have to many MQTT devices yet).
Then from within HA go to the DEV-TOOLS → MQTT and publish something.
Make sure that whatever you published appears in the MQTT explorer.

If that test works, then trigger your shelly covers and see what appears in MQTT explorer.

Cheers!
DeadEnd

OK?

I didn’t say you didn’t. I said make sure your Shellys are configured to talk to your MQTT broker (the same one that HA is using)

Bah … I don’t understand why I couldn’t see anything from the laptop.
However now I have tried on another pc and it seems to work.
The only thing I don’t understand is because in HA I see only one of the two shellys !!

Can we assume that XXXXXX is different for each device? You aren’t naming the topic the same?

Yes, all shellys in HA have different XXXXXX :blush: