HomeAutomation 2.0

"The best web gui for controlling your home using Telldus Tellstick"
andyl
Posts: 4
Joined: 29 Nov 2011, 05:15

Re: HomeAutomation 2.0

Post by andyl » 29 Nov 2011, 15:52

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 :-

Code: Select all

apt-get install libftdi-dev
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
:)

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 30 Nov 2011, 02:00

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

andyl
Posts: 4
Joined: 29 Nov 2011, 05:15

Re: HomeAutomation 2.0

Post by andyl » 30 Nov 2011, 07:09

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

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 30 Nov 2011, 09:24

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

andyl
Posts: 4
Joined: 29 Nov 2011, 05:15

Re: HomeAutomation 2.0

Post by andyl » 02 Dec 2011, 13:28

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

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 03 Dec 2011, 03:22

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

Klingan
Posts: 26
Joined: 09 Nov 2010, 14:57

Re: HomeAutomation 2.0

Post by Klingan » 23 Dec 2011, 14:29

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! :)

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 23 Dec 2011, 15:30

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

Klingan
Posts: 26
Joined: 09 Nov 2010, 14:57

Re: HomeAutomation 2.0

Post by Klingan » 23 Dec 2011, 18:42

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:

Code: Select all

tdtool --list
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?

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 26 Dec 2011, 13:19

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

Klingan
Posts: 26
Joined: 09 Nov 2010, 14:57

Re: HomeAutomation 2.0

Post by Klingan » 26 Dec 2011, 14:14

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

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 26 Dec 2011, 14:37

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

Klingan
Posts: 26
Joined: 09 Nov 2010, 14:57

Re: HomeAutomation 2.0

Post by Klingan » 26 Dec 2011, 15:00

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. :)

fereous
Posts: 16
Joined: 28 Feb 2012, 05:12
Location: Lund, Sweden

Re: HomeAutomation 2.0

Post by fereous » 18 Nov 2012, 12:12

Klingan,

any luck yet with your installation? I got the same results as you (though with telldus-core 2.1.1).

//Thomas

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: HomeAutomation 2.0

Post by DanielM » 18 Nov 2012, 15:37

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

Post Reply