10/18/2023 Map Stopped Working?
Visit this post for the fix
I'm an amateur and my map has been working great for about 2 years, and now is not even coming on. I assume this is the issue correct? Is the easiest way to fix by just uploading new image to the Micro SD. Do you have beginner instructions for doing this so I don't erase anything important and have to start over.
Thanks in advance
Scott
Hello,
I think I found a fix for the new API.
It works on my end.
Maybe someone else can test it as well to double check.
Changes made in those files. Instead of changing the value you can comment out the original variable with a # and paste in the changes.
metar-v4.py
#Line 577 (maybe different, but in that ballpark) #Change url to this url = "https://aviationweather.gov/api/data/metar?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow="+str(metar_age)+"&ids=" #Line 585 #change url for tafs to this url = "https://aviationweather.gov/api/data/taf?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow="+str(metar_age)+"&ids="
metar-display-v4.py
#Line ~610 #Change url to this url = "https://aviationweather.gov/api/data/metar?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow="+str(metar_age)+"&ids=" #Line ~620 #Change url to this url = "https://aviationweather.gov/api/data/taf?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow="+str(metar_age)+"&ids="
webapp.py
#Line ~117 #change orig_apurl to this orig_apurl = "https://aviationweather.gov/api/data/stationinfo?format=xml&ids=" #Line #change led_map_url to this led_map_url = "https://aviationweather.gov/api/data/metar?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow=2.5&ids="
wipes-v4.py
#Line 669 #change url to this url = "https://aviationweather.gov/api/data/metar?format=xml&mostRecentForEachStation=constraint&hoursBeforeNow="+str(metar_age)+"&ids="
There is one more change I forgot to add:
metar-v4.py
#Line 595 # change contentStart contentStart = ['<response xmlns:xsd=" removed link " xmlns:xsi=" removed link " version="1.2" xsi:noNamespaceSchemaLocation=" removed link ">']
Yes, downloading the new image would be an easy way to do it, unless you are comfortable editing the files from the command line. The instructions for installing the image is at; https://www.livesectional.com/configuring-the-software/
Also, be sure to save the 3 data files; config, airports, hmdata before making the change. You can do this through the utilities menu. Then when you reburn the new image, you can import your data files to make things go quicker. - Mark
@markyharris Im a beginner at this and want to make sure I do correctly.......can I just pull microsd card and upload image file to it and not erase the other files....correct?
Here is a quick tutorial to update the map to the new FAA API.
- Download & Install WinSCP:
- It’s a free program available here: https://winscp.net/eng/index.php
- Install & Launch WinSCP:
- If the login window isn’t automatically visible, select “New Session”.
- Download the updated files for your map.
- Setup Connection:
- Choose “New Site”.
- Input the IP address of your map into the “Host name” field.
- Set the User name as: pi
- The password is: livesectional
- Advanced Settings:
- Click on “Advanced”.
- Navigate to “SFTP” and paste this text: sudo su -c /usr/lib/sftp-server
into the “SFTP server” field. - Confirm by pressing “OK”.
- Initiate Connection:
- Click “Login” to connect to your map.
- Navigate to Root Folder:
- Continuously click on the two dots until you reach the root folder.
- From there, select the “Neosectional” directory.
- Transfer Files:
- Drag and drop the four specified files into the folder.
- Restart Your Map:
- Power off, then power on your map.
Marty and I have been working through this, with the yeoman's amount of the lifting being done by Marty. So thank you Marty.
Marty's fix jumps us to the New API, which is the permanent fix. We will be testing this for a bit longer, then assuming no issues pop up we will upload a new Image. The version number using the new FAA API will be 4.5xx so keep an eye out for it. Obviously an announcement will be posted once this image becomes available.
Thanks for everyone's patience. - Mark
I was afraid my Pi burned out as there was nothing displayed for a couple weeks. Thanks for working on a solution. I'm downloading 4.4 now and hope I get this working again. Now I just need to find my backups of the layout and settings to restore from.
Ron, if you want to wait few more days we'll have another image available that will be using the new FAA API which should be the 'Permanent' fix assuming the FAA doesn't change it again. 🙂 Otherwise, if it stops working in the future you can always come back for the latest version.
BTW, you should still be able to download the data files from the web admin even if the LED's are not lighting up. Just pull up the URL in a web browser that is connected to the same Wifi network as the map. - Mark
I upgraded to V4.4 and after connecting to wifi and uploading my settings its working again!
Great to hear. - Mark
I think part of the new API is down again. The one for the station information. I get a 500 error.
I tried it on their site, https://aviationweather.gov/data/api/#/Data/dataStationInfo and it errored out there too. Hopefully they will fix it soon. - Mark
@markyharris I'll definitely come back in a few days for the permanent fix, it wasn't too hard to do the upgrade. I was surprised how depressed I was not seeing the map lit up. I'm happy again.
Since I got V4.4 running two airports do not report weather. I'm not sure if its related but wanted to report it. They are RHV and E16. Foreflight doesn't show weather either.
Also in the early morning both RHV and PAO don't show any weather until after 7 am while all the other airports have a METAR.