ioBroker / ioBroker.zwave

Legacy Z-Wave integration using OpenZWave
Other
24 stars 7 forks source link
home-automation iobroker smarthome zwave

Logo

ioBroker zwave Adapter

Number of Installations Number of Installations NPM version Downloads

NPM


WARNING: This adapter is no longer maintained!

The main developer of OpenZWave has announced that he'll focus on other things from now on. As a result, OpenZWave and this adapter won't get any updates going forward.

Solution: Use ioBroker.zwave2 instead.

Note: If you are going to switch to ioBroker.zwave2, be aware that the state IDs will change. It is recommended that you use the ioBroker alias function instead of the adapter's IDs in scripts and visualizations so you can change them all in one place instead of having to edit many things.


Zwave support with openzwave.

For this adapter is used rather good supported npm module: https://github.com/OpenZWave/node-openzwave-shared You should find out what the name has USB port of the Z-Wave stick and setup it in the adapter settings.

Important Information

Installation

First of all, Implementation is tested only on ARM Linux (e.g. Raspberry Pi (2)). You need a fully Development Environment (gcc, make,...)

Install additional packages

On some systems it will be necessary to install additional packages. Therefore run the following on the console before installing the adapter:

apt-get install pkg-config libudev-dev build-essential curl unzip

Raspberry Pi3 only: Activate GPIO UART

On Raspberry Pi 3, the UART is by default occupied by the bluetooth module. To activate it for use with a GPIO module, follow these steps:

  1. sudo nano /boot/cmdline.txt

    1. remove console=serial0,115200
    2. save the file and close it
  2. sudo nano /boot/config.txt
    Look for each of the following lines. If they are commented out with a #, remove that. If they don't exist, add them to the end of the file:

    • dtoverlay=pi3-miniuart-bt
    • enable_uart=1
    • force_turbo=1
  3. reboot

First start

The GPIO module usually has an address like /dev/ttyAMA0 or /dev/ttyACM0. The USB stick can be found under /dev/ttyUSB0 or /dev/ttyUSB1.

Known issues

If you get the following (or similar) error after starting the adapter

libopenzwave.so.1.4: cannot open shared object file: No such file or directory

you can fix it by running

sudo ldconfig

or

sudo ldconfig /usr/local

or

sudo ldconfig /usr/local/lib64

If all of those commands don't work, the following process might:

  1. sudo nano /etc/ld.so.conf.d/zwave.conf

    1. enter /usr/local/lib64
    2. quit the editor with CTRL+X, confirm with Y to save the changes
  2. sudo ldconfig

Configuration

Within Admin Settings you can set following Attributes

admin-settings

Logfiles / Configuration Settings

If you have installed iobroker into default Folder:

Device add or remove

If you add or remove a device, it takes 60 seconds. Then the page is automatically reloaded.

If you change the Name or Location, it takes 5 seconds. Then the page is automatically reloaded.

Features

Within OpenZWave Configurator you can see all Nodes and their classes.

Following Actions are current supported (only with context menu):

Following global Actions are current supported:

Todo

ZWave Specific

Global

Tested Hardware

ZWave

Fibaro

Danfoss

Changelog

2.0.1

2.0.0

1.7.2

1.7.1

1.7.0

1.6.3

1.6.1

1.6.0

1.5.1

1.5.0

1.4.2

1.4.1

1.4.0

1.3.2 (2018-11-28)

1.3.0

1.2.0 (2018-07-25)

1.1.0 (2018-05-01)

1.0.0 (2018-01-31)

0.9.0 (2017-10-28)

0.8.0 (2017-07-12)

0.7.0 (2017-07-12)

0.6.0 (2017-05-01)

0.5.2 (2017-04-05)

0.5.0 (2017-01-08)

0.4.4 (2016-11-27)

0.4.3 (2016-11-26)

0.4.2 (2016-11-15)

0.4.1 (2016-11-14)

0.4.0 (2016-11-01)

0.2.5 (2015-12-21)

0.2.4 (2015-12-05)

0.2.3 (2015-11-11)

0.2.2 (2015-09-28)

0.2.3 (2015-11-11)

0.2.2 (2015-09-28)

0.2.1 (2015-08-24)

0.2.0 (2015-08-05)

0.1.0 (2015-01-03)

0.0.9 (2014-11-22)

0.0.8 (2014-10-31)

0.0.6 (2014-10-30)

0.0.3 (2014-10-30)

0.0.2 (2014-10-28)

License

Copyright (c) 2014-2019 bluefox dogafox@gmail.com, husky-koglhof husky.koglhof@icloud.com

SOFTWARE NOTICE AND LICENSE

OpenZWave is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenZWave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with OpenZWave. If not, see http://www.gnu.org/licenses/.