The router broadcast address 0xFFFC is not a group addres, but a "regular" address. Setting the destinationAddressMode to GroupAddress caused the message to not be broadcastet and permit joining was only enabled on the coordinator. This caused mainly the issue that joining a network would not work if the coordinator is out of reach. In addition to that, there are quite a bit of end devices out there which behave badly in finding new parents and will stick to the node they joined in the first place forever, causing them to have bad signal if further away from the coordinator, even though there would be routers with much better LQI. Additionally it fixes a permit joining issue in the TI backend which would prevent a call to setPermitJoining(0) to explicitly allow joining only on the coordinator. The change of radius from 10 to 30 probably isn't needed for 99% of the networks, however, it may still help for that one percent that does indeed have a network depth of > 10. Looking at other implementations out there, 30 seems to be the common sense.
nymea-zigbee
This repository contains the nymea-zigbee library and tools.
nymea-zigbee is a general purpose ZigBee coordinator library to build ZigBee coordinators/gateways. The provided zigbee-cli is a minimal ZigBee coordinator implementation which allows to host a ZigBee network for devices to join and interact with each other but without interacting with the devices.
For a full fetaured ZigBee coordinator/gateway implementation based on this library, please see https://github.com/nymea/nymea.
Supported ZigBee adapters
TI z-Stack
All USB and serial port adapters based on the Texas Instruments CC1352/CC2652 chipset are supported, provided they are flashed with the z-Stack coordinator firmware.
Pre-built binaries of the firmware are provided by Koenkk: https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator
NXP
The following NXP chip based adapters are supported, provided they are flashed with the nymea coordinator firmware found in this repository.
- JN5168 (SoM)
- JN5169 (USB Stick)
deCONZ
All deCONZ based adapters are supported, with the standard firmware preinstalled. It is recommended to update to the latest firmware.
- ConBee
- RaspBee
- ConBee II
- RaspBee II
Hidden base groups
Each sensor/remote cluster will be bound automatically to the sensors group in order to receive commands from the device. The lights group can be used to switch all lights within the network with one command.
- Sensors:
0xfff0 - Light:
0xfff1