ZigBee Binding: how to set zigbee_channel?

Hi, I have problems changing the zigbee channel of my Ember Coordinator SONOFF ZBDongle-E 3.0. I created it through a definition in the thing file as you can see below. Everything works fine except that the value of the zigbee_channel does not change. It is still using channel 11? What can I do?

Thing zigbee:coordinator_ember:540b219d61 "Ember Coordinator" [zigbee_port="/dev/ttyACM0",  
                                                          zigbee_channel=20,
                                                          zigbee_baud=115200,               
                                                          zigbee_concentrator=1,             
                                                          zigbee_flowcontrol=2, 
                                                          zigbee_meshupdateperiod=86400, 
                                                          zigbee_childtimeout=1800,      
                                                          zigbee_panid=XXX,
                                                          zigbee_extendedpanid="XXX", 
                                                          zigbee_networkkey="XXX", 
                                                          zigbee_linkkey="XXX",
                                                          zigbee_networksize="25",
                                                          zigbee_powermode=1, 
                                                          zigbee_txpower=0]

Thanks :slight_smile:

Hmmm… This is a “problem” with using text config files. Configuration changes in the binding are handled by the binding receiving a config update, however this won’t ever happen when you’re using text files to configure the system.

You could try using the console command openhab:zigbee channel 20 which ought to directly configure this.

Alternatively, you could reinitialise the coordinator… Note that if you change the channel on an operational system, some devices may get lost - it will depend on how well they have been designed if they can find the network again…

Great, thank you for your fast response! It works!

openhab> openhab:zigbee channel 20**
Channel set to CHANNEL_20 completed with state SUCCESS**

Now I will try to get the devices to work.

1 Like