https://github.com/iotdomain/openzwave
Openzwave publisher for iotdomain message bus
https://github.com/iotdomain/openzwave
iot iotdomain openzwave
Last synced: 5 months ago
JSON representation
Openzwave publisher for iotdomain message bus
- Host: GitHub
- URL: https://github.com/iotdomain/openzwave
- Owner: iotdomain
- License: mit
- Archived: true
- Created: 2020-08-11T17:32:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T17:40:06.000Z (over 5 years ago)
- Last Synced: 2023-03-21T20:40:01.038Z (about 3 years ago)
- Topics: iot, iotdomain, openzwave
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenZwave publisher on the IoTDomain
This publisher brings zwave devices to the IoTDomain. It uses the openzwave library and the goopenzwave package to interface with the library.
## Dependencies
1. Openzwave-1.5
The openzwave library can be installed via a package manager or from source. The easiest is to use a package manager, although most are not up to date and are missing information on newer devices. Installing from source might not be for everyone though.
On Ubuntu:
$ sudo apt install libopenzwave libopenzwave-dev
2. goopenzwave from https://github.com/jimjibone/goopenzwave
This library provides the golang interface to openzwave. It is pulled in automatically by go.mod and requires libopenzwave-dev to be installed.
$ go dep ensure installs the OpenZWave adapter from https://github.com/jimjibone/goopenzwave
This assumes that the openzwave configuration is in /etc/openzwave or /usr/local/etc/openzwave. This path can be changed in the openzwave.yaml config file.
## Configuration
See iotdomain's config/openzwave.yaml for the configuration options. This publisher runs out of the box with most zwave USB controllers.
## Todo
1. Update the value of pushbuttons AddNode, RemoveNode, Healnetwork while the process is running.
2. Get neighbours. This needs an update to goopenzwave