Setting up a smart home command center with Z-Wave
Registering Z-Wave Devices
It is advisable to set up a password for the administrative user admin on the Z-Wave interface. The system then automatically forwards the user to the initially empty dashboard. The interface speaks English by default, although you can change the language using My Settings.
To teach new devices, you then open the gear menu again and switch to the menu item Devices | Add new. Z-Way lists a number of manufacturers of Z-Wave compatible devices. It is very likely that your device will not be listed; instead, press Add and automatically identify new Z-Wave device at the top of the page.
Now you can put the first Z-Wave device into operation. For example, you can plug a switchable socket into a socket on the wall or insert batteries into a Z-Wave thermostat mounted on a heater. Then switch the device to connection mode. With some products, this happens automatically in the unconfigured state; with others, you have to press a button for a few seconds until a flashing LED signals connection mode. For additional information, see the device's instruction manual of the device.
While the RaZberry module is in teach-in mode, its red LED is lit continuously (Figure 3). The adjacent green LED indicates successful data transmissions to a connected Z-Wave device. As soon as the light indicates success, press Start teach-in (inclusion) in the next dialog and wait until the teach-in process is completed (Figure 4). In Z-Wave jargon, the control center now interviews the device.
In the dialog that follows, you can enter the name of the new device and the designations of the various control variables, sensors, and actuators – with a thermostat, for example, the variables might include the target temperature, the actual temperature, or the brightness of the display lighting (Figure 5). The device can also be assigned to a room if a room has already been defined. However, this assignment can also be defined later.
Dashboard
The Z-Way web interface is divided into four different tabs. Clicking on the house icon takes you to the dashboard, which is still empty in the beginning – more on this later. In the second tab, the Z-Wave devices registered with the system can be sorted by rooms, named as desired, and illustrated with your own photos.
The third tab lists all the actuators and sensors (Figure 6). The gear symbol displayed on each device takes you to the configuration. Here you can hide the device, add it to a room, rename it, or integrate it into the dashboard. This gives you quick access to the most important devices in your home without having to search for a long time. For a better overview, you can sort or filter the list by elements, tags, or chronological order.
The list can be used both to manage the individual devices and to read off their sensor values (such as temperatures or current power consumption) or to control the actuator of the device.
Expert Interface
If the settings options at this point do not meet the requirements, the URL http://RasPi-IP_address:8083/expert will call up an extended user interface (Figure 7). In addition to the individual switching options and sensor data, the user interface offers a great deal of additional information on the integrated devices. This includes, for example, details of the firmware version and the SDK protocol. As a rule, however, the standard interface is sufficient.
The dashboard and the device overview now let you control and read out the integrated Z-Wave devices, but still nothing happens automatically in your house. To set up an automation, you first have to define your own rules or scenarios via the Applications item in the web interface's gear menu and, if necessary, set up external applications.
Z-Way breaks the view down into three tabs: Local contains the existing apps. Below this, the program accepts simple IF/THEN rules, schedules, or actions, such as dispatching email or push messages via external services such as Pushover [7] or Pushbullet [8].
The Server tab contains a kind of app store, which you can use to install further features, including, say, an astronomy module that lets you discover where the sun is in the sky, and control a blind accordingly, and a camera module for the Rasp Pi's webcam. You can also use this tab to update previously installed modules.
Note that both tabs initially list only a few featured apps. A complete overview can be obtained by changing the filter to the right of the search field to All Apps. Clicking on New App lets you set up the selected function. You can add extensions that have not yet been installed to the system by clicking Download.
The best way to explain how the apps work is to use an example: A schedule is created as a new app for time-controlled switching of an electrical socket outlet. In the next dialog, the app is given a name, the weekdays for the action are selected, and finally a time is entered.
After this, you can define actions, such as setting a dimmer, operating a motor, or setting a thermostat. In the case of a power outlet, you simply set the appropriate switch to On or Off. Click Save to complete the configuration. The app should then appear in the Active tab and should switch the device as defined at the appropriate time.
As your home automation system grows, so does the scope of the rules and regulations. Anyone installing many Z-Wave-compatible sensors, such as motion detectors, window and door sensors, brightness and humidity meters, smoke detectors, automated roller shutters, awnings, or even door locks will invest a lot of time in designing the rules. You therefore have the option to save the rules on a computer via the cogwheel menu's Management item and reload them if necessary. The same menu also provides the opportunity to create new users, update the RaZberry's firmware, or remotely access the Z-Way configuration interface.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.