LinuxMCE Forums
AgoControl => Developers => Topic started by: LA on June 21, 2010, 10:24:59 pm
-
Hello!
I have NAS Synology DS210j and router Asus RT-n16.
Is there any way to install that part of LinuxMCE, which is responsible for z-wave devices control, on one of them?
-
No. LinuxMCE's feature set is much larger than you think.
-Thom
-
Hello!
I have NAS Synology DS210j and router Asus RT-n16.
Is there any way to install that part of LinuxMCE, which is responsible for z-wave devices control, on one of them?
you might want to look into micasa verde vera
-
Hello!
I have NAS Synology DS210j and router Asus RT-n16.
Is there any way to install that part of LinuxMCE, which is responsible for z-wave devices control, on one of them?
I'm not aware of the specs for those devices but the parts of LinuxMCE responsible for Z-Wave run fine on an ARM 400mhz cpu with 64mb of ram.
look here: http://svn.linuxmce.org/svn/people/hari/mini/
best regards,
Hari
-
another option would be to use OpenZwave, it is derived from our driver.
br Hari
-
you might want to look into micasa verde vera
I would prefer to use existing hardware instead of buying new one (vera1 is based on asus wl500g, which quite similiar to asus rt-n16).
I'm not aware of the specs for those devices but the parts of LinuxMCE responsible for Z-Wave run fine on an ARM 400mhz cpu with 64mb of ram.
look here: http://svn.linuxmce.org/svn/people/hari/mini/
Thanks, Hari.
Synology DS210j has (http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have) 800MHz Marvell Kirkwood mv6281 ARM Processor, 128MB of RAM;
Asus RT-N16 has 480Mhz BCM4718, 128MB DDR2 RAM.
Is there any documentation about mini part of LinuxMCE? How should I install and use it? Just copy all files from the Installer folder to the device and run mini-install.sh? Will it install some web-server, where I will be able to control my devices?
upd. found some instruction here (http://forum.linuxmce.org/index.php?topic=8333.msg70135#msg70135). But looks like now I don't need to compile it, since installer is available... Anyway, would appreciate if somebody provides me with more detailed guide.
btw, will it work with this USB device - Leviton ControlThink CTZUS-1EU (http://www.asihome.com/ASIshop/product_info.php?products_id=3951)?
another option would be to use OpenZwave
are you talking about this (http://code.google.com/p/open-zwave/) openZwave? It looks like tool for the developers. Don't see any binary files there...
-
I've found a document (http://download.synology.com/download/ds/userguide/Synology%20NAS%20Server%203rd-Party%20Apps%20Integration%20Guide.pdf), which describes how applications should be compiled for my Synology DS210j.
In accordance with this document I should configure software:
# env CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc \
LD=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld \
RANLIB=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ranlib \
CFLAGS="-I/usr/local/arm-none-linux-gnueabi/include" \
LDFLAGS="-L/usr/local/arm-none-linux-gnueabi/lib" \
./configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux \
--prefix=/usr/local
I input this into terminal and getting error that ./configure: No such file or directory. I tried to run it from the folder /usr/local/arm-none-linux-gnueabi. I've also installed autoconf package.
Can somebody please help me with this? Never was compiling C (?) applications before.
PS. Tool chain is at /usr/local/arm-none-linux-gnueabi/ and sources are at /usr/tmp/harimini/.
-
Hi LA,
there is no autoconf/configure script. Use the Makefile in the src/ directory. When you look at it you'll see some definitions on top that I've used with the openembedded cross compiler. Make sure that your toolchain includes headers/libs for mysql, libattr and libxml2.
br Hari
-
btw, the controlthink stick is not supported. Regarding "Will it install some web-server, where I will be able to control my devices?": yes, it comes with a RPC plugin. You can query status and send commands via http.
br Hari
-
Thanks, Hari!
But if I compile it with usage of existing makefile, then it will be compiled for another ARM processor, willn't it?
Probably I should try to use already compiled version first? But where can I take it? (installer folder has something...).
And, which url should I access to send commands thru http?
-
of course you need to adjust the Makefile for your specific arm architecture/cross compiler. The RPC plugin will listen on 8088. More information here: http://svn.linuxmce.org/trac.cgi/browser/branches/LinuxMCE-0810/src/RPC_Plugin/RPC_Plugin.cpp
br Hari
-
Looks like my toolchain doesn't have headers/libs for mysql, libattr and libxml2. Where can I download it?
May I use for libxml2 these files (http://svn.linuxmce.org/svn/branches/linuxmce-1.1-release/libs/CrossPlatform/LibXML2/include/libxml/)? Where should I put them?
-
Hi Hari,
sorry for bothering you with such questions...
Could you please help me either to
1) create configure file for your application OR
2) choose right values for parameters -march= and -mtune
(I've installed the following packages: g++, libmysqlclient15-dev, libattr1-dev, libxml2-dev - looks like now I have all headers needed)
Tried to compile it as:
make CC=arm-none-linux-gnueabi-gcc ARCH=armс
got the following error:
arm-none-linux-gnueabi-gcc -Wall -fPIC -ggdb3 -c mongoose.c
g++ -shared -o RPC_Plugin.so Main.o RPC_Plugin.o ../Gen_Devices/RPC_PluginBase.o mongoose.o -L../lib -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -ldl -lpluto_main
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
mongoose.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [RPC_Plugin.so] Error 1
make[1]: Leaving directory `/usr/local/arm-none-linux-gnueabi/bin/harimini/RPC_Plugin'
make: *** [plugins] Error 2
-
LA as you are figuring this out we would really welcome that you document it on the wiki so if anybody else comes with similar request that there is already some info for others.
Cheers.
-
2) choose right values for parameters -march= and -mtune
that really depends on the hardware you want to use. The values in the Makefile were chosen for the mini2440 arm platform. You need to figure out the proper values for your router.
(I've installed the following packages: g++, libmysqlclient15-dev, libattr1-dev, libxml2-dev - looks like now I have all headers needed)
be aware that you need the headers/libs for the target architecture, not for the host were you are running the cross compilation
Tried to compile it as:
make CC=arm-none-linux-gnueabi-gcc ARCH=armс
got the following error:
arm-none-linux-gnueabi-gcc -Wall -fPIC -ggdb3 -c mongoose.c
g++ -shared -o RPC_Plugin.so Main.o RPC_Plugin.o ../Gen_Devices/RPC_PluginBase.o mongoose.o -L../lib -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -ldl -lpluto_main
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mongoose.o: Relocations in generic ELF (EM: 40)
mongoose.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [RPC_Plugin.so] Error 1
make[1]: Leaving directory `/usr/local/arm-none-linux-gnueabi/bin/harimini/RPC_Plugin'
make: *** [plugins] Error 2
[/quote]
you are mixing arm with intel binaries, that is the reason why you get the elf relocation error. This line is probably not what you want:
g++ -shared -o RPC_Plugin.so Main.o RPC_Plugin.o ../Gen_Devices/RPC_PluginBase.o mongoose.o -L../lib
it should read arm-none-linux-gnueabi-g++, not g++. You seem to still lack some defines in the Makefiles for the cross compiler.
br Hari
-
that really depends on the hardware you want to use. The values in the Makefile were chosen for the mini2440 arm platform. You need to figure out the proper values for your router.
Understand that. In the document about my hardware it is mention that I should do the following:
# env CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc \
LD=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld \
RANLIB=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ranlib \
CFLAGS="-I/usr/local/arm-none-linux-gnueabi/include" \
LDFLAGS="-L/usr/local/arm-none-linux-gnueabi/lib" \
./configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux \
--prefix=/usr/local
doesn't it contain or allow to identify which values should be used for parameters march and mtune?
-
Can somebody please help me to create configure file?
Looks like this is the only way for me to compile the program...
-
you don't need a configure file. Just use the makefile. If you don't have any values for march and mtune just leave the switches out.
br Hari
-
should I just run make in the folder with sources?
If I do bash build-arm.sh, then I get the following error:
make[1]: Entering directory `/usr/local/arm-none-linux-gnueabi/bin/harimini/Lighting_Plugin'
g++ -c -DUSE_MYSQL_WRAPPER -I/usr/include/libxml2/ -I/usr/include/mysql -I.. -I../DCE -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -fPIC -ggdb3 Main.cpp -o Main.o
Main.cpp:1: error: bad value (armv4) for -march= switch
Main.cpp:1: error: bad value (arm920t) for -mtune= switch
make[1]: *** [Main.o] Error 1
make[1]: Leaving directory `/usr/local/arm-none-linux-gnueabi/bin/harimini/Lighting_Plugin'
make: *** [plugins] Error 2
again it tries to use non-arm g++...
I'll also try to compile it on the NAS itself.
-
Hmm, looks like compilation with usage of make only is successful.
At least, I haven't got any error.
How should I install compiled version on my NAS? Which files should I copy there and which of them should I run?
And, when I tried to compile it on the NAS itself, I've got the following error:
g++ -shared -fPIC -Wall -g -ggdb3 -D_GNU_SOURCE -DUSE_MYSQL_WRAPPER -I/usr/include/libxml2/ -I/usr/include/mysql -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ -I../../VIPShared -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSE_LZO_DATAGRID -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/stuff/tmp/staging/armv4t-angstrom-linux-gnueabi/usr/include/mysql -o libPlutoUtils.so CommonIncludes.o FileUtils.o MultiThreadIncludes.o Other.o ProcessUtils.o StringUtils.o DatabaseUtils.o getch.o md5c.o minilzo.o uuencode.o LinuxSerialUSB.o ThreadedClass.o ../db_wrapper/db_wrapper.o ../db_wrapper/ClientSocket.o ../db_wrapper/Socket.o -L/usr/lib/mysql -lmysqlclient
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: *** [libPlutoUtils.so] Error 1
make[1]: Leaving directory `/tmp/harimini/PlutoUtils'
make: *** [libs] Error 2
seems my NAS doesn't have mysqlclient and have sqllite only.
installation of mysql package doesn't help and mysqlclient package can not be found...
-
Hi Hari,
I am still trying to complile application on the NAS.
I've installed mysql5 package (is it OK? mysql 4 doesn't have mysqlclient libs) and added the following line into Makefile:
export LDFLAGS=-L/opt/lib/mysql
so, I haven't got any mysqlclient related error during compilation.
But now I have another error:
g++ -c -DUSE_MYSQL_WRAPPER -I/usr/include/libxml2/ -I/usr/include/mysql -I.. -I../DCE -Wall -fPIC -ggdb3 ../Gen_Devices/RPC_PluginBase.cpp -o ../Gen_Devices/RPC_PluginBase.o
../Gen_Devices/RPC_PluginBase.cpp: In member function 'virtual DCE::DeviceData_Impl* DCE::RPC_Plugin_Data::CreateData(DCE::DeviceData_Impl*, char*, long unsigned int, char*)':
../Gen_Devices/RPC_PluginBase.cpp:13: warning: unused variable 'iPK_Device'
../Gen_Devices/RPC_PluginBase.cpp:14: warning: unused variable 'iPK_Installation'
cc -Wall -fPIC -ggdb3 -c mongoose.c
make[1]: cc: Command not found
make[1]: *** [RPC_Plugin.so] Error 127
make[1]: Leaving directory `/volume2/video/temp/harimini/RPC_Plugin'
make: *** [plugins] Error 2
how should I fix it?
upd. fixed it by adding
export CC=${CROSS}gcc ${CFLAGS}
to Makefile.
I also had to replace ./post_make.sh in RPC_Plugin/Makefile to direct path - /volume2/video/temp/harimini/RPC_Plugin/post_make.sh.
Now I am getting error
g++ -o ZWave Main.o ZWave.o ../Gen_Devices/ZWaveBase.o Serial.o ZWApi.o ../Generic_Serial_Device/IOUtils.o -L/opt/lib/mysql -L../lib -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libmysqlclient.so.15, needed by ../lib/libDCECommon.so, not found (try using -rpath or -rpath-link)
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v1@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v1@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[1]: *** [ZWave] Error 1
make[1]: Leaving directory `/volume2/video/temp/harimini/ZWave'
make: *** [dcedevs] Error 2
-
(while testing that on the version compiled on PC)
hari, how should I start the service?
I've tried to run all files generated in the bin folder and then access web-interface thru ip:8080 - got nothing.
-
8088, make sure that DCERouter did load the RPC plugin.
br Hari
-
Hari, thanks, surely it should be 8088..
I am getting the following error when run DCERouter:
root@ubuntu910desktop:/usr/local/arm-none-linux-gnueabi/bin/harimini/bin# ./DCERouter
./DCERouter: error while loading shared libraries: libDCECommon.so: cannot open shared object file: No such file or directory
-
it tries to dynamically load that library, either point ld.conf to it or export a proper LD_PRELOAD_PATH to the location of the library.
br Hari
-
I've added path to LD_PRELOAD_PATH:
root@ubuntu910desktop:/usr/local/arm-none-linux-gnueabi/bin/harimini/bin# export -p
declare -x LD_PRELOAD_PATH="/usr/local/arm-none-linux-gnueabi/bin/harimini/lib"
but it didn't help.
What is ld.conf?
-
sorry, meant LD_LIBRARY_PATH
br Hari
-
do I also need to add path to mysql somehow?
I've compiled an application (on PC now) and try to run mini-install.sh. Getting the following errors:
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
SQL_Ops.sh: line 30: mysql: command not found
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
SQL_Ops.sh: line 30: mysql: command not found
Configuring devices
./mce-install-common.sh: line 70: /usr/bin/mysql: No such file or directory
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
tried to add it like:
export PATH="${PATH}:/usr/include/mysql"
but really there is no mysql file. What kind of package should I install on my Ubuntu 9.10 to get it?
-
Mysql-client and mysql-server,
br Hari
-
Hari, I've installed both packages and now when I run mini-install.sh, terminal hangs (nothing is displayed, but command run is not finished - looks like infinite loop somewhere).
And, if I run DCERoute I am getting the following:
user@ubuntu910desktop:~$ /tmp/harimini/src/bin/DCERouter
touch: cannot touch `/usr/pluto/var/DCERouter.running': No such file or directory
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program 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 Public License for more details.
---------------
sh: /usr/pluto/bin/mysql_wrapper: not found
01 07/11/10 7:58:34.084 Connect failed Failed to get error message <0xb77ba8e0>
sh: /usr/pluto/bin/mysql_wrapper: not found
01 07/11/10 7:58:44.246 Connect failed Failed to get error message <0xb77ba8e0>
01 07/11/10 7:58:44.247 Cannot connect to database! <0xb77ba8e0>
user@ubuntu910desktop:~$
upd. I've run mini-install.sh under root and got the following:
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
where should I indicate password to be used for MySQL root user? Or, where can I remove it (it was mandatory during package installation)?
upd. found it in mce_install_common.sh, but got other errors now ;):
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1049 (42000): Unknown database 'pluto_main'
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1049 (42000): Unknown database 'pluto_main'
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
root@ubuntu910desktop:/tmp/harimini/installer#
and after changing of path to CreateDevice in mce-install-common.sh from /usr/pluto/bin to my path:
root@ubuntu910desktop:/tmp/harimini/installer# export LD_LIBRARY_PATH=/tmp/harimini/src/lib
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.shERROR 1049 (42000): Unknown database 'pluto_main'
Setting up your computer to act as a 'Core'
05 07/11/10 8:26:34.277 Called with: -d 7 <0xb78896d0>
01 07/11/10 8:26:34.332 Connect failed Unknown database 'pluto_main' <0xb78896d0>
Cannot connect to database
CreateDevice failed
ERROR 1049 (42000): Unknown database 'pluto_main'
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1049 (42000): Unknown database 'pluto_main'
I've also tried to run import.sh from dumps folder (have corrected path to sqlCVS there also)
it tries to run mysql_wrapper
root@ubuntu910desktop:/tmp/harimini/dumps# ./import.sh
sh: /usr/pluto/bin/mysql_wrapper: not found
not clear where the path should be corrected.
However after that it started to import tables, but anyway after that:
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
Setting up your computer to act as a 'Core'
05 07/11/10 8:51:20.223 Called with: -d 7 <0xb77ed6d0>
01 07/11/10 8:51:20.525 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77ed6d0>
05 07/11/10 8:51:20.525 Resetting db_wrapper connection <0xb77ed6d0>
01 07/11/10 8:51:20.526 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77ed6d0>
(I've installed mysql 5)
-
Hari,
probably, it would be helpful to include mysql (and other libs) into sources of your project also... and create configure file (while you are writing the manual) :)
Currently I am trying to compile the application on PC. I've taken mysql libs from synology optware (installed it on NAS first and then copied files to PC), but I have to modify almost each Makefile to correct paths there to mysql and mysqlclient...
-
Hi,
I'd just like to express wish that this will all be posted on Wiki. I'm also after a mini LMCE system with only basic level of functionality (like Vera).
Thanks in advance,
regards,
Bulek.
-
Hi all,
since finally I've bought the z-wave hardware, I am ready to continue this testing. But before I start I would like to check if somebody else already compiled that for Ubuntu?
If no, then I'll try to:
1) compile that for Ubuntu 10.04 first (and see how it works);
2) then compile that for Asus RT-N16.
-
I did test this on ubuntu 1004 some time ago. Works fine.
-
Wow! Good news!
Could you please publish your steps to compile and install that on ubuntu 10.04 (incl. packages needed)?
-
Wow! Good news!
Could you please publish your steps to compile and install that on ubuntu 10.04 (incl. packages needed)?
http://forum.linuxmce.org/index.php/topic,11857.msg82924.html#msg82924
-
hari, could you please clarify how your application communicate with z-wave device? does it use hidraw? my router's kernel is 2.6.22, where hidraw is not supported
-
the z-wave dce device does not utilize hidraw. It uses the routines in Serial.h/cpp to communicate with the dongle.
br Hari
-
Hi Hari, have you played with this further since last post?
-
no, I'm working on a completely new codebase, based on AMQP messaging (vs DCE). Most stuff is written in python, the Z-Wave part is handled via the OpenZWave library. 1Wire is also supported. Will be fairly easy to extend the system. It also comes with shiny cloud features (portal where you can control everything [even multiple installations]). No 1,5y learning curve :-)
br Hari
ps: primary development target is a plug computer
-
Respect! That sounds awesome. Is there some public repo for this code? Will it be possible to test in some near future? I'm getting few RaspberryPi in few weeks, so... ;)
-
the repo will be public soon. I'll also build an image for the Raspberry as soon as it becomes available via RS Components.
-
Great! Please post an update to this thread when it becomes available, I hope to have my own RPi soon so I'll test it right away.