I am just starting to build myself a Zigbee2Mqtt net.
I am using a Sonoff Dongle Plus E and I just have 2 devices connected. A smart power strip and a Smart button.
Now that I kind of understand how the process goes, I want to start adding ZigBee routers (Sonoff Mini ZB) and for this, after searching and reading I decided that, since I am in Germany channel 25 is the best one to coexist with my Wifi (and neighbor’s wifi) network.
The Zigbee2Mqtt documentation says that I can define the Channel using
advanced:
channel: 25
I have done that and restarted Zigbee2Mqtt but I see in the logs that the default channel (11
) is still being used:
[09:06:04] INFO: Preparing to start...
[09:06:04] INFO: Socat not enabled
[09:06:05] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-02-26 09:06:07: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-02-26 09:06:07: Logging to console and directory: '/config/zigbee2mqtt/log/2023-02-26.09-06-07' filename: log.txt
Zigbee2MQTT:debug 2023-02-26 09:06:07: Removing old log directory '/config/zigbee2mqtt/log/2023-02-22.12-12-25'
Zigbee2MQTT:info 2023-02-26 09:06:07: Starting Zigbee2MQTT version 1.30.1 (commit #unknown)
Zigbee2MQTT:info 2023-02-26 09:06:07: Starting zigbee-herdsman (0.14.89)
Zigbee2MQTT:debug 2023-02-26 09:06:07: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":"HIDDEN","networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"ezsp","path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20221029100418-if00"}}'
Zigbee2MQTT:info 2023-02-26 09:06:11: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2023-02-26 09:06:11: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}'
Zigbee2MQTT:debug 2023-02-26 09:06:11: Zigbee network parameters: {"channel":11,"extendedPanID":221,"panID":6754}
My configuration file looks like this:
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: false
mqtt:
base_topic: zigbee2mqtt
user: mqtt_user
password: my-password-here
server: mqtt://my-server-here:1883
serial:
port: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20221029100418-if00
adapter: ezsp
advanced:
channel: 25
Is there something more I need to do? what I am missing?
Thanks!