Low Transmission Power

未关闭
#446 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

The issue says TxPower is hard coded to 8 and points to CONF_NWK_CHANNEL as a configuration example, but names no files or tests. Read the code that sets TxPower and trace how CONF_NWK_CHANNEL is exposed through configuration. Done means determining whether 8 is the maximum and, if not, making transmission power configurable through the same path.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Python
星标
221
派生
104
平均合并
5 天 15 小时
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

zigpy/bellows 的其他 Issue

查看 zigpy/bellows 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。