Skip to main content

iRidi for Z-Wave

How iRidi Server accesses a Z-Wave wireless network

Documentation updated 01.01.2024

Note

The following can work with Z-Wave networks:

  • HS Server with a Z-Wave stick.

  • iRidi Server UMC C3 with a built-in Z-Wave module* or a ZME-UZB1 USB stick.

      • discontinued.
  • iRidi Server RPi and Windows computers running iRidi Server, using a Z-Wave ZME-UZB1 USB stick. More information about the USB stick is available here.

Support is planned for Linux computers running iRidi Server with Z-Wave/USB adapters.

Attention

iRidi Server does not support all Z-Wave devices and functions. The "Working with commands and feedback"
section provides information about the supported Z-Wave classes.

Advantages​

The Z-Wave wireless network was developed specifically for home automation.

Z-Wave devices:

  • Can exchange information at distances of up to 30 meters (under ideal conditions, with a clear line of sight between them).
  • Consume very little power and can run on ordinary batteries. No electrical wiring is required to create a smart home.
  • Can form mesh networks: devices can communicate both directly and through intermediate Z-Wave devices, called repeaters, to bypass obstacles and dead zones. Data transmission routes can change in real time depending on the electromagnetic environment. This improves the reliability of radio communication.

Many smart devices with a Z-Wave interface are available on the market. Developers can connect all these devices to the unified iRidi platform.

Adding devices to the network​

Unlike a wired network, a wireless network requires virtual connections between devices. In a Z-Wave network, this is implemented using NodeID identifiers. iRidi Server stores a list of all wireless devices and their identifiers.

  1. Power on the UMC C3 server with a Z-Wave module, or connect a Z-Wave/USB adapter to your controller or computer running iRidi Server. Install the adapter driver according to its operating manual.

  2. Sign in to the server web interface.

  3. Open the Z-Wave tab.

ZWave_web01.png 4. Click Change port (No port)

ZWave_change_port0001_1.png

In the window that opens, enter the name of the port to which the Z-Wave USB stick is connected

ZWave_change_port2.png

Note

Z-Wave on a UMC C3 with a built-in Z-Wave module uses port /hal/zwt_m3.

You can identify the port as follows:


For Linux : * Disconnect the USB stick from the server if it is connected * Start Putty and enter the following in the command line: ls /dev


A list of all ports with connected devices appears

ZWave_change_port3.png

Connect the USB stick to the server and enter the command again: ls /dev


A new port name appears in the list

ZWave_change_port4.png

This is the required port name. In this example: /dev/ttyUSB0


For HS Server :

  • Disconnect the Z-Wave stick from the server if it is connected.
  • Start Putty and enter the following in the command line: ls /dev. A list of all ports with connected devices appears.
  • Connect the Z-Wave stick to the server and enter the command again: ls /dev.

A new port name appears in the list.

Z-Wave_HSS.png

This is the required port name. In this example: /dev/ttyACM0


For Windows

  • Connect the USB stick
  • Open Device Manager and find your USB stick. The name of the port to which it is connected appears in parentheses after its name. In this example: COM7

ZWave_change_port5_1.png

  1. Click Add, enter a name for the device being added, and click ADD.

ZWave111.png

ZWave_web02(1).png

  1. The server scans the radio channel for 20 seconds. During this time, perform the required physical actions on the wireless device being added. Typically, you need to press the button on the device three times. (Read the operating manual for your device to find out exactly which actions are required.)

  2. The device is added to the list and receives a NodeID identifier. Add as many devices as your network requires.

ZWave_web11111.png

  1. Network creation is now complete. Export the data for the created network as an .xml file by clicking Export.
Note

To remove devices from the network, click Delete. Then press the button on the device being removed three times (or perform the corresponding action described in its manual). After removal, it is recommended to turn off the removed device or take out its battery, because many Z-Wave device models attempt to reconnect to the wireless network.

Working in iRidi Studio​

Adding the Z-Wave Network driver​

  1. Create a server project in iRidi Studio. Click the file import button and select ZWave (*.xml).

Z-Wave1.png

  1. The driver and all its devices appear in the project's driver tree.

Z-Wave2.png

  1. You can change device names (Name); names in iRidi Studio can differ from those in the server web interface. The other parameters are locked for editing.

Working with commands and feedback channels​

Configure control of wireless devices using commands and feedback.

For details:

The supported Z-Wave device classes and their commands and feedback are described below.

Supported Z-Wave functions​

Supported functions:

  • multichannel devices.

Not supported:

  • associations (direct linking of Z-Wave devices),
  • scenes.

Battery​

ParameterTypeValueDescription
Get state (Battery)CommandAny valueRequest the battery charge level. The command may not execute immediately.
State (Battery)FeedbackFrom 0 to 100255 - low battery warningBattery charge level

Binary sensor​

ParameterTypeValueDescription
Get state (Binary sensor)CommandAny valueRequest the sensor state
State (Binary sensor)Feedback0 or 1Sensor state

Binary switch​

ParameterTypeValueDescription
Set state (Binary switch)CommandOFF - 0, ON - from 1 to 99Set the switch state
State (Binary switch)Feedback0 or 1Switch state

Central scene​

ParameterTypeValueDescription
CountFeedbackValueDisplays the number of presses on scene buttons.
ReleasedFeedbackValueNumber of the released button.
Held DownFeedbackValueNumber of the held button.
PressedFeedbackValueNumber of the pressed button.

Color switch​

ParameterTypeValueDescription
Set Warm White (Color switch)CommandFrom 0 to 255Set the white level
Get Warm White (Color switch)CommandAny valueRequest the white level
Set Red (Color switch)CommandFrom 0 to 255Set the red level
Get Red (Color switch)CommandAny valueRequest the red level
Set Green (Color switch)CommandFrom 0 to 255Set the green level
Get Green (Color switch)CommandAny valueRequest the green level
Set Blue (Color switch)CommandFrom 0 to 255Set the blue level
Get Blue (Color switch)CommandAny valueRequest the blue level
State Warm White (Color switch)FeedbackFrom 0 to 255White value
State Red (Color switch)FeedbackFrom 0 to 255Red value
State Green (Color switch)FeedbackFrom 0 to 255Green value
State Blue (Color switch)FeedbackFrom 0 to 255Blue value

Multilevel sensor​

ParameterTypeValueDescription
Get stateCommandAny valueRequest the sensor state
StateFeedbackDepends on the deviceSensor state

Multilevel switch​

ParameterTypeValueDescription
Set levelCommandFrom 0 to 99Set the level
Get levelCommandAny valueRequest the level
LevelFeedbackFrom 0 to 99Level

Meter​

ParameterTypeValueDescription
GetCommandAny valueRequest the value
StateFeedbackDepends on the deviceValue

Thermostat​

ParameterTypeValueDescription
Set mode by nameCommandHeat
Cool
Fan
Dry
Auto Changeover
Set the thermostat mode by name
Set mode by IDCommandValueSet the thermostat mode by name
Set StateCommandValueSet the mode temperature (Cooling, Dry Air, Heating, Auto Changeover)
Get ModeCommandValueRequest the mode
Get StateCommandValueRequest the mode temperature (Cooling, Dry Air, Heating, Auto Changeover)
Set on by IDCommandValueTurn on the fan by ID
Set on by nameCommandAuto Low
Low
Auto High
High
Auto Medium
Medium
Circulation
Left right
Quiet
Up down
Humidity circulation
Enable the fan mode by name
Set off by IDCommandValueTurn off the fan by ID
Set off by nameCommandAuto Low
Low
Auto High
High
Auto Medium
Medium
Circulation
Left right
Quiet
Up down
Humidity circulation
Disable the fan mode by name
Mode TextFeedbackValueMode name
Mode ValueFeedbackValueMode value
State (Setpoint)FeedbackValueSetpoint value
State TextFeedbackValueFan mode name
State ValueFeedbackValueFan mode value

Testing​

The Z-Wave driver currently supports UMC C3 with a Z-Wave module, as well as RPi and Windows computers running iRidi Server with a Z-Wave ZME-UZB1 USB stick.

Using iRidi Server as a Z-Wave hub​

To use iRidi Server UMC, RPi, or NUC as a Z-Wave hub for communication with Z-Wave equipment, all you need to do is connect a Z-Wave ZME_UZB1 USB stick to iRidi Server and communicate with the Z-Wave network directly.

You can purchase the Z-Wave ZME_UZB1 USB stick at this link. UZB is available in three versions, depending on the transmission frequency used:

  • ZMEEUZB: version for all frequencies around 868 MHz (EU, Russia, India, China - EU by default)
  • ZMEAUZB: version for all frequencies around 921 MHz (Australia, Brazil, Japan, Korea - Australia / Brazil by default)
  • ZMEUUZB: version for all frequencies around 908 MHz (USA, Israel - USA by default)

Select a distributor in your region based on your location.

Important

A USB stick without a Z-Wave license is sufficient for use with iRidi Server

For more information about technical data and the various operating frequencies, please refer to the UZB manual.


The recommended retail price of the Z-Wave ZME_UZB1 USB stick (without a Z-Wave license) is 3 050 rubles.


For further questions, contact our technical support team at support@iridiummobile.ru.