Zigbee2MQTT: How to config it for two CC2531 dongles

My Hardware is RPi 4 + CC2531 dongle.
Software is latest HA + Mosquito MQTT Brocker + Zigbee2MQTT
I successfully control my Gledopto RGB and IKEA bulbs using first CC2531 dongle.
But now I want to add one more CC2531 dongle to control Livolo switches.
“These devices can only be used on channel 26. These devices are locked to the manufacturer’s network key (ext_pan_id)” see https://www.zigbee2mqtt.io/devices/TI0001.html
Please advise how to config zigbee2mqtt to create two networks.
Thanks in advance.

My current zigbee2mqtt config with one CC2531 dongle looks like this:
{
“data_path”: “/share/zigbee2mqtt”,
“devices”: “devices.yaml”,
“groups”: “groups.yaml”,
“homeassistant”: true,
“permit_join”: false,
“mqtt”: {
“base_topic”: “zigbee2mqtt”,
“server”: “mqtt://core-mosquitto:1883”,
“user”: “mqtt-user”,
“password”: “mqtt-user”
},
“serial”: {
“port”: “/dev/ttyACM0”
},
“advanced”: {
“pan_id”: 6754,
“channel”: 11,
“network_key”: [
1,
3,
5,
7,
9,
11,
13,
15,
0,
2,
4,
6,
8,
10,
12,
13
],
“availability_blacklist”: []
},
“ban”: [],
“whitelist”: [],
“queue”: {},
“socat”: {
“enabled”: false,
“master”: “pty,raw,echo=0,link=/dev/ttyZ2M,mode=777”,
“slave”: “tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5”,
“restartdelay”: 1,
“initialdelay”: 1,
“options”: “-d -d”,
“log”: false
}
}

Easiest would probably be to run a second zigbee2mqtt instance (eg docker container) and have that push to the mqtt broker.

1 Like

I just googled it :slight_smile:
But I’m not very familiar with Linux and inner side of Home Assistant. Could you please to direct my attention what to read to implement your idea?

Well, it’s nothing to do with Home Assistant :wink:

Zigbee2MQTT’s own documentation covers things like the Docker install, though you could just install Z2M to a folder other than /opt/zigbee2mqtt

FYI, they also have their own forum where you might find folks who know Z2M better than the folks here. It’s not a terribly active forum though, so their Discord server may end up being a better bet.

1 Like

For that moment thanks to all of you guys. I got new direction to dig :slight_smile:
I’ll report my solution in here.

Hello, did you resolve it?

Still shortage of time :frowning:
not yet

You could use z2m and z2m-edge both configured to use different serial port