{"id":7385,"date":"2016-10-22T19:58:03","date_gmt":"2016-10-22T17:58:03","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=7385"},"modified":"2020-04-03T14:43:38","modified_gmt":"2020-04-03T12:43:38","slug":"update-des-raspberry-pi-mit-piaware-von-2-1-auf-3-1-und-bing-map-einstellen","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=7385","title":{"rendered":"Update des Raspberry Pi mit PiAware von 2.1 auf 3.5.3 und Bing Map einstellen"},"content":{"rendered":"<p>Bin nun wieder von meiner <a href=\"http:\/\/reise.wenzlaff.de\/vorbereitung-transpazifik-kreuzfahrt-von-kanada-ueber-hawaii-franz-polynesien-neuseeland-nach-australien-denn-vorfreude-ist-die-schoenste-freude\/\">Weltreise<\/a> zur\u00fcck. In der zwischenzeit gab es einige Updates.<\/p>\n<p>Es gibt eine neue Version von PiAware mit der Nummer 3.5.3 Deshalb diese Version laden und gleich das ganze System updaten: <\/p>\n<pre class=\"lang:default decode:true \" >  wget http:\/\/flightaware.com\/adsb\/piaware\/files\/packages\/pool\/piaware\/p\/piaware-support\/piaware-repository_3.5.3_all.deb\r\n  sudo dpkg -i piaware-repository_3.5.3_all.deb\r\n  sudo apt-get update\r\n  sudo apt-get upgrade\r\n  sudo apt-get install piaware\r\n  piaware -v\r\n# Ergebnis 3.5.3\r\n<\/pre>\n<p>Dann auch gleich <a href=\"http:\/\/blog.wenzlaff.de\/?p=6195\" target=\"_blank\" rel=\"noopener noreferrer\">dump1090-mutability_1.15~dev<\/a> neu erstellen und installieren:<!--more--><\/p>\n<pre class=\"lang:default decode:true \" >\r\n# in das Verzeichnis gehen\r\ncd \/home\/pi\/dump1090-mutability\/dump1090\r\n# eine neue Version holen in dem Verzeichnis\r\ngit pull\r\nsudo dpkg-buildpackage -b\r\ncd ..\r\nsudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb\r\nsudo \/etc\/init.d\/dump1090-mutability restart\r\n<\/pre>\n<p>Ok, ein reload im Browser und es wird gleich eine A380 unten links angezeigt:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto.jpg\" alt=\"foto\" width=\"2211\" height=\"1220\" class=\"aligncenter size-full wp-image-7388\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto.jpg 2211w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto-300x166.jpg 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto-768x424.jpg 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/foto-1024x565.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Nun gibt es auch eine Neue Bing Karten Ansicht. Dazu auf <a href=\"https:\/\/login.microsoftonline.com\/common\/oauth2\/v2.0\/authorize?client_id=030b1088-cc1d-4129-b624-4fe00cefeed6&amp;redirect_uri=https%3A%2F%2Fwww.bingmapsportal.com%2F&amp;response_mode=form_post&amp;response_type=id_token&amp;scope=openid%20profile&amp;state=OpenIdConnect.AuthenticationProperties%3DAyzxOejRikIRFxjXez7-P7cmFNwCMmC1Gk8UFOBUNWhMEOVIZrjVtYuck8gW8P58qZ-6QJOmBIrW4cv_qm9_7St7KNS5eux5xBFgsQqR1q_G_smGEDVANeE4_aGYc5nbH0faBxfZeYzuaexE_5tc9_RdudOEEQVfHMRVktwGLJBDWBEIirEnZI5kAeiAzLqrHQ2hXS0jQjheIVv6nEyRLa85raCiY4SBHs2JIyCAvsQ&amp;nonce=637207071424621059.ZDBkZmExNjctMWZiYS00NzMyLThkMjAtNDkyNGQ3MWZiMmZkNmFhY2Q2YWMtNDIwNC00YzA1LTg3YTEtMGNlOTRlZjJmMDJj&amp;x-client-SKU=ID_NET45&amp;x-client-ver=5.3.0.0\" target=\"_blank\" rel=\"noopener noreferrer\">Bing<\/a> einen kostenlosen Developer Key vom Typ Not-for-profit erstellen und in der <strong>\/usr\/share\/dump1090-mutability\/html\/config.js<\/strong> eintragen. Diese Datei ist gut kommentiert, hier meine Beispiel Datei ohne Uhr, Langenhagen, 4 Kreise und alles metrisch anzeigen:<\/p>\n<pre class=\"lang:default decode:true \" >\r\n\r\n\/\/ --------------------------------------------------------\r\n\/\/\r\n\/\/ This file is to configure the configurable settings.\r\n\/\/ Load this file before script.js file at gmap.html.\r\n\/\/\r\n\/\/ --------------------------------------------------------\r\n\r\n\/\/ -- Title Settings --------------------------------------\r\n\/\/ Show number of aircraft and\/or messages per second in the page title\r\nPlaneCountInTitle = true;\r\nMessageRateInTitle = false;\r\n\r\n\/\/ -- Output Settings -------------------------------------\r\n\/\/ Show metric values\r\n\/\/ The Metric setting controls whether metric (m, km, km\/h) or\r\n\/\/ imperial (ft, NM, knots) units are used in the plane table\r\n\/\/ and in the detailed plane info. If ShowOtherUnits is true,\r\n\/\/ then the other unit will also be shown in the detailed plane\r\n\/\/ info.\r\nMetric = true;\r\nShowOtherUnits = false;\r\n\r\n\/\/ -- Map settings ----------------------------------------\r\n\/\/ These settings are overridden by any position information\r\n\/\/ provided by dump1090 itself. All positions are in decimal\r\n\/\/ degrees.\r\n\r\n\/\/ Default center of the map.\r\nDefaultCenterLat = 52.4528001;\r\nDefaultCenterLon = 9.7443992;\r\n\/\/ The google maps zoom level, 0 - 16, lower is further out\r\nDefaultZoomLvl   = 10;\r\n\r\n\/\/ Center marker. If dump1090 provides a receiver location,\r\n\/\/ that location is used and these settings are ignored.\r\n\r\nSiteShow    = true;           \/\/ true to show a center marker\r\nSiteLat     = 52.4528001;            \/\/ position of the marker\r\nSiteLon     = 9.7443992;\r\nSiteName    = \"Langenhagen\"; \/\/ tooltip of the marker\r\n\r\n\/\/ -- Marker settings -------------------------------------\r\n\r\n\/\/ These settings control the coloring of aircraft by altitude.\r\n\/\/ All color values are given as Hue (0-359) \/ Saturation (0-100) \/ Lightness (0-100)\r\nColorByAlt = {\r\n        \/\/ HSL for planes with unknown altitude:\r\n        unknown : { h: 0,   s: 0,   l: 40 },\r\n\r\n        \/\/ HSL for planes that are on the ground:\r\n        ground  : { h: 120, s: 100, l: 30 },\r\n\r\n        air : {\r\n                \/\/ These define altitude-to-hue mappings\r\n                \/\/ at particular altitudes; the hue\r\n                \/\/ for intermediate altitudes that lie\r\n                \/\/ between the provided altitudes is linearly\r\n                \/\/ interpolated.\r\n                \/\/\r\n                \/\/ Mappings must be provided in increasing\r\n                \/\/ order of altitude.\r\n                \/\/\r\n                \/\/ Altitudes below the first entry use the\r\n                \/\/ hue of the first entry; altitudes above\r\n                \/\/ the last entry use the hue of the last\r\n                \/\/ entry.\r\n                h: [ { alt: 2000,  val: 20 },    \/\/ orange\r\n                     { alt: 10000, val: 140 },   \/\/ light green\r\n                     { alt: 40000, val: 300 } ], \/\/ magenta\r\n                s: 85,\r\n                l: 50,\r\n        },\r\n\r\n        \/\/ Changes added to the color of the currently selected plane\r\n        selected : { h: 0, s: -10, l: +20 },\r\n\r\n        \/\/ Changes added to the color of planes that have stale position info\r\n        stale :    { h: 0, s: -10, l: +30 },\r\n\r\n        \/\/ Changes added to the color of planes that have positions from mlat\r\n        mlat :     { h: 0, s: -10, l: -10 }\r\n};\r\n\r\n\/\/ For a monochrome display try this:\r\n\/\/ ColorByAlt = {\r\n\/\/         unknown :  { h: 0, s: 0, l: 40 },\r\n\/\/         ground  :  { h: 0, s: 0, l: 30 },\r\n\/\/         air :      { h: [ { alt: 0, val: 0 } ], s: 0, l: 50 },\r\n\/\/         selected : { h: 0, s: 0, l: +30 },\r\n\/\/         stale :    { h: 0, s: 0, l: +30 },\r\n\/\/         mlat :     { h: 0, s: 0, l: -10 }\r\n\/\/ };\r\n\r\n\/\/ Outline color for aircraft icons with an ADS-B position\r\nOutlineADSBColor = '#000000';\r\n\r\n\/\/ Outline color for aircraft icons with a mlat position\r\nOutlineMlatColor = '#4040FF';\r\n\r\nSiteCircles = true; \/\/ true to show circles (only shown if the center marker is shown)\r\n\/\/ In nautical miles or km (depending settings value 'Metric')\r\nSiteCirclesDistances = new Array(10,50,100,150);\r\n\r\n\/\/ Show the clocks at the top of the righthand pane? You can disable the clocks if you want here\r\nShowClocks = false;\r\n\r\n\/\/ Controls page title, righthand pane when nothing is selected\r\nPageName = \"Flugzeuge\";\r\n\r\n\/\/ Show country flags by ICAO addresses?\r\nShowFlags = true;\r\n\r\n\/\/ Path to country flags (can be a relative or absolute URL; include a trailing \/)\r\nFlagPath = \"flags-tiny\/\";\r\n\r\n\/\/ Set to true to enable the ChartBundle base layers (US coverage only)\r\nChartBundleLayers = true;\r\n\r\n\/\/ Provide a Bing Maps API key here to enable the Bing imagery layer.\r\n\/\/ You can obtain a free key (with usage limits) at\r\n\/\/ https:\/\/www.bingmapsportal.com\/ (you need a \"basic key\")\r\n\/\/\r\n\/\/ Be sure to quote your key:\r\n\/\/   BingMapsAPIKey = \"your key here\";\r\n\/\/\r\nBingMapsAPIKey = \"hier den key von Bing einf\u00fcgen\";\r\n\r\n\/\/ Provide a Mapzen API key here to enable the Mapzen vector tile layer.\r\n\/\/ You can obtain a free key at https:\/\/mapzen.com\/developers\/\r\n\/\/ (you need a \"vector tiles\" key)\r\n\/\/\r\n\/\/ Be sure to quote your key:\r\n\/\/   MapzenAPIKey = \"your key here\";\r\n\/\/\r\nMapzenAPIKey = \"hier den key von Mapzen einf\u00fcgen\";<\/pre>\n<p>Das Ergebnis nach einem Browser reload mit der Bing-Map (Roads), unten links eine Tripel 7:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53.png\" alt=\"bildschirmfoto-2016-10-22-um-19-45-53\" width=\"2213\" height=\"1218\" class=\"aligncenter size-full wp-image-7391\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53.png 2213w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53-300x165.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53-768x423.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.45.53-1024x564.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Oben rechts <\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.54.49.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.54.49.png\" alt=\"bildschirmfoto-2016-10-22-um-19-54-49\" width=\"779\" height=\"546\" class=\"aligncenter size-full wp-image-7397\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.54.49.png 779w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.54.49-300x210.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.54.49-768x538.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>kann man auch noch eine andere Bing-Map (Aerial) einstellen. Das sieht dann so aus:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01.png\" alt=\"bildschirmfoto-2016-10-22-um-19-49-01\" width=\"2210\" height=\"1221\" class=\"aligncenter size-full wp-image-7393\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01.png 2210w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01-300x166.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01-768x424.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2016\/10\/Bildschirmfoto-2016-10-22-um-19.49.01-1024x566.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bin nun wieder von meiner Weltreise zur\u00fcck. In der zwischenzeit gab es einige Updates. Es gibt eine neue Version von PiAware mit der Nummer 3.5.3 Deshalb diese Version laden und gleich das ganze System updaten: wget http:\/\/flightaware.com\/adsb\/piaware\/files\/packages\/pool\/piaware\/p\/piaware-support\/piaware-repository_3.5.3_all.deb sudo dpkg -i piaware-repository_3.5.3_all.deb sudo apt-get update sudo apt-get upgrade sudo apt-get install piaware piaware -v # Ergebnis &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=7385\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eUpdate des Raspberry Pi mit PiAware von 2.1 auf 3.5.3 und Bing Map einstellen\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":{"footnotes":""},"categories":[2173,2453,1023],"tags":[2484,2655,2656,1793,584,1799,819,279,2657,1876,191],"class_list":["post-7385","post","type-post","status-publish","format-standard","hentry","category-debian","category-dump1090","category-raspberry-pi","tag-2484","tag-bing","tag-bing-map","tag-dump1090","tag-flug","tag-flugzeuge","tag-key","tag-map","tag-mapzen","tag-piaware","tag-update"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/7385","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=7385"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/7385\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7385"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}