{"id":15828,"date":"2023-09-09T18:40:31","date_gmt":"2023-09-09T08:40:31","guid":{"rendered":"https:\/\/australianmetarmaps.com.au\/?page_id=15828"},"modified":"2023-09-09T18:46:23","modified_gmt":"2023-09-09T08:46:23","slug":"how-change-your-config-file","status":"publish","type":"page","link":"https:\/\/australianmetarmaps.com.au\/index.php\/how-change-your-config-file\/","title":{"rendered":"How to change your config file"},"content":{"rendered":"\n  <div id=\"page-header-55076294\" class=\"page-header-wrapper\">\n  <div class=\"page-title light simple-title\">\n\n    \n    <div class=\"page-title-inner container align-center text-center flex-row-col medium-flex-wrap\" >\n              <div class=\"title-wrapper is-large flex-col\">\n          <h1 class=\"entry-title mb-0\">\n            How to change your config file          <\/h1>\n        <\/div>\n                    <div class=\"title-content flex-col\">\n        <div class=\"title-breadcrumbs pb-half pt-half\"><nav class=\"woocommerce-breadcrumb breadcrumbs uppercase\" aria-label=\"Breadcrumb\">Home<\/nav><\/div>      <\/div>\n    <\/div>\n\n       <\/div>\n    <\/div>\n  \n\n<p>Your METAR map has a few options that you can change if you want to.<\/p>\n<p>Here is the list of options that you can change at the moment:<\/p>\n<ul>\n<li>Brightness of the LEDs<\/li>\n<li>Colours of the LEDs<\/li>\n<li>Lightning being displayed<\/li>\n<li>How long the lightning will be displayed<\/li>\n<li>How often the map will refresh the METARs<\/li>\n<li>Whether to fade the METAR changes or not<\/li>\n<li>Whether you want Unknown METARs to show something or not<\/li>\n<li>High winds being displayed<\/li>\n<li>Wind speed to trigger the high winds<\/li>\n<li>How long the high winds will be displayed<\/li>\n<li>The sources that the map will look to for METARs<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>What you will need:<\/p>\n<ul>\n<li>Windows or Mac PC connected to the same network as your map<\/li>\n<li>Putty installed if using windows (<a href=\"https:\/\/www.putty.org\/\">https:\/\/www.putty.org\/<\/a>)<\/li>\n<li>The IP address of the Raspberry Pi your map uses. This is usually found on your WIFI routers settings page<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Once you have all of these things you will need to connect to your maps Raspberry Pi by opening up Putty and typing the IP address into the field and pressing enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12560\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/1 Putty.png\" alt=\"\" width=\"677\" height=\"676\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/1%20Putty.png 677w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/1%20Putty-300x300.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/1%20Putty-150x150.png 150w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/1%20Putty-510x509.png 510w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/1%20Putty-100x100.png 100w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>There may be a prompt that pops up. Just click &#8216;Yes&#8217;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12561\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/2 Putty accept.png\" alt=\"\" width=\"560\" height=\"477\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2%20Putty%20accept.png 560w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2%20Putty%20accept-300x256.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2%20Putty%20accept-510x434.png 510w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>When it connects to the raspberry pi it should ask you for a username and password.<\/p>\n<blockquote>\n<p>Username: pi<\/p>\n<p>Password: raspberry<\/p>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-12562\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/3 login-1024x583.png\" alt=\"\" width=\"1020\" height=\"581\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/3%20login-1024x583.png 1024w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/3%20login-300x171.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/3%20login-768x438.png 768w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/3%20login-510x291.png 510w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/3%20login.png 1390w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<p>Once logged in you will need to type&nbsp;<\/p>\n<blockquote>\n<p>sudo nano \/etc\/rpi_metar.conf<\/p>\n<\/blockquote>\n<p>and press ENTER<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15832\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/2023\/09\/sudo-config.png\" alt=\"\" width=\"1521\" height=\"662\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/sudo-config.png 1521w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/sudo-config-300x131.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/sudo-config-1024x446.png 1024w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/sudo-config-768x334.png 768w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/sudo-config-510x222.png 510w\" sizes=\"auto, (max-width: 1521px) 100vw, 1521px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You will now be in your config file.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15830\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/2023\/09\/Config-file-top.png\" alt=\"\" width=\"1958\" height=\"1069\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top.png 1958w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top-300x164.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top-1024x559.png 1024w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top-768x419.png 768w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top-1536x839.png 1536w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-file-top-510x278.png 510w\" sizes=\"auto, (max-width: 1958px) 100vw, 1958px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Scroll down with the arrow or page down keys to the bottom and you will see a section called settings and possibly 2 other sections called legend, colors or flight_categories.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15831\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/2023\/09\/Config-settings.png\" alt=\"\" width=\"2226\" height=\"1465\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings.png 2226w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-300x197.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-1024x674.png 1024w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-768x505.png 768w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-1536x1011.png 1536w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-2048x1348.png 2048w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/2023\/09\/Config-settings-510x336.png 510w\" sizes=\"auto, (max-width: 2226px) 100vw, 2226px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>This is where you can change any of the options.<\/p>\n<p>If you want to change the colours of the LED&#8217;s you can make the [flight_categories] section and below it is where you can make the changes just like in the above example.<\/p>\n<p>If you want to make custom colours you would make the [colors] section and use GRB (Green, Red, Blue) as your guide. For example, full green is (255, 0, 0) and red is (0, 255, 0).<\/p>\n<p>This can take a lot of trial and error to get perfect.<\/p>\n<p>More info about the settings can be found here<\/p>\n<p><a href=\"https:\/\/github.com\/thommo17\/rpi_metar_au#configuration\">https:\/\/github.com\/thommo17\/rpi_metar_au#configuration<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>When finished you can save the file by pressing CTRL+O and enter then CTRL+X<\/p>\n<p>The changes will take effect on the next restart which you can do straight away with<\/p>\n<blockquote>\n<p>sudo reboot<\/p>\n<\/blockquote>\n<p>or to just restart the program and not the whole Raspberry Pi<\/p>\n<blockquote>\n<p>sudo systemctl restart rpi_metar_au<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-12564\" src=\"http:\/\/10.1.1.11:91\/wp-content\/uploads\/5 reboot-1024x583.png\" alt=\"\" width=\"1020\" height=\"581\" srcset=\"https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/5%20reboot-1024x583.png 1024w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/5%20reboot-300x171.png 300w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/5%20reboot-768x438.png 768w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/5%20reboot-510x291.png 510w, https:\/\/australianmetarmaps.com.au\/wp-content\/uploads\/5%20reboot.png 1390w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it. Your Map should now have the new config file programmed in and ready to go.<\/p>\n<p>&nbsp;<\/p>\n<p>If you have any issues you can always ask me to help<\/p>\n<p><a href=\"http:\/\/10.1.1.11:91\/index.php\/contact-me\/\">Contact me here<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-15828","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/pages\/15828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=15828"}],"version-history":[{"count":6,"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/pages\/15828\/revisions"}],"predecessor-version":[{"id":15838,"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/pages\/15828\/revisions\/15838"}],"wp:attachment":[{"href":"https:\/\/australianmetarmaps.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=15828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}