I need the DSK of the Z/IP Gateway in order to include it into an existing Z-Wave network. How do I retrieve the DSK from the Z/IP Gateway?
Answer
The DSK can be found in the log of the Z/IP Gateway. However, notice you will find 2 different DSKs in the log:
Dynamic ECDH Public key
Static ECDH Public Key
The Dynamic key is used when including a new node into the Z/IP Gateway network. The dynamic key will change after each inclusion.
The Static key is the DSK of the Z/IP Gateway, and this is the key you need to include the Z/IP Gateway into another network with. This is typically needed during certification of a new Z-Wave Controller.
Run the command below on the target, to examine the logfile in runtime.
$ sudo tail -f /tmp/zipgateway.log
Then instruct the Z/IP Gateway to enter learn mode. The Static ECDH Public Key is printed in the log.
If developing a Z/IP Client or Z-Ware client, you can also read out the DSK and print the information on the GUI for the user. In the example below, we are using the Z-Ware Web Sample Application to set the Z/IP Gateway into learn mode, and print the DSK in the GUI.
When the DSK is known, it can be entered into the including controller; In this example we are using the PC Controller.
When the DSK in entered, the include process starts and the Z/IP Gateway is included after a short while.
Gateway: How do I retrieve the DSK?
Question
I need the DSK of the Z/IP Gateway in order to include it into an existing Z-Wave network. How do I retrieve the DSK from the Z/IP Gateway?
Answer
The DSK can be found in the log of the Z/IP Gateway. However, notice you will find 2 different DSKs in the log:
The Dynamic key is used when including a new node into the Z/IP Gateway network. The dynamic key will change after each inclusion.
The Static key is the DSK of the Z/IP Gateway, and this is the key you need to include the Z/IP Gateway into another network with. This is typically needed during certification of a new Z-Wave Controller.
Run the command below on the target, to examine the logfile in runtime.
Then instruct the Z/IP Gateway to enter learn mode. The Static ECDH Public Key is printed in the log.
If developing a Z/IP Client or Z-Ware client, you can also read out the DSK and print the information on the GUI for the user. In the example below, we are using the Z-Ware Web Sample Application to set the Z/IP Gateway into learn mode, and print the DSK in the GUI.
When the DSK is known, it can be entered into the including controller; In this example we are using the PC Controller.
When the DSK in entered, the include process starts and the Z/IP Gateway is included after a short while.
Related KBs
Secure S2 DSK
Gateway: Where to find the Security Keys?