<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Dvb-T – Yeri Tiete</title><link>https://yeri.be/tag/dvb-t/</link><description>Yeri Tiete's blog</description><language>en</language><copyright>© Yeri Tiete</copyright><lastBuildDate>Wed, 21 Jan 2015 17:04:04 +0100</lastBuildDate><atom:link href="https://yeri.be/tag/dvb-t/index.xml" rel="self" type="application/rss+xml"/><item><title>Updated @Flightradar24 Ansible cookbook</title><link>https://yeri.be/updated-flightradar24-ansible-cookbook/</link><pubDate>Wed, 21 Jan 2015 17:04:04 +0100</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/updated-flightradar24-ansible-cookbook/</guid><description>&lt;p&gt;I had to wait a little while for the ARMv7 version for my EfikaMX devices, but they finally had time to compile it. Yay!&lt;/p&gt;
&lt;p&gt;The updated &lt;a href="https://yeri.be/flightradar24-ansible-playbook"&gt;cookbooks&lt;/a&gt; are &lt;a href="https://github.com/Tuinslak/ansible-flightradar24" target="_blank"&gt;on Github&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Changes (&lt;a href="https://github.com/Tuinslak/ansible-flightradar24/commits/master" target="_blank"&gt;commits&lt;/a&gt;):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Better key management&lt;/li&gt;
	&lt;li&gt;fr24feed.ini&lt;/li&gt;
	&lt;li&gt;No more separate dump1090 launch&lt;/li&gt;
	&lt;li&gt;newest fr24 version&lt;/li&gt;
&lt;/ul&gt;
Download links for &lt;a href="http://feed.flightradar24.com/linux/" target="_blank"&gt;Linux&lt;/a&gt; &amp;amp; &lt;a href="http://feed.flightradar24.com/raspberry-pi/" target="_blank"&gt;RPi&lt;/a&gt;.</description><content:encoded><![CDATA[<p>I had to wait a little while for the ARMv7 version for my EfikaMX devices, but they finally had time to compile it. Yay!</p>
<p>The updated <a href="https://yeri.be/flightradar24-ansible-playbook">cookbooks</a> are <a href="https://github.com/Tuinslak/ansible-flightradar24" target="_blank">on Github</a>.</p>
<p>Changes (<a href="https://github.com/Tuinslak/ansible-flightradar24/commits/master" target="_blank">commits</a>):</p>
<ul>
	<li>Better key management</li>
	<li>fr24feed.ini</li>
	<li>No more separate dump1090 launch</li>
	<li>newest fr24 version</li>
</ul>
Download links for <a href="http://feed.flightradar24.com/linux/" target="_blank">Linux</a> &amp; <a href="http://feed.flightradar24.com/raspberry-pi/" target="_blank">RPi</a>.
]]></content:encoded><category>Linux</category><category>Networking</category><category>Software</category><category>Virtualisation</category><category>ansible</category><category>dvb-t</category><category>flightradar24</category></item><item><title>Raspberry Pi &amp; @Flightradar24</title><link>https://yeri.be/raspberry-pi-flightradar24/</link><pubDate>Sun, 20 Jul 2014 14:28:26 +0200</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/raspberry-pi-flightradar24/</guid><description>&lt;p&gt;In a couple of lines: how to get FR24 (+ dump1090) to work on your Raspberry Pi.&lt;/p&gt;
&lt;p&gt;Be sure to have the right hardware: &lt;a href="http://www.flightradar24.com/dvbt-stick" target="_blank" rel="noopener noreferrer"&gt;flightradar24.com/dvbt-stick&lt;/a&gt; and &amp;hellip; obviously &amp;hellip; a &lt;a href="http://benl.rs-online.com/web/p/processor-microcontroller-development-kits/8111284/" target="_blank" rel="noopener noreferrer"&gt;RPi&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I got a &lt;a href="http://www.amazon.co.uk/gp/product/B00JQX5HT6/ref=oh_details_o00_s00_i00?ie=UTF8&amp;amp;psc=1" target="_blank" rel="noopener noreferrer"&gt;NooElec from Amazon&lt;/a&gt; because I didn&amp;rsquo;t have the patience to wait for something (that might not work) from &lt;a href="http://www.aliexpress.com/wholesale?SearchText=RTL2832U%2FR820T&amp;amp;catId=0&amp;amp;initiative_id=SB_20140719070441" target="_blank" rel="noopener noreferrer"&gt;AliExpress&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As root:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;apt-get update &amp;amp;&amp;amp; apt-get install cmake gcc pkg-config libusb-1.0 make git-core libc-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make &amp;amp;&amp;amp; make install
ldconfig
cd ../..&lt;/code&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>In a couple of lines: how to get FR24 (+ dump1090) to work on your Raspberry Pi.</p>
<p>Be sure to have the right hardware: <a href="http://www.flightradar24.com/dvbt-stick" target="_blank" rel="noopener noreferrer">flightradar24.com/dvbt-stick</a> and &hellip; obviously &hellip; a <a href="http://benl.rs-online.com/web/p/processor-microcontroller-development-kits/8111284/" target="_blank" rel="noopener noreferrer">RPi</a>.</p>
<p>I got a <a href="http://www.amazon.co.uk/gp/product/B00JQX5HT6/ref=oh_details_o00_s00_i00?ie=UTF8&amp;psc=1" target="_blank" rel="noopener noreferrer">NooElec from Amazon</a> because I didn&rsquo;t have the patience to wait for something (that might not work) from <a href="http://www.aliexpress.com/wholesale?SearchText=RTL2832U%2FR820T&amp;catId=0&amp;initiative_id=SB_20140719070441" target="_blank" rel="noopener noreferrer">AliExpress</a>.</p>
<p>As root:</p>
<p><code>apt-get update &amp;&amp; apt-get install cmake gcc pkg-config libusb-1.0 make git-core libc-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make &amp;&amp; make install
ldconfig
cd ../..</code></p>
<p>And be sure to Blacklist the normal driver:</p>
<p><code>echo &ldquo;blacklist dvb_usb_rtl28xxu&rdquo; &gt; /etc/modprobe.d/dvb-t.conf</code></p>
<p>And at this point you should <code>reboot</code>.</p>
<p>As regular user (<code>screen</code> part is no longer needed as the new FR24 program will automatically launch and execute it for you):</p>
<p><code>git clone <a href="https://github.com/MalcolmRobb/dump1090.git">https://github.com/MalcolmRobb/dump1090.git</a>
cd dump1090
make
ln -s dump1090 /bin/
<strike>screen -dmS dump ./dump1090 &ndash;interactive &ndash;net &ndash;net-beast &ndash;net-ro-port 31001 &ndash;net-http-port 8888</strike>
cd ..</code></p>
<p>Now get the FR24 software. In case you get a 404, <span style="text-decoration: line-through;">get the latest version <a href="http://forum.flightradar24.com/threads/4270-Linux-feeder-software-for-Flightradar24" target="_blank" rel="noopener noreferrer">here</a></span> new Raspberry Pi version is <a href="http://feed.flightradar24.com/raspberry-pi/" target="_blank" rel="noopener noreferrer">here</a>, Linux (AMD64 &amp; ARMv7) is <a href="http://feed.flightradar24.com/linux/" target="_blank" rel="noopener noreferrer">here</a>.
You can get your long &amp; lat <a href="https://web.archive.org/web/20211117100953/https://www.latlong.net/" target="_blank" rel="noopener noreferrer">here</a>.
Follow the updated howto on the page. The underlying code is no longer relevant.</p>
<p><code>wget <a href="https://web.archive.org/web/20141002002531/https://dl.dropboxusercontent.com/u/66906/fr24feed_arm-rpi_242.tgz">https://web.archive.org/web/20141002002531/https://dl.dropboxusercontent.com/u/66906/fr24feed_arm-rpi_242.tgz</a>
tar xvzf fr24feed*
./fr24feed_arm-rpi_242 &ndash;signup</code></p>
<p>I&rsquo;ll ask a couple of questions (answer them correctly):</p>
<p><code>Step 1/5 - Enter Latitude (DD.DDDD)
$:50.927358
Step 2/5 - Enter Longitude (DD.DDDD)
$:4.399928
Step 3/5 - Enter your email address (<a href="mailto:username@domain.tld">username@domain.tld</a>)
$:yeri@tiete.be
Step 4/5 - Enter your the hostname of the data feed (leave empty for localhost)
$:
Step 5/5 - Enter your the port number of the data feed (leave empty for 30003)
$:</p>
<p>Validating form data&hellip;OK</p>
<p>The closest airport found is &lsquo;Brussels Airport (ICAO:EBBR IATA:BRU)&rsquo; near Brussels.</p>
<p>Latitude: 50.901379
Longitude: 4.484444
Country: Belgium</p>
<p>Flightradar24 may, if needed, use your email address to contact you regarding your data feed.</p>
<p>Would you like to continue using these settings?</p>
<p>(yes/no)$:yes</p>
<p>[&hellip;].</code></p>
<p>It will give you a key (and e-mail it to you) after a couple of minutes. Keep this key, as it&rsquo;s important.</p>
<p>That&rsquo;s it. As dump1090 is already running, all you have to do is start flightradar and you&rsquo;re good to go.</p>
<p>This is the script I use to start it all (in screen, allowing me to check it). As normal user:</p>
<p><code>nano -w flightradar.sh</code></p>
<p>And copy paste the following (+ edit the variables):</p>
<p><code>#!/bin/bash
KEY=YOUR-KEY-EDIT-THIS
DIR=/home/PATH-TO-YOU-SCRIPT</p>
<h3>pro script</h3>
<p>cd $DIR</p>
<h1>Start dump1090</h1>
<p>cd dump1090</p>
<h1>I run on port 8888 because 8080 is taken on my rasp</h1>
<h3>THIS IS NO LONGER NEEDED</h3>
<p>#screen -dmS dump ./dump1090 &ndash;interactive &ndash;net &ndash;net-beast &ndash;net-ro-port 31001 &ndash;net-http-port 8888
cd ..</p>
<h1>Start Flightradar24</h1>
<p>screen -dmS flightradar24 ./fr24feed_arm-rpi_242 &ndash;fr24key=$KEY</code></p>
<p>And run: <code>chmod +x flightradar.sh</code></p>
<p>To start the script, simply run <code>./flightradar.sh</code>, and check what&rsquo;s happening with <code>screen -r dump</code> or <code>screen -r flightradar</code>.</p>
<p>To auto start this script at boot time, I edit rc.local as root:</p>
<p><code>nano -w /etc/rc.local</code></p>
<p>And add the following at the end but <strong>BEFORE</strong> exit 0:</p>
<p><code>su yeri -c /home/yeri/flightradar.sh</code></p>
<p>Obviously, modify the path and the user it should run under (in this case as &ldquo;yeri&rdquo;).</p>
<p>PS: Be sure to signup again every time you move your Raspberry around (the coords seem to be hardcoded in the key).
PPS: You can get Premium access here now: <a href="https://www.flightradar24.com/premium/" target="_blank" rel="noopener noreferrer">flightradar24.com/premium</a> (and check fancy graphs about your &ldquo;radar&rdquo;).</p>
]]></content:encoded><category>Hardware</category><category>Linux</category><category>Networking</category><category>Software</category><category>dvb-t</category><category>flightradar24</category><category>raspberrypi</category></item></channel></rss>