Page 3 of 4
Re: HomeAutomation 2.0
Posted: 29 Nov 2011, 15:52
by andyl
Hi All.
Just a small problem in trying to install the Tdtool code onto a Bubba2 running software 2.4-rc1.
Following Magnus "How to guide" I needed an extra download :-
Before the code would compile.
Unfortunately the final "Make install" has failed to place the code in the correct directory, details below:-
root@bubba:/usr/src/telldus-core-2.1.0/tdtool# find / -iname tdtool
/usr/src/telldus-core-2.1.0/tdtool
/usr/src/telldus-core-2.1.0/tdtool/tdtool
root@bubba:/usr/src/telldus-core-2.1.0/tdtool#
Help would be appreciated as I am assuming that the files cannot just be copied to the correct directory(s).
Andyl

Re: HomeAutomation 2.0
Posted: 30 Nov 2011, 02:00
by DanielM
andyl wrote:Unfortunately the final "Make install" has failed to place the code in the correct directory, details below:-
What were you logged in as when running make install? You need to be root for that part. And did you get any warnings?
One good option could be to install telldus-core from repository using apt-get instead, there's another thread here about that.
/Daniel
Re: HomeAutomation 2.0
Posted: 30 Nov 2011, 07:09
by andyl
What were you logged in as when running make install? You need to be root for that part. And did you get any warnings?
Logged in as root and no warnings.
One good option could be to install telldus-core from repository using apt-get instead, there's another thread here about that.
I was unable to locate a PPC build for a Bubba 2.
Andyl
Re: HomeAutomation 2.0
Posted: 30 Nov 2011, 09:24
by DanielM
andyl wrote:Logged in as root and no warnings.
That really is strange. You could try copying the files manually. I think tdtool simply has to go somewhere in the path (like /usr/local/bin) and the libraries (libtelldus-core*) should go somewhere like /usr/local/lib.
andyl wrote:I was unable to locate a PPC build for a Bubba 2.
Darn. Sorry, you're right. The package is armel only. So, source it is for B2.
/Daniel
Re: HomeAutomation 2.0
Posted: 02 Dec 2011, 13:28
by andyl
Daniel.
Thanks, but it failed to work. The final solution was to delete all the files and start again, but this time using the install details supplied within the Zip file.
I now have a test system running, just need to purchase a tellsick duo when available in the UK.
Andy
Re: HomeAutomation 2.0
Posted: 03 Dec 2011, 03:22
by DanielM
andyl wrote:Daniel.
Thanks, but it failed to work. The final solution was to delete all the files and start again, but this time using the install details supplied within the Zip file.
I now have a test system running, just need to purchase a tellsick duo when available in the UK.
Andy
What was the difference? Might be a good idea to tell Magnus if his guide is wrong in some way.
Anyway, I'm also hoping for a duo soon. Guess they must have manufactured too few of them in the first batch, can't seem to get hold of one anywhere even here in Sweden.
/Daniel
Re: HomeAutomation 2.0
Posted: 23 Dec 2011, 14:29
by Klingan
I did a full reset of my B3 and followed the
Wiki.
However, I got stuck at
instruction #4.
I downloaded the latest compilation of Telldus Core (
http://download.telldus.se/TellStick/So ... 1.0.tar.gz) as instructed. And the directory hence becomes "/root/telldus-core-2.1.0" instead of "root/telldus-core".
Code: Select all
root@myServer:~/telldus-core-2.1.0# cmake -DBUILD_LIBTELLDUS-CORE=1 -DBUILD_TDTOOL=1 -DBUILD_RFCMD_WITH_LIBFTDI=0 -DGENERATE_MAN=1
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FTDI_LIBRARY
linked by target "telldusd" in directory /root/telldus-core-2.1.0/service
-- Configuring incomplete, errors occurred!
root@myServer:~/telldus-core-2.1.0#
Any ideas why I get this error?
Thank you in advance, and Merry Christmas!

Re: HomeAutomation 2.0
Posted: 23 Dec 2011, 15:30
by DanielM
Klingan wrote:FTDI_LIBRARY
Could you check if you have got libftdi1 and libftdi-dev installed? Run something like "dpkg -l|grep ftdi". Otherwise install them using apt-get and try again.
/Daniel
Re: HomeAutomation 2.0
Posted: 23 Dec 2011, 18:42
by Klingan
I managed to continue when I installed libfti-dev.
Actually, I got through the entire guide!
However, I was unable to "import devices" in HA.
So I did a listing of my current devices in the terminal with:
And got the following error...
Code: Select all
root@myServer:/home/klingan# tdtool --list
Error fetching devices: Could not connect to the Telldus Service
root@myServer:/home/klingan# HADatabase
Any ideas?
Re: HomeAutomation 2.0
Posted: 26 Dec 2011, 13:19
by DanielM
Klingan wrote:
Error fetching devices: Could not connect to the Telldus Service
Is this with telldus-core 2.1.0? If so, is the service started? Try /etc/init.d/telldusd start.
/Daniel
Re: HomeAutomation 2.0
Posted: 26 Dec 2011, 14:14
by Klingan
DanielM wrote:Klingan wrote:
Error fetching devices: Could not connect to the Telldus Service
Is this with telldus-core 2.1.0? If so, is the service started? Try /etc/init.d/telldusd start.
/Daniel
Code: Select all
root@myServer:~# /etc/init.d/telldusd start
bash: /etc/init.d/telldusd: No such file or directory
Re: HomeAutomation 2.0
Posted: 26 Dec 2011, 14:37
by DanielM
Klingan wrote:
Code: Select all
root@myServer:~# /etc/init.d/telldusd start
bash: /etc/init.d/telldusd: No such file or directory
This is either not 2.1.0 or a broken 2.1.0. How did you install telldus-core?
/Daniel
Re: HomeAutomation 2.0
Posted: 26 Dec 2011, 15:00
by Klingan
DanielM wrote:Klingan wrote:
Code: Select all
root@myServer:~# /etc/init.d/telldusd start
bash: /etc/init.d/telldusd: No such file or directory
This is either not 2.1.0 or a broken 2.1.0. How did you install telldus-core?
/Daniel
Through the steps in the Wiki about HA.

I havn't installed the the Telldus-Core separately (which I noticed that you've posted about being available). I figured that was a better solution, but didn't know the necessary steps of installation - so I simply followed the guide in the Wiki.

Re: HomeAutomation 2.0
Posted: 18 Nov 2012, 12:12
by fereous
Klingan,
any luck yet with your installation? I got the same results as you (though with telldus-core 2.1.1).
//Thomas
Re: HomeAutomation 2.0
Posted: 18 Nov 2012, 15:37
by DanielM
fereous wrote:any luck yet with your installation? I got the same results as you (though with telldus-core 2.1.1).
Did you also install using the guide on the wiki? That guide is really not the best way. No reason for compiling stuff that is already compiled in a repository. Go for the installation guide at
http://developer.telldus.com/wiki/TellS ... tionUbuntu instead (the steps under the heading Console based installation). After that you will have a /etc/init.d/telldusd.
/Daniel