All binary sensors are unavailable

Hello,

I already tried looking through the forums but didn’t find any solution. All my binary sensors for my zigbee2mqtt devices are unavailable. All devices are online in zigbee2mqtt dashboard. The state also correctly reflects when I open or close the windows.

I have added this to my configuration.yaml after looking at another post in the forum.

mqtt:
  discovery: true
  broker: 192.168.x.x
  birth_message:
    topic: 'hass/status'
    payload: 'online'
  will_message:
    topic: 'hass/status'
    payload: 'offline'

I have also created an automation to restart zigbee2mqtt on HA startup.

alias: Restart zigbee2mqtt after HA restart
trigger:
  - platform: homeassistant
    event: start
condition: []
action:
  - service: hassio.addon_restart
    data:
      addon: 45df7312_zigbee2mqtt
initial_state: true

These are the versions I’m running -

Home Assistant 2022.8.5
Supervisor 2022.08.3
Operating System 8.4
Frontend 20220802.0 - latest
Zigbee2MQTT Current version: 1.27.0-1
Mosquitto broker Current version: 6.1.2

My entire alarm system is broken because of this. It happened in the last couple of days and I’m not able to figure out what caused this.

Any help would be very much appreciated! Thank you!

It may be related to https://github.com/home-assistant/core/issues/76732

Have a look at this - https://github.com/Koenkk/zigbee2mqtt/issues/13382

Thanks for the replies.

I managed to somehow resolve this by going to
Settings → Integrations → Mosquitto Broker → Configure → Re-configure MQTT.

It started working fine after this.

1 Like