Selora Homes Selora Homes Academy

Security classes and S2

10 min

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.

Check yourself Single answer

A Z-Wave garage door opener with a DSK label asks for S2 Access Control, S2 Authenticated and S2 Unauthenticated. Which do you grant?

Not graded: try as often as you like.

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.

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.