Z-Wave – Basics of wireless technology for the smart home

Bridging Unreachable Distances

Depending on the nature of the house, the Z-Wave signal between the transmitter and receiver can traverse a number of rooms. The range varies, depending on the version of the device and thickness of the walls to be crossed, and is usually around 30 to 100 feet. Z-Wave's proprietary mesh network allows greater distances to be bridged, however. In addition to their primary tasks as switches or sensors, many Z-Wave devices also act as routers for other signals that a controller wants to send to recipients that are out of range.

For this to happen, the controller tells the devices to locate and report their neighbors during initialization. If the controller then wants to send a message to one of these devices later on, but can't because of the limited range, it sends a packet with the routing information to the device that previously reported this neighbor. The device then forwards the package, on the basis of the received routing table, to the target, which can subsequently communicate back to the controller along the same path in the opposite direction (Figure 4).

Figure 4: The controller cannot reach the slave, but a third Z-Wave device acts as a router and enables a communication path.

Based on this procedure, Z-Wave builds a mesh network between the devices that can dynamically adjust its routes in case of an error. Each device on the network receives its own node ID; all the devices in a home are grouped under a home ID. This means that a particular device knows with certainty that a packet whizzing around in the ether is intended for it, and not for another node on the mesh network.

Power Supply

Z-Wave devices come in three different categories in terms of the power source and corresponding performance profiles. Devices with a steady power supply via a socket outlet permanently listen for wireless signals and process them immediately on receipt. They therefore often provide router functions for other devices in the mesh.

In the case of battery-powered devices (e.g., door locks), this is not easily possible if you want the battery to last for a reasonable amount of time. The device wakes up at regular intervals, checks for radio signals in the air, and then starts to decode and possibly process them.

The third category includes devices, such as remote controls, that do absolutely nothing in idle mode and only wake up and send signals at the push of a button. They are not usually reachable for a controller in the opposite direction.

Regional Differences

The release of radio spectra is subject to the control of national governments, so Z-Wave devices operate on different frequencies depending on the country. For example, Z-Wave devices in the United States send on 908.4MHz, whereas devices in Germany use 868.4MHz. Although a transmitter and a receiver from the same country will work elsewhere, the combination cannot be legally operated on an unapproved frequency. Instead, users need to purchase devices with the certified frequencies for their countries.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Z-Wave Home Assistant

    Z-Wave components, a RaZberry module, and the free Home Assistant software make the Raspberry Pi a powerful smart home control center.

  • Home Assistant with MQTT

    Automating your four walls does not necessarily require commercial solutions. With a little skill, you can develop your own projects on a low budget.

  • Programming Snapshot – Power Outages

    A power failure can cause the IQ of a smart home to plummet suddenly. An emergency power supply and a script on the SmartThings platform can prevent a total outage and inform the owner. The polyglot Perlmeister embarks on a foray into the territory of the Groovy scripting language in this issue.

  • ioBroker + Rasp Pi

    Control devices from different manufacturers of home automation devices from a single interface by combining free software and a Raspberry Pi.

  • Wave

    Part email, part instant messenger, part bulletin board, and part wiki, Google’s new communication platform promises to transform correspondence into conversation.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More