Compiling/Installing the Telldus Service on Raspberry Pi

Time to take a big breath!

Basicly two alternatives either compiling on the pi or cross-compiling on my linux-box.

Since the Telldus-server is a rather small server and knowing that setting up a cross-compiling environment often takes more time than expected, so the choise is easy!

Starting off by installing the development environment on the pi by doing the following:

apt-get install g++
apt-get install cmake

The ‘g++’ is the gnu C++ compiler including all other necessary libraries, ‘cmake’ is a cross-platform make.

Found an excellent description on how to compile telldus on raspberry pi – Link
Basicly repeating it:

nano /etc/apt/sources.list.d/telldus.list
Add the following to file above "deb-src stable main"
apt-key add telldus-public.key
apt-get update
apt-get install build-essential
apt-get build-dep telldus-core
apt-get install cmake libconfuse-dev libftdi-dev help2man
mkdir -p ~/src/telldus-core

cd ~/src/telldus-core
apt-get –compile source telldus-core
dpkg --install *.deb

Yes! The last install statement is returning “[ ok ] Starting the Telldus TellStick daemon : telldusd.” which is a receipt that the server has started. There is a start/stop script in /etc/init.d/telldusd and this script is run during startup. It is also possible to use this script to restart the server when configuration has been changed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s