Skip to content
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

how make the ZNP security disable #1126

Closed
King-anderson opened this issue Feb 19, 2019 · 8 comments
Closed

how make the ZNP security disable #1126

King-anderson opened this issue Feb 19, 2019 · 8 comments

Comments

@King-anderson
Copy link

Hi friends,
I want to add a device to the zigbee2mqtt. the device security capability is on "no security" but the ZNP sends the security key. how can I set the ZNP of zigbee2mqtt to disable security.

log_ir transmitter.zip

@King-anderson
Copy link
Author

today, I've changed bdb configuration in the ZNP source code then change back to the default value. now, the issue is solved and I dont know why the ZNP dont send correct frame. you can see the "transport key" frame sent from ZNP to the device

old (when I faced the issue)
image

as you see, the source IEEE address is 00:00:00:00:00:00:00:00 which is incorrect and the aps frame hasn't auxheader.

new (the issue is solved)
image

as you see. the source IEEE address is correct and it has auxheader.

I dont know why the ZNP doesn't work stable in different times !!

@Koenkk
Copy link
Owner

Koenkk commented Feb 20, 2019

To disable security, you should compile the firmware with https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/firmware.patch#L100 #define SECURE 0.

Good to see that the problem is solved without changing this.

@Koenkk Koenkk closed this as completed Feb 20, 2019
@King-anderson
Copy link
Author

@Koenkk but why isn't it stable? I just change a definition in z-stack source code and change back to default value, and the pairing issue is solves?

@Koenkk
Copy link
Owner

Koenkk commented Feb 21, 2019

I'm not sure, perhaps somebody at the TI forum knows this.

@King-anderson
Copy link
Author

@Koenkk is there any other way to disable security? I want to not transport key to end device. because when I send the key it will reset.

@Koenkk
Copy link
Owner

Koenkk commented Jun 12, 2019

@msadeghz from what I know not, but you should check this on the TI forum (I'm no Z-stack expert).

@King-anderson
Copy link
Author

image
why source address is 00 in transport key message? can't it be resolved?

@King-anderson
Copy link
Author

@Koenkk I've flashed the dongle with the newest version firmware you proposed and the issue is resolved. thank you.

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

No branches or pull requests

2 participants