robin-73 / openzwave-control-panel Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/openzwave-control-panel
Automatically exported from code.google.com/p/openzwave-control-panel
It will be greate to be abbel to start programm on specifique device on the arg.
Something like that :
ozwcp [-d] -p <port> -u <dev>
Join sources with this option.
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 20 Feb 2013 at 9:35
Attachments:
What steps will reproduce the problem?
1. Open ozwcp
2. Add any amount of devices
3. Close ozwcp and close the process
4. Open ozwcp again
5. Initialize
6. See in the log that all devices are recognized which you just added
7. See none in the webpage... and no way to get them back
What is the expected output? What do you see instead?
I expect devices to show up. Always.
What version of the product are you using? On what operating system?
OpenZWave Control Panel v0.2a 8/8/2011
Debian Wheezy on a Raspberry Pi (armhf).
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2012 at 7:18
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Aug 2014 at 10:26
What steps will reproduce the problem?
1.uncomment three line about linux compilation
2.uncomment gnutls lib
3.
What is the expected output? What do you see instead?
No error and compilation succeed.
Please provide any additional information below.
Solution : add "-lgcrypt" at the end of LIBS definition.
LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB) -lgcrypt
Of course, install appropriate packages libgcrypt-devel.
Original issue reported on code.google.com by [email protected]
on 18 Oct 2013 at 10:25
Attachments:
What steps will reproduce the problem?
1.uncomment three line about linux compilation
2.uncomment gnutls lib
3.added -lgcrypt at the end of LIBS definition
What is the expected output? What do you see instead?
Successful compilation. But got the error,
Please edit the Makefile to avoid this error message.
make: *** [defs] Error 1
What version of the product are you using? On what operating system?
I am using v0.2a and using ubuntu 12.04
Original issue reported on code.google.com by [email protected]
on 14 May 2014 at 10:11
What steps will reproduce the problem?
1. AEON USB key (EU version) + FIBARO FGBS001 (EU version)
2. svn checkout + compile for open-zwave & openzwave-control-panel
3. sudo ozwcp -p 55555
4. have chromium open http://localhost:55555
5. initialize /dev/ttyUSB0
6. wait for the devices to be shown as ready + no more exchanges on the log
7. select the FGBS001 device, select configure & press refresh button
8. change any value on any drop-down lists configuration parameter.
9. console shows a "post:..." message, and then ozwcp quits.
What is the expected output? What do you see instead?
Submit the configuration change for the parameter. Instead, the program quits
unexpectedly.
What version of the product are you using? On what operating system?
latest from svn checkout on ubuntu 10.12.
Please provide any additional information below.
Enclosed: screenshot+log file+console output showing the "post:..." message
just before exiting.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2013 at 10:14
Attachments:
i did exactly as follow:
1. sudo apt-get install subversion
*** open-zwave: ***
2. svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave
3. sudo apt-get install libudev-dev
4. user@ubuntu1004desktop:~/open-zwave/cpp/build/linux$ make
*** libmicrohttpd: ***
5. svn checkout https://gnunet.org/svn/libmicrohttpd/ libmicrohttpd - it
doesn't work, since svn doesn't contain all files needed, so download
libmicrohttpd manually from http://freshmeat.net/projects/libmicrohttpd (direct
link - http://freshmeat.net/urls/6aaea0ce4467311c086c225d761fd5fa) and unpack
to libmicrohttpd folder
6. user@ubuntu1004desktop:~/libmicrohttpd$ ./configure
7. user@ubuntu1004desktop:~/libmicrohttpd$ make
*** openzwave-control-panel: ***
8. svn checkout http://openzwave-control-panel.googlecode.com/svn/trunk/
openzwave-control-panel
9. modify openzwave-control-panel Makefile (comment Mac-related lines and
uncomment Linux related)
10. user@ubuntu1004desktop:~/openzwave-control-panel$ make clean
11. user@ubuntu1004desktop:~/openzwave-control-panel$ make
and i get errors to undefined refrence to tinyxml methods, open-zwave is
working well i tested it on MinOZw from examples
Original issue reported on code.google.com by [email protected]
on 15 Feb 2013 at 11:10
In cp.js :
document.getElementById('sucnode').value = '';
Replace by
document.getElementById('sucnodeid').value = '';
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 18 Feb 2013 at 10:13
What steps will reproduce the problem?
1. Add 3 nodes via openzwave-control-panel(besides controller)
2. Adding 4th doesn't work, it gets combined with another node and both are
switched simultaniously.
3. Expected is that last noded is added, however it doesn't show up in
ozw-control-panel, even after closing and initializing again.
What version of the product are you using? On what operating system?
uname -a:
Linux EAUROUGE 3.0.0-12-server #20~lucid1build2-Ubuntu SMP Thu Oct 13 17:40:47
UTC 2011 x86_64 GNU/Linux
Ubuntu Linux 10.04.2
Overview obtained via ozw-control-panel:
1* Static Controller Unknown: id=0086 Unknown: type=0002, id=0001 2:03:51
2 Routing Slave Unknown: id=0060 Unknown: type=0004, id=0002 off 2:05:06
3 Routing Slave Unknown: id=010f Unknown: type=0100, id=0104 0 2:03:53
4 Routing Slave Unknown: id=001e Unknown: type=0002, id=0001 Home 3 2:03:51
openzwave version: Last Changed Rev: 379
openzwave-controlpanel version: Last Changed Rev: 20
Controller used: Aeon Labs Z-stick rev2(1)
Modules used:
1 Everspring 158 plugin module(2)
1 Fibaro FGS211(3)
1 Fibaro FGD211(3)
1 Homeseer HSM100-multisensor(4)
(n) denotes nodenumber.
Please provide any additional information below.
Also worth noting is that naming a node seems to be shifted by one, naming
node2 names node3, naming node3 names node4.
Switching nodes does work as well as setting dimmer-values.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2012 at 8:30
He,
I try to use this programme on raspberry and it work fine.
I would like to do some improvement. How can I send you the modification ?
List URL to be abble to integrate this app with an other application.
Thanks
Thomas
PS : Sorry for my english but I am french.
Original issue reported on code.google.com by [email protected]
on 28 Dec 2013 at 7:04
I have Asus RT-N16 (running on Broadcom 47xx, linux). Trying to cross-compile
that on Ubuntu 10.04 (thru VMWare Player).
What steps will reproduce the problem?
1. Download toochain from
http://code.google.com/p/wl500g/downloads/list?can=3&q=hndtools-mipsel-uclibc-4.
4.6-K26&colspec=Filename+Summary+Uploaded+Size+DownloadCount
2. Add that to the path:
PATH=$PATH:/home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/
3. Install subversion:
sudo apt-get install subversion
4. Checkout all needed files:
svn checkout http://openzwave-control-panel.googlecode.com/svn/trunk/
openzwave-control-panel
svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave
svn checkout https://gnunet.org/svn/libmicrohttpd/ libmicrohttpd
5. Change the Makefile
CC := mipsel-linux-gcc
CXX := mipsel-linux-g++
LD := mipsel-linux-g++
6. Run make:
user@ubuntu1004desktop:~/openzwave-control-panel$ make
linux-mipsel-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
make: linux-mipsel-g++: Command not found
make: *** [ozwcp.o] Error 127
user@ubuntu1004desktop:~/openzwave-control-panel$ make
/home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/linux-mipsel-g++ -c -Wall
-Wno-format -g -DDEBUG -Werror -I ../open-zwave/cpp/src -I
../open-zwave/cpp/src/command_classes/ -I ../open-zwave/cpp/src/value_classes/
-I ../open-zwave/cpp/src/platform/ -I ../open-zwave/cpp/src/platform/unix -I
../open-zwave/cpp/tinyxml/ -I ../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
make: /home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/linux-mipsel-g++: Command
not found
make: *** [ozwcp.o] Error 127
user@ubuntu1004desktop:~/openzwave-control-panel$ make
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o webserver.o webserver.cpp
mipsel-linux-g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o zwavelib.o zwavelib.cpp
mipsel-linux-g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o
../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -framework IOKit
-framework CoreFoundation
mipsel-linux-g++: ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a: No such
file or directory
mipsel-linux-g++: IOKit: No such file or directory
mipsel-linux-g++: CoreFoundation: No such file or directory
make: *** [ozwcp] Error 1
What am I doing wrong?
Original issue reported on code.google.com by [email protected]
on 4 Sep 2011 at 8:49
What steps will reproduce the problem?
I want to define danfoss thermostat set point
My request is :
wget --post-data='3-THERMOSTAT SETPOINT-user-decimal-1-2=15'
http://192.168.1.19:1234/valuepost.html
Nothinks apear.
Have you try to use with this module ?
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 18 Feb 2013 at 10:24
What steps will reproduce the problem?
1. Compile openzwave control panel on raspberry pi
2. start with ./ozwcp -p 55555
3. connect to /dev/ttyUSB21, the location oa my Aeon Z-Stick
What is the expected output?
Should start initialization
What do you see instead?
crashes, see below.
What version of the product are you using? On what operating system?
1.3.112
Please provide any additional information below.
./ozwcp -p 55555
2015-05-30 14:01:58.570 Always, OpenZwave Version 1.3.112 Starting Up
webserver starting port 55555
post: key=dev data=/dev/ttyUSB21 size=13
post: key=fn data=open size=4
post: key=usb data=false size=5
2015-05-30 14:02:16.932 Info, Setting Up Provided Network Key for Secure
Communications
2015-05-30 14:02:16.932 Warning, Failed - Network Key Not Set
2015-05-30 14:02:16.933 Info, mgr, Added driver for controller /dev/ttyUSB21
post: key=usb data= size=0
2015-05-30 14:02:16.949 Info, Opening controller /dev/ttyUSB21
2015-05-30 14:02:16.950 Info, Trying to open serial port /dev/ttyUSB21 (attempt
1)
2015-05-30 14:02:16.958 Info, Serial port /dev/ttyUSB21 opened (attempt 1)
2015-05-30 14:02:16.960 Detail, contrlr, Queuing (Command)
FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2015-05-30 14:02:16.960 Detail, contrlr, Queuing (Command)
FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2015-05-30 14:02:16.961 Detail, contrlr, Queuing (Command)
FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2015-05-30 14:02:16.961 Detail, contrlr, Queuing (Command)
FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2015-05-30 14:02:16.962 Detail, contrlr, Queuing (Command)
FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2015-05-30 14:02:16.963 Error, contrlr, ERROR: Dropping command, expected
response not received after 50 attempt(s)
2015-05-30 14:02:16.963 Detail, contrlr, Removing current message
2015-05-30 14:02:16.963 Error, Node114, ERROR: Dropping command, expected
response not received after 32 attempt(s)
2015-05-30 14:02:16.964 Detail, Node114, Removing current message
2015-05-30 14:02:16.964 Error, Node001, ERROR: Dropping command, expected
response not received after 0 attempt(s)
2015-05-30 14:02:16.965 Detail, Node001, Removing current message
2015-05-30 14:02:16.965 Detail,
2015-05-30 14:02:16.966 Info, Node048, Processing (Command) Encrypted message
(Attempt 50, Callback ID=0x00, Expected Reply=0x07) -
FUNC_ID_SERIAL_API_GET_CAPABILITIES (Node=48): 0x01, 0x03, 0x00, 0x07, 0xfb
2015-05-30 14:02:16.966 Error, mgr, Manager::GetDriver failed - Home ID
0x746e6f63 is unknown
2015-05-30 14:02:16.966 Warning, Exception: Manager.cpp:372 - 100 - Invalid
HomeId passed to GetDriver
2015-05-30 14:02:16.967 Error, mgr, Manager::GetDriver failed - Home ID
0x746e6f63 is unknown
2015-05-30 14:02:16.967 Warning, Exception: Manager.cpp:372 - 100 - Invalid
HomeId passed to GetDriver
Segmentation fault
Original issue reported on code.google.com by [email protected]
on 30 May 2015 at 6:03
Hi,
Is there a documentation about uri avalable and param for URI ?
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 19 Jan 2013 at 4:36
I am trying to compile under ubuntu 11.04 and get the following error:
jaime@jaime-AO532h:~/openzwave-control-panel-read-only$ make
g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I ../open-zwave/cpp/src -I
../open-zwave/cpp/src/command_classes/ -I ../open-zwave/cpp/src/value_classes/
-I ../open-zwave/cpp/src/platform/ -I ../open-zwave/cpp/src/platform/unix -I
../open-zwave/cpp/tinyxml/ -I ../libmicrohttpd/src/include -o webserver.o
webserver.cpp
webserver.cpp: In function ‘int web_send_file(MHD_Connection*, const char*,
int, bool)’:
webserver.cpp:174:23: error: invalid conversion from ‘ssize_t (*)(void*,
uint64_t, char*, size_t)’ to ‘int (*)(void*, uint64_t, char*, int)’
webserver.cpp:174:23: error: initializing argument 3 of ‘MHD_Response*
MHD_create_response_from_callback(uint64_t, size_t, int (*)(void*, uint64_t,
char*, int), void*, void (*)(void*))’
make: *** [webserver.o] Error 1
Original issue reported on code.google.com by [email protected]
on 23 Aug 2011 at 9:09
Makefile
It will be great to have in make file this line :
CC := $(CROSS_COMPILE)gcc
CXX := $(CROSS_COMPILE)g++
LD := $(CROSS_COMPILE)ld
AR := $(CROSS_COMPILE)ar rc
RANLIB := $(CROSS_COMPILE)ranlib
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 20 Jan 2013 at 8:57
What steps will reproduce the problem?
make
What is the expected output? What do you see instead?
webserver.o: In function `Webserver::SendTopoResponse(MHD_Connection*, char
const*, char const*, char const*, char const*)':
/root/openzwave-control-panel/webserver.cpp:333: warning: the use of `mktemp'
is dangerous, better use `mkstemp' or `mkdtemp'
../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a(internal.o): In function
`MHD_monotonic_time':
/root/libmicrohttpd/src/daemon/internal.c:164: undefined reference to
`clock_gettime'
collect2: ld returned 1 exit status
make: *** [ozwcp] Erreur 1
What version of the product are you using? On what operating system?
r37
Thanks a lot for help
Thomas
Original issue reported on code.google.com by [email protected]
on 15 Jan 2013 at 9:07
What steps will reproduce the problem?
1. checkout latest openzwave from svn
2. checkeout latest openzwave-control-panel from svn
3. run "make" in openzwave-control-panel folder
What is the expected output? What do you see instead?
It's expected, that project is compiled successfully and "ozwcp" executable
file is created. Instead compilation is aborted on linker step.
What version of the product are you using? On what operating system?
URL: http://open-zwave.googlecode.com/svn/trunk
Repository Root: http://open-zwave.googlecode.com/svn
Repository UUID: db0adee0-878e-11de-bed6-6d316fbe0868
Revision: 903
Node Kind: directory
Schedule: normal
Last Changed Author: [email protected]
Last Changed Rev: 903
Last Changed Date: 2014-09-14 21:00:11 +0200 (Sun, 14 Sep 2014)
URL: http://openzwave-control-panel.googlecode.com/svn/trunk
Repository Root: http://openzwave-control-panel.googlecode.com/svn
Repository UUID: 45ec40ab-35f4-8ce3-9c7d-be537e79909c
Revision: 40
Node Kind: directory
Schedule: normal
Last Changed Author: [email protected]
Last Changed Rev: 40
Last Changed Date: 2014-06-18 13:21:14 +0200 (Wed, 18 Jun 2014)
Compilation is done on a RaspberryPi with Rapbian OS.
Please provide any additional information below.
Solution for "...undefined reference to...":
in Makefile change LIBZWAVE path from "$(OPENZWAVE)/cpp/lib/linux/*.a" to
"$(OPENZWAVE)/cpp/build/*.a" and add to LIBS list " -lrt
Original issue reported on code.google.com by [email protected]
on 25 Sep 2014 at 12:59
What steps will reproduce the problem?
This is when I make openzwave-control-panel
What is the expected output? What do you see instead?
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o
webserver.o: In function `Webserver::SendTopoResponse(MHD_Connection*, char
const*, char const*, char const*, char const*)':
/root/openzwave-control-panel/webserver.cpp:333: warning: the use of `mktemp'
is dangerous, better use `mkstemp' or `mkdtemp'
ozwcp.o: In function `MyNode':
/root/openzwave-control-panel/ozwcp.cpp:83: undefined reference to
`OpenZWave::Log::Write(OpenZWave::LogLevel, char const*, ...)'
......
collect2: ld returned 1 exit status
make: *** [ozwcp] Erreur 1
What version of the product are you using? On what operating system?
r36
Y am the same user witch open then 8 ticket.
Thanks a lot.
Thomas
Original issue reported on code.google.com by [email protected]
on 15 Jan 2013 at 6:50
Attachments:
Shout Control Panel see the device I've connected?
I run Ubuntu 10.04 thru VMWare Player. I've enabled usage of the USB device
(Aeon Lab USB Stick 2) in VMWave Player (Virtual Machine - Removable Devices -
cygnal integrated cp2102 usb to uart bridge controller). But Control Panel
doesn't see that (I've marked USB and pressed Initialize), the Log shows:
2011-09-04 18:00:55:286 Driver for controller HID Controller removed
2011-09-04 18:02:49:001 Added driver for controller HID Controller
2011-09-04 18:02:49:011 Opening controller HID Controller
2011-09-04 18:02:49:012 Open HID port HID Controller
2011-09-04 18:02:49:025 Cannot find specified HID port with VID:1b5f and
PID:0x0001.
2011-09-04 18:02:49:027 Enumerating connected HIDs:
2011-09-04 18:02:49:037 Failed to open HID port HID Controller
2011-09-04 18:02:49:037 HIDAPI ERROR STRING (if any):
(null)
2011-09-04 18:02:49:037 Failed to init the controller (attempt 0)
2011-09-04 18:02:54:038 Opening controller HID Controller
2011-09-04 18:02:54:038 Open HID port HID Controller
2011-09-04 18:02:54:039 Cannot find specified HID port with VID:1b5f and
PID:0x0001.
2011-09-04 18:02:54:039 Enumerating connected HIDs:
2011-09-04 18:02:54:039 Failed to open HID port HID Controller
2011-09-04 18:02:54:043 HIDAPI ERROR STRING (if any):
(null)
Original issue reported on code.google.com by [email protected]
on 4 Sep 2011 at 4:06
I am trying to compile on a Raspberry Pi against the open-zwave library,
revision 887. I get the following compile error:
make
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o ../open-zwave/libopenzwave.a
-lgnutls ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -ludev
/usr/bin/ld: ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a(daemon.o):
undefined reference to symbol 'gcry_control@@GCRYPT_1.2'
//lib/arm-linux-gnueabihf/libgcrypt.so.11: error adding symbols: DSO missing
from command line
collect2: ld returned 1 exit status
Makefile:71: recipe for target 'ozwcp' failed
make: *** [ozwcp] Error 1
hopefully this is a simple fix.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2014 at 4:41
after a successful compilation of the OZWCP on raspberry pi B with Raspbian , i
try to run the web server with ./ozwcp -d -p 1234, an error appear "Cannot
find a path to the configuration files at ./config/. Exiting..."
can someone help me please to run it,
thank's
Original issue reported on code.google.com by [email protected]
on 8 Apr 2014 at 12:30
What steps will reproduce the problem?
1.clicking on the add device button (to add a binary Sensor for example)
2.switching off a binary switch (for example)
3.adding the binary sensor
What is the expected output? What do you see instead?
After adding the sensor, we expect the binary switch to show off but it shows on
What version of the product are you using? On what operating system?
OpenZWave Control Panel v0.2a 8/8/2011 on ubuntu 10.04
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Feb 2014 at 10:29
What steps will reproduce the problem?
1. run ozwcp on android
2. open http interface from a pc
3. try to add or remove a device
What is the expected output? What do you see instead?
messages from the zwave device thats being added.
instead of that we don't see any message
What version of the product are you using? On what operating system?
latest version on the download site. Android 4.2
Please provide any additional information below.
controller software runs on android. we are running the openzware controller
frontend on port 8080. when we try to add or remove the devices, the response
is very very slow and most of the times the task times out.
SoC: Allwinner A20
ZWAVE Module: ZM5304
RAM: 1G
Thank you for your help.
Original issue reported on code.google.com by [email protected]
on 28 Jun 2014 at 4:16
What steps will reproduce the problem?
1. get the last OZW
2. try to compile OZW-CP
What is the expected output?
make -> no error:
domo@DOMO:~/install/openzwave-control-panel$ make
g++ -c -Wall -Wno-inline -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o webserver.o webserver.cpp
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o
../open-zwave/cpp/lib/linux/libopenzwave.a
../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -ludev
domo@DOMO:~/install/openzwave-control-panel$
What do you see instead?
make -> errors :
domo@DOMO:~/install/openzwave-control-panel$ make
g++ -c -Wall -Wno-inline -Wno-format -g -DDEBUG -Werror -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o webserver.o webserver.cpp
webserver.cpp: In member function âconst char*
Webserver::SendStatResponse(MHD_Connection*, const char*, const char*, const
char*, const char*)â:
webserver.cpp:435:63: erreur: âstruct OpenZWave::Node::NodeDataâ has no
member named âm_averageRequestRTTâ
webserver.cpp:436:66: erreur: âstruct OpenZWave::Node::NodeDataâ has no
member named âm_averageRequestRTTâ
webserver.cpp: At global scope:
webserver.cpp:749:65: erreur: âOpenZWave::Driver::ControllerErrorâ has not
been declared
webserver.cpp: In member function âint Webserver::Handler(MHD_Connection*,
const char*, const char*, const char*, const char*, size_t*, void**)â:
webserver.cpp:1082:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1088:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1094:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1100:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1106:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1112:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1120:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1129:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1138:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1145:48: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1153:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1162:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1171:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1180:49: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1191:57: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1202:57: erreur: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, int, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1425:8: erreur: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
make: *** [webserver.o] Erreur 1
domo@DOMO:~/install/openzwave-control-panel$
What version of the product are you using? On what operating system?
OZW r591
OZW-CP r31
Linux DOMO 3.2.0-34-generic-pae #53-Ubuntu SMP Thu Nov 15 11:11:12 UTC 2012
i686 i686 i386 GNU/Linux
Please provide any additional information below.
Diff to correct the issue :
Index: webserver.cpp
===================================================================
--- webserver.cpp (revision 31)
+++ webserver.cpp (copie de travail)
@@ -432,8 +432,8 @@
nodeElement->LinkEndChild(newstat("nstat", "Received duplicates", ndata.m_receivedDups));
nodeElement->LinkEndChild(newstat("nstat", "Last sent message", ndata.m_sentTS.c_str()));
nodeElement->LinkEndChild(newstat("nstat", "Last received message", ndata.m_receivedTS.c_str()));
- nodeElement->LinkEndChild(newstat("nstat", "Last RTT",
ndata.m_averageRequestRTT));
- nodeElement->LinkEndChild(newstat("nstat", "Average RTT",
ndata.m_averageRequestRTT));
+ nodeElement->LinkEndChild(newstat("nstat", "Last RTT",
ndata.m_averageRTT));
+ nodeElement->LinkEndChild(newstat("nstat", "Average RTT",
ndata.m_averageRTT));
nodeElement->LinkEndChild(newstat("nstat", "Quality", ndata.m_quality));
while (!ndata.m_ccData.empty()) {
Node::CommandClassData ccd = ndata.m_ccData.front();
@@ -746,7 +746,7 @@
* Handle controller function feedback from library.
*/
-void web_controller_update (Driver::ControllerState cs,
Driver::ControllerError err, void *ct)
+void web_controller_update (Driver::ControllerState cs, void *ct)
{
Webserver *cp = (Webserver *)ct;
===================================================================
Regards,
--
Bad Wolf
Original issue reported on code.google.com by [email protected]
on 17 Dec 2012 at 10:23
What steps will reproduce the problem?
When I try to make ozwcp, I have the following error.
What is the expected output? What do you see instead?
make ozwcp.o
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o ozwcp.o ozwcp.cpp
root@mk-synology:/mnt/package/openzwave/openzwave-control-panel# make
webserver.o
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o webserver.o webserver.cpp
root@mk-synology:/mnt/package/openzwave/openzwave-control-panel# make ozwcp
make: AVERTISSEMENT: fichier « ozwcp.o » a une date de modification
1,4e+02 dans le futur
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG -I
../open-zwave/cpp/src -I ../open-zwave/cpp/src/command_classes/ -I
../open-zwave/cpp/src/value_classes/ -I ../open-zwave/cpp/src/platform/ -I
../open-zwave/cpp/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I
../libmicrohttpd/src/include -o zwavelib.o zwavelib.cpp
cc1plus: warnings being treated as errors
zwavelib.cpp: In function âconst char*
valueTypeStr(OpenZWave::ValueID::ValueType)â:
zwavelib.cpp:75: error: enumeration value âValueType_Rawâ not handled in
switch
zwavelib.cpp:75: error: enumeration value âValueType_Maxâ not handled in
switch
make: *** [zwavelib.o] Erreur 1
What version of the product are you using? On what operating system?
Revision 35
Sorry for my english (I'm french).
Thanks
Thomas
Original issue reported on code.google.com by [email protected]
on 15 Jan 2013 at 7:28
What steps will reproduce the problem?
1.make
What is the expected output? What do you see instead?
openzwave-control-panel-read-only/webserver.cpp:333: warning: the use of
`mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
What version of the product are you using? On what operating system?
ubuntu 10.04 openzwave r603
Original issue reported on code.google.com by [email protected]
on 28 Dec 2012 at 4:03
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.