ZWave support for ioBroker based on OpenZWave
npm install iobroker.zwave!Logo
!Number of Installations !Number of Installations 


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.
bash
apt-get install pkg-config libudev-dev build-essential curl unzip
`$3
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
1. save the file and close it2.
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=13. reboot
$3
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.- Go into iobroker admin and add the Zwave Adapter (the installation is rather long, be patient)
- Start the new zwave Adapter instance and select the controller device's address from the dropdown in the admin UI.
- If your device is not detected, check it or try to manually enter its address when the adapter is turned off.
- Wait until the indicator in the "Instances" tab turns green or the message "zwave.0 Scan completed" is found in the iobroker log.
$3
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
1. quit the editor with CTRL+X, confirm with Y to save the changes
1. sudo ldconfigConfiguration
Within Admin Settings you can set following Attributes- USB name (the USB Port of your Z-Wave stick)
- Logging (enable logging to OZW_Log.txt)
- Console Output (copy logging to the console, Logs all to ioBroker.log)
- Save Config (write an XML network layout create a /zwcfg_.xml on linux)
- Driver Attempts (try this many times before giving up)
- Poll Interval (interval between polls in milliseconds)
- Suppress Refresh (do not send updates if nothing changed)
Logfiles / Configuration Settings
If you have installed iobroker into default Folder: - Logfile: /opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/OZW_Log.txt on linux
- Configuration: /opt/iobroker/node_modules/iobroker.zwave/node_modules/zwcfg_.xml on linux
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):
- Set Name and Set Location for Node itself
- Change Value of a class
Following global Actions are current supported:
- Add Nodes
- Remove Nodes
- Refresh Nodes (Refresh Nodes from ioBroker Communication)
Todo
$3
- Scenes
- Group Management
- Polling
- Controller Commands
- Configuration Commands
$3
- Test more Hardware
- Move config and logfile into iobroker default path (/opt/iobroker/log, /opt/iobroker/data/files/zwave)
- Language Support (English, German, Russian)
Tested Hardware
$3
- ZME_UZB1 USB Stick
- RazBerry GPIO Board for RaspBerry (1/2)
$3
- FGBS001 Universal Binary Sensor
- FGS222 Double Relay Switch 2x1.5kW
- FGWPE Wall Plug
- FGSS001 Smoke Sensor
- FGMS001 Motion Sensor
- FGS-223 Double Switch 2
- FGR-222 Roller Shutter 2
- FGDW-002 Door/Window Sensor 2
$3
- Danfoss Living Connect Room Thermostat (type 0003, id 8010)
- Danfoss Z Thermostat 014G0013
Changelog
$3
* (AlCalzone) Removed usage of adapter.objects for compatibility with JS-Controller 3.x
* (AlCalzone) Update dependencies$3
* (cburghardt) Added ldconfig to installation and upgraded openzwave. Fixes #99. If this causes issues, please run the ioBroker fixer first!$3
* (cburghardt) Fixed a crash$3
* (cburghardt) Updated openzwave$3
* (cburghardt) Added multi-instance associations$3
* (cburghardt) Update openzwave version
* (cburghardt) Verify that the correct version of openzwave is installed by checking the manufacturer revision
* (cburghardt) Don't refresh the association menu directly after adding or removing for sleeping devices as it is not updated
* (cburghardt) Add removeFailedNode command$3
* (cburghardt) Fix issues 75 and 76$3
* (cburghardt) Cleanup obsolete states on startup
* (cburghardt) Added confirmation dialog for hard reset
* (cburghardt) Translation fixes
* (cburghardt) Removed non-existing getNeighbors` functionCopyright (c) 2014-2019 bluefox
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