Thanks for the hardware suggestion. I swapped out the Pi with a Pi 3 B v1.2, and both appear to be working fine now. I haven’t actually observed any 978 traffic yet, but it’s a rainy day here, so I’ll just have to keep waiting for that.
Thanks for the suggestion. SSH & WiFI were already there (item 2). Now added the above link to first post, item 2.1
Fyi, I checked out the link you added to item 2.1, and nowhere in that article (that I could spot) does it actually say what the default login credentials are (pi / flightaware). That was the only thing that tripped me up… I could connect but had no idea what user name / password to use.
I checked out the link you added to item 2.1, and nowhere in that article (that I could spot) does it actually say what the default login credentials are (pi / flightaware). That was the only thing that tripped me up
Thanks for pointing out. Added username & password info in item 2.1
Multiple consecutive messages with same address. Also the lat & lon are not very far from my location. Not sure, but looks like genuine data.
http://192.168.0.21/skyview978/uat978.json
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-109,"ground_speed":124,"metadata":{"errors":3,"received_at":1555514853.613,"rssi":-24.4},"nic":9,"north_velocity":61,"position":{"lat":43.35044,"lon":-77.78074},"pressure_altitude":12425,"true_track":299.2,"uplink_feedback":7,"utc_coupled":true,"vertical_velocity_geometric":512,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"capability_codes":{"es_in":true,"tcas_operational":false,"uat_in":true},"east_velocity":-117,"emergency":0,"emitter_category":1,"flightplan_id":"5155","geometric_altitude":12400,"ground_speed":123,"gva":2,"metadata":{"errors":3,"received_at":1555514854.843,"rssi":-24.1},"mops_version":2,"nac_p":10,"nac_v":2,"nic":9,"nic_baro":0,"nic_supplement":false,"north_velocity":40,"operational_modes":{"atc_services":false,"ident_active":false,"tcas_ra_active":false},"position":{"lat":43.3507,"lon":-77.78162},"pressure_altitude":12450,"sda":2,"sil":3,"sil_supplement":0,"single_antenna":true,"transmit_mso":55,"true_track":288.9,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":576,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-122,"ground_speed":124,"metadata":{"errors":3,"received_at":1555514855.883,"rssi":-23.0},"nic":9,"north_velocity":22,"position":{"lat":43.35083,"lon":-77.78239},"pressure_altitude":12450,"true_track":280.2,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":576,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-124,"geometric_altitude":12400,"ground_speed":124,"metadata":{"errors":4,"received_at":1555514856.495,"rssi":-22.8},"nic":9,"north_velocity":11,"position":{"lat":43.35085,"lon":-77.78286},"pressure_altitude":12450,"true_track":275.1,"uplink_feedback":6,"utc_coupled":true,"vertical_velocity_geometric":512,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-125,"geometric_altitude":12425,"ground_speed":125,"metadata":{"errors":3,"received_at":1555514857.537,"rssi":-21.7},"nic":9,"north_velocity":-13,"position":{"lat":43.35083,"lon":-77.78365},"pressure_altitude":12475,"true_track":264.1,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":448,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"callsign":"N61RW","capability_codes":{"es_in":true,"tcas_operational":false,"uat_in":true},"east_velocity":-120,"emergency":0,"emitter_category":1,"geometric_altitude":12425,"ground_speed":130,"gva":2,"metadata":{"errors":6,"received_at":1555514859.396,"rssi":-25.0},"mops_version":2,"nac_p":10,"nac_v":2,"nic":9,"nic_baro":0,"nic_supplement":false,"north_velocity":-51,"operational_modes":{"atc_services":false,"ident_active":false,"tcas_ra_active":false},"position":{"lat":43.35048,"lon":-77.78522},"pressure_altitude":12475,"sda":2,"sil":3,"sil_supplement":0,"single_antenna":true,"transmit_mso":55,"true_track":247.0,"uplink_feedback":3,"utc_coupled":true,"vertical_velocity_geometric":448,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-99,"ground_speed":140,"metadata":{"errors":2,"received_at":1555514861.833,"rssi":-23.2},"nic":9,"north_velocity":-99,"position":{"lat":43.34958,"lon":-77.78685},"pressure_altitude":12500,"true_track":225.0,"uplink_feedback":6,"utc_coupled":true,"vertical_velocity_geometric":128,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-91,"geometric_altitude":12450,"ground_speed":143,"metadata":{"errors":4,"received_at":1555514862.416,"rssi":-23.2},"nic":9,"north_velocity":-111,"position":{"lat":43.34926,"lon":-77.78719},"pressure_altitude":12500,"true_track":219.3,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":128,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-47,"ground_speed":156,"metadata":{"errors":4,"received_at":1555514866.186,"rssi":-24.9},"nic":9,"north_velocity":-149,"position":{"lat":43.34686,"lon":-77.78872},"pressure_altitude":12500,"true_track":197.5,"uplink_feedback":5,"utc_coupled":true,"vertical_velocity_geometric":128,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-17,"ground_speed":162,"metadata":{"errors":6,"received_at":1555514868.939,"rssi":-25.1},"nic":9,"north_velocity":-162,"position":{"lat":43.344970000000004,"lon":-77.78923},"pressure_altitude":12500,"true_track":186.0,"uplink_feedback":5,"utc_coupled":true,"vertical_velocity_geometric":256,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-15,"ground_speed":163,"metadata":{"errors":4,"received_at":1555514869.313,"rssi":-25.4},"nic":9,"north_velocity":-163,"position":{"lat":43.34467,"lon":-77.78928},"pressure_altitude":12500,"true_track":185.3,"uplink_feedback":4,"utc_coupled":true,"vertical_velocity_geometric":256,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":150,"geometric_altitude":12525,"ground_speed":202,"metadata":{"errors":7,"received_at":1555515145.662,"rssi":-25.0},"nic":9,"north_velocity":-136,"position":{"lat":43.16749,"lon":-77.54056},"pressure_altitude":12575,"true_track":132.2,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-103,"ground_speed":121,"metadata":{"errors":6,"received_at":1555515386.457,"rssi":-27.7},"nic":9,"north_velocity":64,"position":{"lat":43.02506,"lon":-77.34978},"pressure_altitude":12400,"true_track":301.9,"uplink_feedback":4,"utc_coupled":true,"vertical_velocity_geometric":256,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-96,"ground_speed":132,"metadata":{"errors":2,"received_at":1555515732.848,"rssi":-24.8},"nic":9,"north_velocity":91,"position":{"lat":43.1653,"lon":-77.55313},"pressure_altitude":12500,"true_track":313.5,"uplink_feedback":7,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-96,"ground_speed":132,"metadata":{"errors":5,"received_at":1555515733.176,"rssi":-24.7},"nic":9,"north_velocity":91,"position":{"lat":43.16548,"lon":-77.55337},"pressure_altitude":12500,"true_track":313.5,"uplink_feedback":7,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-97,"ground_speed":133,"metadata":{"errors":6,"received_at":1555515735.342,"rssi":-25.2},"nic":9,"north_velocity":91,"position":{"lat":43.16633,"lon":-77.55459},"pressure_altitude":12500,"true_track":313.2,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-97,"ground_speed":132,"metadata":{"errors":6,"received_at":1555515738.906,"rssi":-25.1},"nic":9,"north_velocity":90,"position":{"lat":43.16784,"lon":-77.5568},"pressure_altitude":12500,"true_track":312.9,"uplink_feedback":7,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-98,"ground_speed":133,"metadata":{"errors":5,"received_at":1555515740.25,"rssi":-26.0},"nic":9,"north_velocity":90,"position":{"lat":43.16842,"lon":-77.55766},"pressure_altitude":12500,"true_track":312.6,"uplink_feedback":7,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
{"address":"a7edf1","address_qualifier":0,"airground_state":0,"east_velocity":-99,"ground_speed":133,"metadata":{"errors":4,"received_at":1555515746.442,"rssi":-24.9},"nic":9,"north_velocity":89,"position":{"lat":43.17097,"lon":-77.56152},"pressure_altitude":12475,"true_track":312.0,"uplink_feedback":0,"utc_coupled":true,"vertical_velocity_geometric":-64,"vv_src":0}
It’s real data, especially since the address and callsign match. It’s a long way from its home in Las Vegas.
It’s a long way from its home in Las Vegas.
It is.
Plotted its position from lat & lon in one of the messages, it is above lake Ontario, close to Rochester, and some distance from Niagra Falls.
Seem to be picking up UAT signals but nothing on the map and I get this error:
“SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON data”
Looking at the .json file I don’t see the error in the file, but maybe looking at the wrong file…
Provide the file please, it should be located at this address:
http://pi/skyview978/data/aircraft.json
(it may also be receiver.json)
http://pi/skyview978/data/receiver.json
(replace pi with the IP of your RPi)
just rebooted the pi, this is aircraft.json
1st address:
aircraft | |
---|---|
messages | 0 |
now | 1555537491.266 |
This is the second address (receiver.json
history | 120 |
---|---|
lat | 49.xxxx |
lon | -97.xxxx |
refresh | 1000 |
version | “dump978 3.7.0.1” |
replaced the fine detailed location with xxx
just rebooted the pi, this is aircraft.json
Can you provide the raw files, this is a parsed version.
Is the error still present?
Maybe you could pull up the browser console (F12 i think) and maybe it has more details.
Here’s the raw webdata; a few lines anyway. Not sure if this is what you are looking for…
{“address”:“c08051”,“address_qualifier”:0,“airground_state”:0,“east_velocity”:201,“ground_speed”:312,“metadata”:{“errors”:2,“received_at”:1555365335.57,“rssi”:-33.2},“nic”:9,“north_velocity”:239,“position”:{“lat”:49.6664,“lon”:-97.75459},“pressure_altitude”:9175,“true_track”:40.1,“uplink_feedback”:0,“utc_coupled”:true,“vertical_velocity_barometric”:-1280,“vv_src”:1}
{“address”:“c08051”,“address_qualifier”:0,“airground_state”:0,“east_velocity”:164,“geometric_altitude”:7850,“ground_speed”:312,“metadata”:{“errors”:3,“received_at”:1555365371.413,“rssi”:-32.7},“nic”:9,“north_velocity”:266,“position”:{“lat”:49.70919,“lon”:-97.70981},“pressure_altitude”:8275,“true_track”:31.7,“uplink_feedback”:1,“utc_coupled”:true,“vertical_velocity_barometric”:-1600,“vv_src”:1}
{“address”:“c08051”,“address_qualifier”:0,“airground_state”:0,“east_velocity”:162,“geometric_altitude”:7425,“ground_speed”:305,“metadata”:{“errors”:4,“received_at”:1555365387.303,“rssi”:-32.0},“nic”:9,“north_velocity”:259,“position”:{“lat”:49.72837,“lon”:-97.69148},“pressure_altitude”:7875,“true_track”:32.0,“uplink_feedback”:0,“utc_coupled”:true,“vertical_velocity_barometric”:-1536,“vv_src”:1}
That is not the skyview data; that is the raw message data, which is not used by skyview directly.
abcd’s thing to capture the raw messages is not part of skyview and you shouldn’t try to use that to provide data to skyview.
abcd’s thing to capture the raw messages is not part of skyview and you shouldn’t try to use that to provide data to skyvie
You are right.
I would like to elaborate that I use this method to log raw data in a file (uat978.json) which I have created myself and is not part of Piaware SD card image.
This file is NOT in anyway part of processes used by dump978-fa or skyview978, or piaware. Also it does not disturb or interfere into any of the processes of piaware.
It is purely a log file of raw data for my personal use. The reason I created it is that I cannot keep staring on skyview978 map contnously, waiting for occassional appearances & quick disappearance of uat aircafts flying in usa air space, acoss the canada-usa border.
That’s exactly why I am using it, wanted to see what is around when I can’t be around a screen to see it. For that it works, it is logging traffic. Also close to the border here so it is advantageous to have UAT capability. This is a test receiver so it gets played with.
I have two dongles running on this Pi, the 1090 is connected to a sinclair 310C4 antenna on my tower, logs a plane or two once in a while too. The 978 is on a colinear, working on figuring out range on some of the “pings”.
The flightware/Piaware software is working fine. I don’t want to confuse anyone. I can contact abcd567 direct for future direction.
This is what I get from "http://192.168.0.21/skyview978/data/aircraft.json"
1/3 - JSON
2/3 - Raw Data
3/3 - Headers
.
This is what I get from log file (uat978.json), which I created for logging raw data, before it is processed & filtered by Piaware
.
.
Ah i understand, thought it was a SkyView error.
The log file isn’t a valid json file you have to look at the raw data.
The log file isn’t a valid json file you have to look at the raw data.
The Raw Data from file aircraft.json
is always a single short line as in screenshot 2/3:
{"aircraft":[],"messages":1181,"now":1555566955.269}
.
Happy Aniversary
The Raw Data from file
aircraft.json
is always a single short line as in screenshot 2/3:
Yeah but it’s a valid json file.
Also for other people who actually receive aircraft it’s not a single line
(Or maybe it is but i don’t think newlines are important in regards to the json format)
Also for other people who actually receive aircraft it’s not a single line
Today at midday I did see one aircraft on Skyview978 map, but after seeing it when I checked /usr/share/skyview978/html/data/aircraft.json
. it still contained the same information-less useless single entry
pi@piaware:~ $ cat /usr/share/skyview978/html/data/aircraft.json
{ "now" : 1497651582.3,
"messages" : 4068951,
"aircraft" : []
}
Even the only info (date) is bogus:
date -d @1497651582.3
Fri Jun 16 18:19:42 EDT 2017