Security classes and S2
10 min Read in this browser
You will be able to
- Choose the right security class for a device
- Find and use a device's DSK
Adding a device to a Z-Wave network is called inclusion; removing it is exclusion. During inclusion the device is given keys for one or more security classes, which decide whether its traffic is encrypted and how much it is trusted.
| Class | Use for |
|---|---|
| S2 Access Control | locks, garage door openers: anything that opens the home |
| S2 Authenticated | most modern sensors, switches and plugs |
| S2 Unauthenticated | S2 devices that can't show or verify a PIN |
| S0 (legacy) | old locks and openers that need encryption but can't do S2 |
| None | other old devices with no S2 support |
Grant the classes the device asks for: a lock asks for Access Control.
The DSK and the PIN
Every S2 device has a DSK (device-specific key), printed on the device and its box, often as a QR code. During an S2 Access Control or Authenticated inclusion, the controller asks for the first five digits of the DSK (the PIN, usually underlined). Typing it proves the device on the bench is the one joining, not a neighbour's.
Why S0 is a last resort
S0 encrypts too, but it has two weaknesses:
- it hands the network key over protected only by a well-known temporary key, so anyone listening during inclusion can capture it;
- every command costs extra messages, so a handful of S0 devices slow a busy network down, and S0 inclusions time out more often.
Use S0 only for an old lock or garage door opener that needs encryption and can't do S2. Other old devices are better included without security.
SmartStart
SmartStart devices can be added before they are powered: scan the QR code into the controller's provisioning list, and the device joins with the right keys, with no PIN to type, as soon as it is powered on in place. It is the easiest way to add devices that end up behind a wall plate, and the way Long Range devices are always added.
Z-Wave
A low-power mesh network for home devices, on its own band below 1 GHz (868 MHz in Europe, 908 MHz in North America), away from Wi-Fi.
Inclusion
Adding a device to a Z-Wave network. It is given the network's keys for the security classes you grant.
Exclusion
Removing a device from whatever Z-Wave network it belonged to, so it can join another. Any controller can do it.
S2
Z-Wave's modern security: encrypted traffic, with three classes (Access Control, Authenticated, Unauthenticated) that decide how much a device is trusted.
S0
Z-Wave's older encryption, only for locks and openers that can't do S2. Every command costs extra messages, so a few S0 devices slow a busy network down.
DSK
A Z-Wave S2 device's key, printed on its label and box. Its first five digits are the PIN you enter during inclusion.
SmartStart
Adding Z-Wave devices by scanning their QR code first: the controller then includes each one on its own when it is powered.
Z-Wave Long Range
A Z-Wave mode where devices talk straight to the controller over a much longer range, without the mesh. It needs an LR controller and LR devices, added with SmartStart.
Go further on selorahomes.com
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.