-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not send data/control end device after connect to a router #1090
Comments
@ptvoinfo could this be a bug in the router firmware? |
@Koenkk I also build my own router firmware base on TI samplelight and sampleswitch project. Any device could be a router too. |
This also occur with xiaomi wall switch and plug. |
@Koenkk I guest that zigbee2mqtt or zigbee-sepherd send the packet (on/off command) not work when end device reconnect to the router or when the router reconnect to the coordinator. We may use broad cast send with end device. I will check zigbee-sepherd api. @kirovilya Do you have any idea? |
@dzungpv Hmm, strange. I saw this with xiaomi plug. It was treated by turning off and turning on the plug. |
@kirovilya I don't know what you mean send a reset when adapter start. You reset the coordinator or the router? How you do that? |
@dzungpv I mean this signal https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/zigbee.js#L81 at coordinator. Some routers at this time re-pairing with the coordinator |
@kirovilya But we must allow_to_joint with soft reset? |
@dzungpv no |
@Koenkk can you check this? |
@dzungpv no, I will add this. |
check first :) |
@dzungpv implemented, please check https://github.com/Koenkk/zigbee2mqtt/tree/fix/240_mac_expired |
@Koenkk I will try, but this is an Zigbee 1.2 issue, we must migrate to 3.0 to solve the problem: |
did this change have any effect, or is 3.0 the only solution? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am running the latest release version 1.1.1 and the edge version.
Coordinator is CC2530+CC2591 firmware version: '20190109'.
Step to produce bug:
First connect a zigbee end device (ZED) (custom hardware running on cc2630 chip using TI sample switch , send report state each 1 minute) to coordinator (ZC) directly. Now it could be control normally with on/ off. turn on/off the ZED or ZC not affect.
Now connect 1 CC2530 router running SampleLight project or ptvoinfo firmware to the network.
two of them work normally. Now turn off the ZC for 5 minute, ZED will find the router and connect to it.
And then turn on the ZC. From that moment the ZED switch could not control any more, it show:
Please note that from an CC2531 sniffer the network still running normally, ZED could send report each minute and zigbee2mqtt show it:
But turn off the router, ZED can be control normally
Logs: https://pastebin.com/iZKBimxX
This bug prevent me to use any router to extend the network. Also cause the Livolo switch could not use any router and may be issue with control it as mention here #592
The text was updated successfully, but these errors were encountered: