{"id":4547,"date":"2014-11-14T23:55:12","date_gmt":"2014-11-14T22:55:12","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=4547"},"modified":"2023-01-19T20:25:16","modified_gmt":"2023-01-19T19:25:16","slug":"wie-kann-der-raspberry-pi-empfangene-flugdaten-an-flightradar24-senden","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=4547","title":{"rendered":"Wie kann der Raspberry Pi empfangene Flugdaten an Flightradar24 senden?"},"content":{"rendered":"<p>Wie in <a href=\"http:\/\/blog.wenzlaff.de\/?p=4005\" title=\"flugdaten\" target=\"_blank\" rel=\"noopener noreferrer\">diesem<\/a> Post beschrieben k\u00f6nnen Flugdaten mit dem Raspberry Pi empfangen werden. Diese Daten k\u00f6nnen auch automatisch an Flightradar24.com gesendet werden damit auch andere davon etwas haben ;-). Die Anmeldung wird hier f\u00fcr Windows User beschrieben. Es geht aber auch viel einfacher, nur mit dem Raspberry Pi unter Debian. Das beschreibe ich hier mal.<\/p>\n<p>Das Programm von <a href=\"https:\/\/www.flightradar24.com\/\" title=\"flightrada24\" target=\"_blank\" rel=\"noopener noreferrer\">Flightradar24<\/a> kann (von <a href=\"https:\/\/forum.flightradar24.com\/forum\/radar-forums\/flightradar24-feeding-data-to-flightradar24\/4316-linux-feeder-software-for-flightradar24-old-software?4270-Linux-feeder-software-for-Flightradar24=\" title=\"flightrada24\" target=\"_blank\" rel=\"noopener noreferrer\">hier<\/a>) manuell geladen und installiert werden.<\/p>\n<p>Es geht aber einfach so:<br \/>\n<code><br \/>\n# download<br \/>\nwget https:\/\/dl.dropboxusercontent.com\/u\/66906\/fr24feed_arm-rpi_242.tgz<br \/>\n# entpacken<br \/>\ntar xf fr24feed_arm-rpi_242.tgz<br \/>\n# Progamm ausf\u00fchrbar machen<br \/>\nchmod +x fr24feed_arm-rpi_242<br \/>\n# Archive l\u00f6schen<br \/>\nrm fr24feed_arm-rpi_242.tgz<br \/>\n<\/code><\/p>\n<p>Die Geoposition vom Standort suchen \u00fcber Google Maps. Z.B. von Langenhagen:<br \/>\nLatitude:  52.4388<br \/>\nLongitude:  9.7428<\/p>\n<p>Starten der einmaligen Anmeldung bei <a href=\"https:\/\/www.flightradar24.com\/\" title=\"Flightradar24\" target=\"_blank\" rel=\"noopener noreferrer\">Flightradar24<\/a> mit:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n.\/fr24feed_arm-rpi_242 --signup\r\n<\/pre>\n<p>Der folgende Dialog muss einmal erfolgreich durchlaufen werden und die abgefragen Parameter eingegeben werden:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n[i]FR24Feed v242 - built on Aug 15 2014\/08:32:38\r\nWelcome to the FR24 Feeder sign up wizard!\r\n\r\nBefore you continue please make sure that:\r\n\r\n 1 - You have a working receiver\/decoder providing Basestation compatible stream\r\n 2 - You know the network address of the data feed (localhost:30003 by default)\r\n 3 - You know your receivers location up to 1 decimal point\r\n 4 - You have a working email address that will be used to contact you\r\n\r\nTo terminate - press Ctrl+C at any point\r\n\r\nStep 1\/5 - Enter Latitude  (DD.DDDD)\r\n$:52.4610\r\nStep 2\/5 - Enter Longitude (DD.DDDD)\r\n$:9.6850\r\nStep 3\/5 - Enter your email address (username@domain.tld)\r\n$:email@g\u00fcltige-adresse.de\r\nStep 4\/5 - Enter your the hostname of the data feed (leave empty for localhost)\r\n$:piplus\r\nStep 5\/5 - Enter your the port number of the data feed (leave empty for 30003)\r\n$:\r\n\r\nValidating form data...OK\r\n\r\nThe closest airport found is ICAO:EDDV IATA:HAJ near Hannover.\r\n\r\nLatitude: 52.461048\r\nLongitude: 9.685078\r\nCountry: Germany\r\n\r\nFlightradar24 may, if needed, use your email address to contact you regarding your data feed.\r\n\r\nWould you like to continue using these settings?\r\n\r\n(yes\/no)$:yes\r\n\r\nTaking data sample, minimum 3 AC required including at least 2 ADS-B:\r\n\r\n[b]connecting to piplus:30003\r\n[b]connected\r\n[i]00:00 - Connected to the data feed\r\n[b]working\r\n[i]Data feed time difference OK abs(18:52:55.869 - 18:52:55.879)=0\r\n[b]00:05 - 4 AC in range\r\n[b]00:10 - 5 AC in range\r\n[b]00:15 - 6 AC in range\r\n[b]00:20 - 5 AC in range\r\n[b]00:25 - 7 AC in range\r\n[b]00:30 - 7 AC in range\r\n[b]00:35 - 8 AC in range\r\n[i]Removed 0 of 9 AC\r\n[b]disconnected\r\n\r\nSending data sample to the server, completing registration...OK\r\n\r\nAccount registered successfully!\r\nYour sharing key is: xxxxxxxxx\r\nYour radar  code is: x-xxxxx<\/pre>\n<p>Nach der Registrierung wird auch eine E-Mail mit den Key gesendet, dann wie folgt starten:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n\/dump1090 --fix --net --net-sbs-port 30003 --net-ro-port 31001 --quiet &gt; \/dev\/null\r\n<\/pre>\n<p>Ergebnis:<\/p>\n<pre class=\"lang:default decode:true \" >Found 1 device(s):\r\n0: Generic, RTL2832U, SN: 777711111777777 (currently selected)\r\nFound Rafael Micro R820T tuner\r\nMax available gain is: 49.60\r\nSetting gain to: 49.60\r\nExact sample rate is: 2000000.052982 Hz\r\nGain reported by device: 49.60\r\n<\/pre>\n<p>Dann in einer neuen Konsole den senden Feed starten mit:<\/p>\n<pre class=\"lang:default decode:true \" >.\/fr24feed_arm-rpi_242 --fr24key=KEY<\/pre>\n<p>Ergebnis der Daten die gesendet werden (wenn &#8211;quiet &gt; \/dev\/null vom obigen Aufruf entfernt werden):<\/p>\n<pre class=\"lang:default decode:true \" >[i]Downloading configuration...OK\r\n[i]Parsing configuration...OK\r\n[c]Interval: 5s\r\n[c]Latitude: 52.4610\r\n[c]Longitude: 9.6850\r\n[c]GND: YES\r\n[c]NonADSB: YES\r\n[i]Source defined as Basestation\r\n[n]defined 1 server\r\n[n]EDV@xx.xxx.xxx.xxx:8099\/UDP\r\n[n]connecting\r\n[i][stats]Stats thread started\r\n[b]connecting to piplus:30003\r\n[b]connected\r\n[b]working\r\n[i]Data feed time difference OK abs(19:01:25.531 - 19:01:25.500)=0\r\n[n]connected\r\n[n]switching to UDP\r\n[n]working\r\n[i]sent 2 planes in 1 packets\r\n[i]sent 6 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 5 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 5 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[i]sent 4 planes in 1 packets\r\n[n]pinging the server\r\n[i]sent 5 planes in 1 packets<\/pre>\n<p>Wenn es Probleme gibt, kann mit <\/p>\n<pre class=\"lang:default decode:true \" >netstat -naep<\/pre>\n<p>geschaut werden, ob die Programme <code>dump1090<\/code> und <code>fr24feed_arm-r<\/code> auf <strong>verbunden<\/strong> stehen.<\/p>\n<p>Wenn die Daten erfolgreich an <a href=\"https:\/\/www.flightradar24.com\/\" title=\"Flightradar24\" target=\"_blank\" rel=\"noopener noreferrer\">Flightradar24<\/a> gesendet werden, kann man mit der gleichen E-Mail Adresse wie oben bei der Anmeldung einen kostenlosen Premium Account auf der Webseite anlegen. Die Anmeldung ist da etwas schwer <a href=\"https:\/\/www.flightradar24.com\/premium\/\" title=\"premium\" target=\"_blank\" rel=\"noopener noreferrer\">auffindbar<\/a>. Der bleibt aber nur 7 Tage l\u00e4nger, als die letzte \u00dcbertragung g\u00fcltig ist aktiv.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wie in diesem Post beschrieben k\u00f6nnen Flugdaten mit dem Raspberry Pi empfangen werden. Diese Daten k\u00f6nnen auch automatisch an Flightradar24.com gesendet werden damit auch andere davon etwas haben ;-). Die Anmeldung wird hier f\u00fcr Windows User beschrieben. Es geht aber auch viel einfacher, nur mit dem Raspberry Pi unter Debian. Das beschreibe ich hier mal. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=4547\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eWie kann der Raspberry Pi empfangene Flugdaten an Flightradar24 senden?\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[220,1023,1101],"tags":[2184,1802,584,1805,685,1803,1804],"class_list":["post-4547","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-raspberry-pi","category-reisen","tag-anleitung","tag-flightradar24","tag-flug","tag-flugdaten","tag-langenhagen","tag-radar","tag-send-data"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/4547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4547"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/4547\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4547"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}