- 
                Notifications
    
You must be signed in to change notification settings  - Fork 95
 
Description
Hi,
I'm using an Eachen (eWelink) Zigbee Bridge Pro ZB-GW03 with syssi EspHome firmware https://github.com/syssi/esphome-zb-gw03  within Home Assistant using the native ZHA integration.
It's working great but looking into HA logs i noticed that the radio module was set with a very low Tx power (8).
2022-01-23 15:49:36 INFO (MainThread) [bellows.zigbee.application] Node type: EmberNodeType.COORDINATOR, Network parameters: EmberNetworkParameters(extendedPanId=3c:08:6f:60:fe:2a:94:60, panId=0x3f21, radioTxPower=8, radioChannel=25, joinMethod=<EmberJoinMethod.USE_MAC_ASSOCIATION: 0>, nwkManagerId=0x0000, nwkUpdateId=0, channels=<Channels.ALL_CHANNELS: 134215680>).
In some HA discussion i saw that some users having the same parameter set to 20. 2021-01-25 09:04:00 INFO (MainThread) [bellows.zigbee.application] Node type: EmberNodeType.COORDINATOR, Network parameters: EmberNetworkParameters(extendedPanId=cc:cc:cc:cc:e3:ab:00:78, panId=0x3498, radioTxPower=20, radioChannel=11, joinMethod=<EmberJoinMethod.USE_MAC_ASSOCIATION: 0>, nwkManagerId=0x0000, nwkUpdateId=0, channels=<Channels.ALL_CHANNELS: 134215680>)
https://community.home-assistant.io/t/zha-zigbee-change-channel/70396/63
Looking trough code i see that TxPower is hard coded with the 8 value. Is it the maximum value?
If not, it would be great if that was possible to configure trough HA like the CONF_NWK_CHANNEL
zha:
zigpy_config:
network:
channel: 15 # What channel the radio should try to use.
channels: [15, 20, 25] # Channel mask