News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Pandaboard and Standalone DCE

Started by rages, July 29, 2011, 11:34:57 AM

Previous topic - Next topic

rages

Hello I have available a pandaboard and I would understand if it is possible to install the hari mini install.
Honestly I have not tried to do anything because I only just saw this project.
Which way should I go? I have to install Ubuntu 11.04, or by force to install debian?


Emanuele

hari

standalone dce should run pretty much everywhere..
br hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

rages

I try compile mini src .... but i have this error:

g++   -c -I/usr/include/libxml2/ -I/usr/include/mysql -I.. -I../DCE -I/usr/include/mysql   -Wall -fPIC -ggdb3  AEt_EMC2000.cpp -o AEt_EMC2000.o
AEt_EMC2000.cpp: In function 'void* start(void*)':
AEt_EMC2000.cpp:40:28: error: 'base' was not declared in this scope
AEt_EMC2000.cpp:40:47: error: expected type-specifier
AEt_EMC2000.cpp:40:47: error: expected '>'
AEt_EMC2000.cpp:40:47: error: expected '('
AEt_EMC2000.cpp:40:72: error: expected primary-expression before '>' token
AEt_EMC2000.cpp:40:76: error: expected ')' before ';' token
AEt_EMC2000.cpp: In member function 'virtual void DCE::AEt_EMC2000::receiveFunction()':
AEt_EMC2000.cpp:292:6: warning: unused variable 'address'
make[1]: *** [AEt_EMC2000.o] Error 1
make[1]: Leaving directory `/home/public/arm-pandaboard/mini/src/AEt_EMC2000'
make: *** [dcedevs] Error 2


any idea ???

hari

you should not need the AET device, just remove it from the Makefile

br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

rages

thanks hari,

this is the new error ...

emanuele@dcerouter:/home/public/arm-pandaboard/mini/installer$ sudo ./mini-install.sh
Setting up your computer to act as a 'Core'
05      07/30/11 15:23:47.909           Called with: -d 7  <0x400494e0>
96
Configuring devices
Running device 113
Running device 114
ERROR 1062 (23000) at line 1: Duplicate entry '1' for key 'PRIMARY'


I use import.sh in /dumps/ for import table ...


rages

sorry another question ... KNX can be used with DCE standalone, I am not very clear how I can add multiple devices: light, thermostat, ecc ...

Emanuele

hari

either manually in the database or with the lmce web admin

br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

rages

now I compile eibd and the package EIB-eibd ....

rages

EIB and EIB-eibd ..........ok

I keep getting these 2 errors ...

when i run ./mini-install.sh

root@dcerouter:/home/public/arm-pandaboard/mini/installer# ./mini-install.sh
Setting up your computer to act as a 'Core'
05      07/30/11 20:42:23.767           Called with: -d 7  <0x40220000>
191
Configuring devices
Running device 208
Running device 209
ERROR 1062 (23000) at line 1: Duplicate entry '1' for key 'PRIMARY'



when I run /usr/pluto/bin/DCERouter
/
touch: cannot touch `/opt/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.
---------------

01      07/30/11 20:42:09.201           Connect failed Can't connect to MySQL server on 'dcerouter' (111) <0x40e1f000>
01      07/30/11 20:42:09.202           Connect failed Can't connect to MySQL server on 'dcerouter' (111) <0x40e1f000>
01      07/30/11 20:42:09.202           Cannot connect to database! <0x40e1f000>


any idea  ???

rages

I think I know what my problem, it seems that is not recognized as a host dcerouter, in fact I was able to run ". / DCERouter" with the "-h localhost", I tried to change my files "/etc /hosts" and "/etc/hostname", but does not work.

How can I fix?


Another problem that I do not know whether it is always linked to the above, I installed apache2 and downloaded lmce-admin, but does not work.


Emanuele

hari

Quote from: rages on July 31, 2011, 10:23:56 PM
I think I know what my problem, it seems that is not recognized as a host dcerouter, in fact I was able to run ". / DCERouter" with the "-h localhost", I tried to change my files "/etc /hosts" and "/etc/hostname", but does not work.

How can I fix?
putting this into /etc/hosts should help:
127.0.0.1 dcerouter

Quote
Another problem that I do not know whether it is always linked to the above, I installed apache2 and downloaded lmce-admin, but does not work.


Emanuele
you need php and a few other pieces..

br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

rages

Thanks Hari !!!

Now hosts is ok,

Now lmce-admin is loaded but I can not create the new user. Problem with mysql?

When I finish, I write all the steps.

Emanuele

hari

iirc you need to fill the Users and Installation tables. Don't forget Installation_Users to connect them. There you can set the userCanModifyInstallation flag for admin rights.

br hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

rages

hari sorry, but I am here to break it again.

I have modified the table users and installers with my data and changed the option that you have indicated, now the user exist, but when I enter username and password is not recognized.

other suggestions?

rages

In installation_users I only changed the parameter that you have indicated, in Installation and Users I have only changed the values ​​that I understood how: UserName, Password, ZIP, etc. ..., I left others unchanged how: FK_installation_main, Staff, etc ...