Zigbee 2 MQTT Issue

Hi,
been triying to connect to my infrared blaster via zigbee 2 mqtt. Unfortunately that doesn’t start properly, gives me an “Error while starting zigbee-herdsman” message in the log and won’t load the Z2M User Interface.

Config:

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: true
mqtt:
  server: mqtt://core-mosquitto:1883
  user: [myuser]
  password: [mypswd]
serial:
  port: /dev/ttyACM0
  adapter: deconz

My Mosquito config:

logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto

and a million lines of this in the mosquito log:

023-06-04 09:12:00: Client <unknown> closed its connection.
2023-06-04 09:14:00: New connection from 172.30.32.2:50444 on port 1883.
2023-06-04 09:14:00: Client <unknown> closed its connection.
2023-06-04 09:16:00: New connection from 172.30.32.2:60914 on port 1883.
2023-06-04 09:16:00: Client <unknown> closed its connection.
2023-06-04 09:18:00: New connection from 172.30.32.2:60754 on port 1883.
2023-06-04 09:18:00: Client <unknown> closed its connection.
2023-06-04 09:20:00: New connection from 172.30.32.2:55316 on port 1883.
2023-06-04 09:20:00: Client <unknown> closed its connection.
2023-06-04 09:22:00: New connection from 172.30.32.2:35508 on port 1883.
2023-06-04 09:22:00: Client <unknown> closed its connection.
2023-06-04 09:24:00: New connection from 172.30.32.2:49074 on port 1883.
2023-06-04 09:24:00: Client <unknown> closed its connection.
2023-06-04 09:24:36: Saving in-memory database to /data//mosquitto.db.

Any Ideas what it could be? My Zigbee USB stick works fine to communicate with other zigbee devices.

That is Supervisor checking if Mosquitto is still alive.

These 2 quotes seem to conflict :

Are you trying to use ZHA and Zigbee2MQTT with the same stick at the same time ? or Deconz and Zigbee2mqtt with the same stick at the same time ?

1 Like

I only have one Conbee II stick. Are you saying I cannot use it for zigbee and zigbee2mqtt at the same time?

No you can’t. Only one Zigbee stack can access the serial port at the same time. You will need 2 sticks if you want to use both ZHA and Zigbee2mqtt at the same time.

2 Likes

oh no, that sucks! I have over 16 devices connected via the ConbeeII ZHA Automation, disabled it temporariliy and could connect to the Zigbee2MQTT IR Blaster without problems. Any suggestions how I can use both, my existing Zigbee lights and the/any IR Blaster with just one Zigbee USB Stick?
So are there f.x. IR Blasters that are compatible with ZHA?
Or can I relearn all devices to work via Zigbee2MQTT?

You can pair them all to Zigbee2Mqtt

1 Like