Skip to content

Conversation

@puddly
Copy link
Collaborator

@puddly puddly commented Sep 29, 2022

Once zigpy/zigpy#1043 is merged and a new zigpy version is released this PR can be merged.

Prior to this change, broadcast was not implemented in zigpy-zigate. It should be functional now that the correct address mode is implemented, but it is not: the packet is correctly sent with the appropriate address mode and a non-zero radius, but I cannot see it with a sniffer.

This has the unfortunate side effect of not allowing you to permit joins through any device other than the coordinator.

@pipiche38

@zigbeefordomoticz
Copy link

zigbeefordomoticz commented Sep 30, 2022 via email

@pipiche38
Copy link

@puddly the PR is posted nearly since a year but unfortunately not taken in consideration
fairecasoimeme/ZiGate#385

Anyhow Zigate is providing a direct API for Permit to join

@puddly
Copy link
Collaborator Author

puddly commented Sep 30, 2022

Anyhow Zigate is providing a direct API for Permit to join

It provides an API but the only effect I am seeing is it opening joins on the coordinator (i.e. the network beacon's permit bit is 1). There is no broadcast to other routers to also permit joins.

Regardless, this is a ZiGate firmware problem, not something I can solve in software.

@pipiche38
Copy link

pipiche38 commented Sep 30, 2022

If you use the ZiGap command, depending of the Mask this will broadcast to others or not. I'm using it even to open the network only from one network

Drop 3.7 from CI
@puddly puddly merged commit 308b64e into zigpy:dev Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants