MQTT - No discovery

Bonjour, :wave:

I installed Home Assistant for the first time yesterday. I’m not used to it sorry :confused:

Installed with Docker.

privileged: true
network_mode: host

I have already a home automation system working on my network. Jeedom, and zigbee2mqtt (2.6.3) / mosquitto (2.0.22), since few years.

In HA, MQTT integration, I configured that I think right. I receive respond message successfully.

But, no entry . Nothing. After one night, not yet discovery.

In integrations settings, when I tried to listen topic, It works.

And I can write in topic and see homeassistant topic to be sure with mqtt ACL.

I tried to add new device from zigbee2mqtt, It works in zigbee2mqtt, but not appears in HA.

I tried in zigbee2mqtt > settings > interface, I remove url and restart, does not work better.

My zigbee2mqtt config:

homeassistant:
  enabled: true
  status_topic: homeassistant/status
  discovery_topic: homeassistant
  experimental_event_entities: false
  legacy_action_sensor: false
availability:
  enabled: true
mqtt:
  base_topic: zigbee2mqtt
  server: '!mqtt_secrets.yaml server'
  user: '!mqtt_secrets.yaml user'
  password: '!mqtt_secrets.yaml password'
  keepalive: 60
  reject_unauthorized: true
  version: 4
serial:
  port: /dev/ttyACM0
  adapter: ember
frontend:
  enabled: true
  port: 8080
  host: 0.0.0.0
  auth_token: XXXXXXXXXXXXXXX
advanced:
  log_level: error
  log_syslog:
    app_name: Zigbee2MQTT
    eol: /n
    host: localhost
    localhost: localhost
    path: /dev/log
    pid: process.pid
    port: 514
    protocol: udp4
    type: '5424'
  last_seen: ISO_8601_local
version: 4

In zigbee2mqtt > settings > Home Assistant integration, i tried to change discovery topic, but I got:

[11/11/2025 10:17:51] frontend:api:bridge: Sending {"topic":"bridge/request/options","payload":{"options":{"homeassistant":{"discovery_topic":"homeassistant"}},"transaction":"0srn7-1"}}

[11/11/2025 10:17:51] z2m: Request 'zigbee2mqtt/bridge/request/options' failed with error: 'Extension with name HomeAssistant already present'

This morning, I installed HA on Rpi4 with official image. I installed integration, re-configured and unfortunately I don’t see any device appear in HA.

If you have an idea.

Thanks!

:sos:

Did you enable discovery in HA’s mqtt integration?

Yes.

Enable by default I think.

Zigbee2mqtt only sends discovery messages on startup. Did you try a restart already?

Done.

No discovery. :disappointed_relieved:

Solved!

user zigbee2mqtt
topic readwrite zigbee2mqtt/#
++topic readwrite homeassistant/#

I forgot to add ACL rights to user zigbee2mqtt in mosquitto.

Thanks @francisp to tried to help me.

1 Like