mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-09 13:31:41 +00:00
Show how to also get network key without re-pairing device (#1035)
* Show how to also get network key without re-pairing device * Update how_to_sniff_zigbee_traffic.md
This commit is contained in:
committed by
Koen Kanters
parent
314ab1b705
commit
ecf1b9ded4
@@ -42,7 +42,11 @@ Add the Trust Center link key by going to to Edit -> Preferences -> Protocols ->
|
||||
|
||||

|
||||
|
||||
Next we need to figure out the network encryption key. The network encryption key is exposed when a device joins the network. Pair a new device to the network (or repair an existing one) and grab the message where the Info is *Device Announcement....*. Open the message and expand *ZigBee Network Layer Data* -> *ZigBee Security Header*.
|
||||
Next we need to figure out the network encryption key. There are two ways to do this:
|
||||
|
||||
1) By default, if you haven't changed `network_key` in your `configuration.yaml` this will be `01:03:05:07:09:0B:0D:0F:00:02:04:06:08:0A:0C:0D`. If you changed your `network_key`, then convert each number into its 2-digit hexadecimal value, and combine them all with `:` between. E.g. `[1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]` -> `01:03:05:07:09:0B:0D:0F:00:02:04:06:08:0A:0C:0D`
|
||||
|
||||
2) If you don't want to manually translate the numbers, the network encryption key is also exposed when a device joins the network. Pair a new device to the network (or repair an existing one) and grab the message where the Info is *Device Announcement....*. Open the message and expand *ZigBee Network Layer Data* -> *ZigBee Security Header*.
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user