<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;feed=atom&amp;action=history</id>
		<title>R-Pi Tellstick core - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;action=history"/>
		<updated>2013-05-20T13:26:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=160856&amp;oldid=prev</id>
		<title>Hedj: /* Configure receivers */ Added note about restarting the service daemon after changing configuration.</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=160856&amp;oldid=prev"/>
				<updated>2012-08-12T17:17:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure receivers: &lt;/span&gt; Added note about restarting the service daemon after changing configuration.&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:17, 12 August 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Each time you change the configuration, you also need to restart the service daemon.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;sudo service telldusd restart&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Test ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Test ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:157304:newid:160856 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hedj</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=157304&amp;oldid=prev</id>
		<title>Hedj at 14:18, 1 August 2012</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=157304&amp;oldid=prev"/>
				<updated>2012-08-01T14:18:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:18, 1 August 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:RaspberryPi]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:RaspberryPi]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;= Tellstick for Raspberry PI =&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This document shows how to setup the [http://www.telldus.com/ Telldus] core software for controlling remote switches using a [http://www.telldus.com/products/tellstick Tellstick] USB device on a [http://www.raspberrypi.org Raspberry PI].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This document shows how to setup the [http://www.telldus.com/ Telldus] core software for controlling remote switches using a [http://www.telldus.com/products/tellstick Tellstick] USB device on a [http://www.raspberrypi.org Raspberry PI].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hedj</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=157292&amp;oldid=prev</id>
		<title>Hedj: Created.</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=R-Pi_Tellstick_core&amp;diff=157292&amp;oldid=prev"/>
				<updated>2012-08-01T14:14:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
= Tellstick for Raspberry PI =&lt;br /&gt;
&lt;br /&gt;
This document shows how to setup the [http://www.telldus.com/ Telldus] core software for controlling remote switches using a [http://www.telldus.com/products/tellstick Tellstick] USB device on a [http://www.raspberrypi.org Raspberry PI].&lt;br /&gt;
&lt;br /&gt;
The distribution used is Raspbian &amp;amp;quot;Wheezy&amp;amp;quot; 3.1.9+.&lt;br /&gt;
&lt;br /&gt;
== Information sources ==&lt;br /&gt;
&lt;br /&gt;
The information in this document is compiled from these sources, with some testing &amp;amp; googling for myself.&lt;br /&gt;
&lt;br /&gt;
Installation: http://developer.telldus.com/wiki/TellStickInstallationSource&amp;lt;br /&amp;gt;&lt;br /&gt;
Confuration: http://developer.telldus.com/wiki/TellStick_conf&lt;br /&gt;
&lt;br /&gt;
== Download software ==&lt;br /&gt;
&lt;br /&gt;
Download the source code for Tellstick software.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-2.1.1.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Install prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Install the required software to build the source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install libftdi1 libftdi-dev libconfuse0 libconfuse-dev cmake&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Unpack source code ==&lt;br /&gt;
&lt;br /&gt;
Unpack the downloaded source into the &amp;lt;tt&amp;gt;/usr/src&amp;lt;/tt&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /usr/src&lt;br /&gt;
sudo tar xzf ~/download/telldus-core-2.1.1.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Build the software ==&lt;br /&gt;
&lt;br /&gt;
Enter the newly extracted directory and execute the build commands from there.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd telldus-core-2.1.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
Configure the source code for the hardware.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo cmake .&amp;lt;/pre&amp;gt;&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-- The C compiler identification is GNU 4.6.3&lt;br /&gt;
-- The CXX compiler identification is GNU 4.6.3&lt;br /&gt;
-- Check for working C compiler: /usr/bin/gcc&lt;br /&gt;
-- Check for working C compiler: /usr/bin/gcc -- works&lt;br /&gt;
-- Detecting C compiler ABI info&lt;br /&gt;
-- Detecting C compiler ABI info - done&lt;br /&gt;
-- Check for working CXX compiler: /usr/bin/c++&lt;br /&gt;
-- Check for working CXX compiler: /usr/bin/c++ -- works&lt;br /&gt;
-- Detecting CXX compiler ABI info&lt;br /&gt;
-- Detecting CXX compiler ABI info - done&lt;br /&gt;
-- Looking for include file pthread.h&lt;br /&gt;
-- Looking for include file pthread.h - found&lt;br /&gt;
-- Looking for pthread_create&lt;br /&gt;
-- Looking for pthread_create - not found.&lt;br /&gt;
-- Looking for pthread_create in pthreads&lt;br /&gt;
-- Looking for pthread_create in pthreads - not found&lt;br /&gt;
-- Looking for pthread_create in pthread&lt;br /&gt;
-- Looking for pthread_create in pthread - found&lt;br /&gt;
-- Found Threads: TRUE  &lt;br /&gt;
-- Found PkgConfig: /usr/bin/pkg-config (found version &amp;amp;quot;0.26&amp;amp;quot;) &lt;br /&gt;
-- checking for one of the modules 'libftdi'&lt;br /&gt;
-- Configuring done&lt;br /&gt;
-- Generating done&lt;br /&gt;
-- Build files have been written to: /usr/src/telldus-core-2.1.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Compile ===&lt;br /&gt;
&lt;br /&gt;
Compile the source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo make&amp;lt;/pre&amp;gt;&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Scanning dependencies of target TelldusCommon&lt;br /&gt;
[  2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event.cpp.o&lt;br /&gt;
[  4%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Message.cpp.o&lt;br /&gt;
[  6%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o&lt;br /&gt;
[  8%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o&lt;br /&gt;
/usr/src/telldus-core-2.1.1/common/Strings.cpp:222:13: note: the mangling of 'va_list' has changed in GCC 4.4&lt;br /&gt;
[ 10%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o&lt;br /&gt;
[ 12%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o&lt;br /&gt;
[ 14%] Building CXX object common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o&lt;br /&gt;
[ 16%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o&lt;br /&gt;
Linking CXX static library libTelldusCommon.a&lt;br /&gt;
[ 16%] Built target TelldusCommon&lt;br /&gt;
Scanning dependencies of target telldusd&lt;br /&gt;
[ 18%] Building CXX object service/CMakeFiles/telldusd.dir/ClientCommunicationHandler.cpp.o&lt;br /&gt;
[ 20%] Building CXX object service/CMakeFiles/telldusd.dir/Controller.cpp.o&lt;br /&gt;
[ 22%] Building CXX object service/CMakeFiles/telldusd.dir/ControllerManager.cpp.o&lt;br /&gt;
[ 24%] Building CXX object service/CMakeFiles/telldusd.dir/ControllerMessage.cpp.o&lt;br /&gt;
[ 26%] Building CXX object service/CMakeFiles/telldusd.dir/Device.cpp.o&lt;br /&gt;
[ 28%] Building CXX object service/CMakeFiles/telldusd.dir/DeviceManager.cpp.o&lt;br /&gt;
[ 30%] Building CXX object service/CMakeFiles/telldusd.dir/Log.cpp.o&lt;br /&gt;
/usr/src/telldus-core-2.1.1/service/Log.cpp: In member function 'void Log::message(Log::LogLevel, const char*, va_list) const':&lt;br /&gt;
/usr/src/telldus-core-2.1.1/service/Log.cpp:125:6: note: the mangling of 'va_list' has changed in GCC 4.4&lt;br /&gt;
[ 32%] Building CXX object service/CMakeFiles/telldusd.dir/Sensor.cpp.o&lt;br /&gt;
[ 34%] Building CXX object service/CMakeFiles/telldusd.dir/Settings.cpp.o&lt;br /&gt;
[ 36%] Building CXX object service/CMakeFiles/telldusd.dir/TelldusMain.cpp.o&lt;br /&gt;
[ 38%] Building CXX object service/CMakeFiles/telldusd.dir/TellStick.cpp.o&lt;br /&gt;
[ 40%] Building CXX object service/CMakeFiles/telldusd.dir/Timer.cpp.o&lt;br /&gt;
[ 42%] Building CXX object service/CMakeFiles/telldusd.dir/EventUpdateManager.cpp.o&lt;br /&gt;
[ 44%] Building CXX object service/CMakeFiles/telldusd.dir/ConnectionListener_unix.cpp.o&lt;br /&gt;
[ 46%] Building CXX object service/CMakeFiles/telldusd.dir/main_unix.cpp.o&lt;br /&gt;
[ 48%] Building CXX object service/CMakeFiles/telldusd.dir/SettingsConfuse.cpp.o&lt;br /&gt;
[ 50%] Building CXX object service/CMakeFiles/telldusd.dir/TellStick_libftdi.cpp.o&lt;br /&gt;
[ 52%] Building CXX object service/CMakeFiles/telldusd.dir/Protocol.cpp.o&lt;br /&gt;
[ 54%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolBrateck.cpp.o&lt;br /&gt;
[ 56%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolComen.cpp.o&lt;br /&gt;
[ 58%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolEverflourish.cpp.o&lt;br /&gt;
[ 60%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolFineoffset.cpp.o&lt;br /&gt;
[ 62%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolFuhaote.cpp.o&lt;br /&gt;
[ 64%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolGroup.cpp.o&lt;br /&gt;
[ 66%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolHasta.cpp.o&lt;br /&gt;
[ 68%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolIkea.cpp.o&lt;br /&gt;
[ 70%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolMandolyn.cpp.o&lt;br /&gt;
[ 72%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolNexa.cpp.o&lt;br /&gt;
[ 74%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolOregon.cpp.o&lt;br /&gt;
[ 76%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolRisingSun.cpp.o&lt;br /&gt;
[ 78%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolSartano.cpp.o&lt;br /&gt;
[ 80%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolScene.cpp.o&lt;br /&gt;
[ 82%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolSilvanChip.cpp.o&lt;br /&gt;
[ 84%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolUpm.cpp.o&lt;br /&gt;
[ 86%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolWaveman.cpp.o&lt;br /&gt;
[ 88%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolX10.cpp.o&lt;br /&gt;
[ 90%] Building CXX object service/CMakeFiles/telldusd.dir/ProtocolYidong.cpp.o&lt;br /&gt;
Linking CXX executable telldusd&lt;br /&gt;
[ 90%] Built target telldusd&lt;br /&gt;
Scanning dependencies of target telldus-core&lt;br /&gt;
[ 92%] Building CXX object client/CMakeFiles/telldus-core.dir/CallbackDispatcher.cpp.o&lt;br /&gt;
[ 94%] Building CXX object client/CMakeFiles/telldus-core.dir/Client.cpp.o&lt;br /&gt;
[ 96%] Building CXX object client/CMakeFiles/telldus-core.dir/telldus-core.cpp.o&lt;br /&gt;
Linking CXX shared library libtelldus-core.so&lt;br /&gt;
[ 96%] Built target telldus-core&lt;br /&gt;
Scanning dependencies of target tdtool&lt;br /&gt;
[ 98%] Building CXX object tdtool/CMakeFiles/tdtool.dir/main.cpp.o&lt;br /&gt;
Linking CXX executable tdtool&lt;br /&gt;
[ 98%] Built target tdtool&lt;br /&gt;
Scanning dependencies of target tdadmin&lt;br /&gt;
[100%] Building CXX object tdadmin/CMakeFiles/tdadmin.dir/main.cpp.o&lt;br /&gt;
Linking CXX executable tdadmin&lt;br /&gt;
[100%] Built target tdadmin&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Install ===&lt;br /&gt;
&lt;br /&gt;
Install the software (it will be installed into &amp;lt;tt&amp;gt;/usr/local&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
Example output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[ 16%] Built target TelldusCommon&lt;br /&gt;
[ 90%] Built target telldusd&lt;br /&gt;
[ 96%] Built target telldus-core&lt;br /&gt;
[ 98%] Built target tdtool&lt;br /&gt;
[100%] Built target tdadmin&lt;br /&gt;
Install the project...&lt;br /&gt;
-- Install configuration: &amp;amp;quot;&amp;amp;quot;&lt;br /&gt;
-- Installing: /usr/local/sbin/telldusd&lt;br /&gt;
-- Installing: /etc/tellstick.conf&lt;br /&gt;
-- Installing: /var/state/telldus-core.conf&lt;br /&gt;
-- Installing: /usr/local/lib/libtelldus-core.so.2.1.1&lt;br /&gt;
-- Installing: /usr/local/lib/libtelldus-core.so.2&lt;br /&gt;
-- Installing: /usr/local/lib/libtelldus-core.so&lt;br /&gt;
-- Installing: /usr/local/include/telldus-core.h&lt;br /&gt;
-- Installing: /usr/local/bin/tdtool&lt;br /&gt;
-- Removed runtime path from &amp;amp;quot;/usr/local/bin/tdtool&amp;amp;quot;&lt;br /&gt;
-- Installing: /usr/local/sbin/tdadmin&lt;br /&gt;
-- Removed runtime path from &amp;amp;quot;/usr/local/sbin/tdadmin&amp;amp;quot;&lt;br /&gt;
-- Installing: /etc/udev/rules.d/05-tellstick.rules&lt;br /&gt;
-- Installing: /usr/local/share/telldus-core/helpers/udev.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
After installation, update the system's library cache.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo ldconfig&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Install service ===&lt;br /&gt;
&lt;br /&gt;
Before the switches can be used, the &amp;lt;tt&amp;gt;telldusd&amp;lt;/tt&amp;gt; service daemon must be running (and the Tellstick must be connected to your Raspberry PI).&lt;br /&gt;
&lt;br /&gt;
Create an init-script for the service by copying and modifying the &amp;lt;tt&amp;gt;/etc/init.d/skeleton&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd /etc/init.d&lt;br /&gt;
sudo cp skeleton telldusd&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open the newly created file in your favorite editor (as root with sudo) and do these changes:&lt;br /&gt;
&lt;br /&gt;
Line 3, change:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# Provides:          skeleton&amp;lt;/pre&amp;gt;&lt;br /&gt;
into:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# Provides:          telldusd&amp;lt;/pre&amp;gt;&lt;br /&gt;
Line 8-10, change:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# Short-Description: Example initscript&lt;br /&gt;
# Description:       This file should be used to construct scripts to be&lt;br /&gt;
#                    placed in /etc/init.d.&amp;lt;/pre&amp;gt;&lt;br /&gt;
into:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# Short-Description: Tellstick service daemon&lt;br /&gt;
# Description:       Tellstick service daemon controlling remote switches.&lt;br /&gt;
# &amp;lt;/pre&amp;gt;&lt;br /&gt;
Line 20-24, change:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;PATH=/sbin:/usr/sbin:/bin:/usr/bin&lt;br /&gt;
DESC=&amp;amp;quot;Description of the service&amp;amp;quot;&lt;br /&gt;
NAME=daemonexecutablename&lt;br /&gt;
DAEMON=/usr/sbin/$NAME&lt;br /&gt;
DAEMON_ARGS=&amp;amp;quot;--options args&amp;amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
into:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin&lt;br /&gt;
DESC=&amp;amp;quot;Tellsick service daemon&amp;amp;quot;&lt;br /&gt;
NAME=telldusd&lt;br /&gt;
DAEMON=/usr/local/sbin/$NAME&lt;br /&gt;
DAEMON_ARGS=&amp;amp;quot;&amp;amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make the script executable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo chmod +x telldusd&amp;lt;/pre&amp;gt;&lt;br /&gt;
Test the init-script by starting the service and checking its status.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo service telldusd start&lt;br /&gt;
sudo service telldusd status&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install the script to start at boot.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo update-rc.d telldusd defaults&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Configure receivers ==&lt;br /&gt;
&lt;br /&gt;
The software is configured with the &amp;lt;tt&amp;gt;/etc/tellstick.conf&amp;lt;/tt&amp;gt; file. Since there are many types of receivers supported by Tellstick this document will not cover configuration options. For more information on configuration, please see http://developer.telldus.com/wiki/TellStick_conf.&lt;br /&gt;
&lt;br /&gt;
Here is an example configuration using one Waveman receiver. The &amp;lt;tt&amp;gt;house&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;unit&amp;lt;/tt&amp;gt; parameters is where you setup different switches.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;user = &amp;amp;quot;nobody&amp;amp;quot;&lt;br /&gt;
group = &amp;amp;quot;plugdev&amp;amp;quot;&lt;br /&gt;
ignoreControllerConfirmation = &amp;amp;quot;false&amp;amp;quot;&lt;br /&gt;
device {&lt;br /&gt;
  id = 1&lt;br /&gt;
  name = &amp;amp;quot;Livingroom lights&amp;amp;quot;&lt;br /&gt;
  protocol = &amp;amp;quot;waveman&amp;amp;quot;&lt;br /&gt;
  model = &amp;amp;quot;codeswitch&amp;amp;quot;&lt;br /&gt;
  parameters {&lt;br /&gt;
    house = &amp;amp;quot;A&amp;amp;quot;&lt;br /&gt;
    unit = &amp;amp;quot;1&amp;amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Test ==&lt;br /&gt;
&lt;br /&gt;
To turn on a switch (the number is the device id for the switch in the configuration file).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tdtool --on 1&amp;lt;/pre&amp;gt;&lt;br /&gt;
To turn off a switch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tdtool --off 1&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Done! ==&lt;br /&gt;
&lt;br /&gt;
You have now the core software for controlling remote receivers using a Tellstick installed. Now you can go ahead and do more amazing things!&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
* install a web server and create a web page where you can control switches&lt;br /&gt;
* schedule switching on and off lights using cron&lt;br /&gt;
* and much more...&lt;br /&gt;
&lt;br /&gt;
=References= &lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hedj</name></author>	</entry>

	</feed>