Low Transmission Power

Abierto
#446 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
221
Forks
104
Merge medio
5 d 15 h
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de zigpy/bellows

Todos los issues de zigpy/bellows

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.