Low Transmission Power

Đang mở
#446 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
221
Fork
104
Merge trung bình
5 ngày 15 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của zigpy/bellows

Tất cả issue của zigpy/bellows

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.