-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathREADME
91 lines (57 loc) · 2.53 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
OZWCP is largely unmaintained, getting occasional bug fixes only. If anybody is
interested in maintaining it please let us know. There is a new OZW GUI being
developed in ozw-admin repository that should replace the functionality of
OpenZWave Control Panel.
Update 29 July 2019
Bugfix for groups, build detection macOS versus linux, can build inside or
outside of open-zwave directory
OVERVIEW
The OpenZWave Control Panel (ozwcp for short) is an application built on
the OpenZWave library https://github.com/OpenZWave/open-zwave that permits
users to query, manage and monitor Z-Wave nodes and networks. It provides a
web based user interface using AJAX principles.
OpenZWave Control Panel was updated in 2019 to support OpenZWave 1.6
(being master branch at that time)
A feature lacking from OZW 1.6 is "Bitfields".
INSTALLATION
The web server is based on GNU's libmicrohttpd library available at
https://www.gnu.org/software/libmicrohttpd/
Debian based system:
apt-get install libmicrohttpd-dev
Mac using Homebrew:
brew install libmicrohttpd
If you build libmicrohttpd from source you can use the --enable-messages
configure option for debugging.
Install Option 1 - outside of OZW folder.
First (shallow) git clone OpenZWave and build it
git clone --depth 1 https://github.com/OpenZWave/open-zwave
cd open-zwave/
make
Then:
cd ..
git clone --depth 1 https://github.com/OpenZWave/open-zwave-control-panel
cd open-zwave-control-panel/
make
Install Option 2 - in OZW folder
This was the only option before the 29 july 2019 update... Like option 1,
but clone the ozwcp repo in the OZW folder.
There is no need to edit the Makefile, the OS and path is detected automatically.
Currently Windows is not supported.
OPERATION
ozwcp currently runs from the command line and takes two flags:
-d for debugging
-p <portnum> port number the web server will listen on
Default port is 8090
Once started, connect to the hostname:postnum that ozwcp is running on
using a web browser and you will get to the user interface.
ozwcp currently must be run from within its distribution directory. It
serves files that must be present for it to work properly. You may need to
run it as root depending on the port number you use.
CAVEATS
This was build as a proof of concept and is "quite usable" for diagnosis and
setting stuff...
Please report bugs to the OpenZWave google groups mailing list:
http://groups.google.com/group/openzwave.
NOTE
The html/javascript tooltip support came from:
http://sixrevisions.com/tutorials/javascript_tutorial/create_lightweight_javascript_tooltip/