Announcing PiAware 5!

No customization with lighttpd.

pi@piaware:~ $ md5sum /etc/lighttpd/lighttpd.conf /etc/lighttpd/conf-enabled/*
c8b83b69abe735eb863854512b7d1f91  /etc/lighttpd/lighttpd.conf
5b57f4e1ea3a44819872a19b677f7b34  /etc/lighttpd/conf-enabled/50-piaware.conf
49ee407afe8966c8bd1254ab1998831b  /etc/lighttpd/conf-enabled/88-dump1090-fa-statcache.conf
13b594d839778845d775e6f55937131c  /etc/lighttpd/conf-enabled/88-graphs1090.conf
c08819655d9f1429bb991a9e8b1d791b  /etc/lighttpd/conf-enabled/89-dump1090-fa.conf
e3aa6136301a7cb8a955f6ffd863a4df  /etc/lighttpd/conf-enabled/89-skyaware.conf

On x86:

pi@fabian64:~$ md5sum /etc/lighttpd/lighttpd.conf /etc/lighttpd/conf-enabled/*
c8b83b69abe735eb863854512b7d1f91  /etc/lighttpd/lighttpd.conf
5b57f4e1ea3a44819872a19b677f7b34  /etc/lighttpd/conf-enabled/50-piaware.conf
49ee407afe8966c8bd1254ab1998831b  /etc/lighttpd/conf-enabled/88-dump1090-fa-statcache.conf
13b594d839778845d775e6f55937131c  /etc/lighttpd/conf-enabled/88-graphs1090.conf
c08819655d9f1429bb991a9e8b1d791b  /etc/lighttpd/conf-enabled/89-dump1090-fa.conf
e3aa6136301a7cb8a955f6ffd863a4df  /etc/lighttpd/conf-enabled/89-skyaware.conf
568434a47d89bb89ecf81c8f9c4e1669  /etc/lighttpd/conf-enabled/90-javascript-alias.conf

(I verified that md5sum operates on dereference source, not the symlink itself.) I cannot tell why there is one more config javascript-alias.conf on fabian64 (or why it is absent on piaware even under conf-available/). But this was an old one and a simple one.

pi@fabian64:~$ ls -l /etc/lighttpd/conf-enabled/90-javascript-alias.conf 
lrwxrwxrwx 1 root root 42 Oct 27 07:53 /etc/lighttpd/conf-enabled/90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf
pi@fabian64:~$ ls -l /etc/lighttpd/conf-available/90-javascript-alias.conf
-rw-r--r-- 1 root root 56 Jul 28  2013 /etc/lighttpd/conf-available/90-javascript-alias.conf
pi@fabian64:~$ cat /etc/lighttpd/conf-enabled/90-javascript-alias.conf
alias.url += ("/javascript" => "/usr/share/javascript")

Hi there abcd567

Many thanks for your advice. I successfully moved from Stretch to the latest version of Buster. The map now has the ability to show flight numbers on the map as well as work with filters. Interestingly the map is still showing " 5.0-bp09+1"

Cheers
Mark

Clear browser cache: Ctrl+Shift+Delete
Reload browser: Ctrl+F5

 

Updated, but seems to be about the same as it was before. For you next upgrade/update, have you considered improving the aircraft type identification? The main reason I close my piaware window down and go to virtual radar is 90% of the time aircraft type=NA. Then it’s 5 clicks and 2 other webpages just to see what I’m looking at, while flight radar 95% of the time pulls up the aircraft type and even a photo when you select the target. Making the interface and experience better for the folks who are helping feed your data would seem to be a good idea.

It’s not quite as convenient as having the data directly available, but try clicking on the “view flight page” button.

When I check piaware-status, it always says
dump978 is producing data on localhost:30978.

When I check my Piaware Status (version 5) page on the web, it indicates, correctly, connected to UAT receiver, but no recent data seen. Given that it’s 11:30 pm EDT, that is what is expected. Checking graphs1090: Performance Graphs, it also indicates my station has not seen any UAT aircraft in over 2 hours. Again, expected this time of the night.

Everything looks the same as before when running the command piaware-status except for the dump978 is producing data on localhost:30978 message is constant.

PiAware ADS-B UAT client (faup978) is running with pid 30539.
~
~
Local ADS-B UAT receiver (dump978-fa) is running with pid 30412.
~
~
dump978-fa (pid 30412) is listening for UAT connections on port 30978.
~
~
faup978 is connected to the ADS-B UAT receiver.
~ 
~
dump978 is producing data on localhost:30978.

Checking the gear icon on my user page, this is the most current message concerning 978:

[2021-03-21 23:36 EDT] 18491 msgs recv’d from dump978-fa (0 in last 5m); 18491 msgs sent to FlightAware

The last time any messages were sent, 55 minutes ago, one(1). Prior to that an hour and 55 minutes ago:

[2021-03-21 22:41 EDT] 18491 msgs recv’d from dump978-fa (1 in last 5m); 18491 msgs sent to FlightAware

[2021-03-21 21:41 EDT] 18490 msgs recv’d from dump978-fa (28 in last 5m); 18490 msgs sent to FlightAware

So my question is whether i am truly getting a dump978 status with the piaware-status command if it says I’m producing data when in fact i’m not? Or has the behavior changed just to indicate that all is well and connected. Previously, it would indicate that i’m not producing data. Thanks for any advice!

Thanks for the suggestion. I had actually tried that but made no difference.

If I haven’t fired up virtual radar, that’s what I do. It’s just slow and clunky, especially if you are wanting to quickly identify a few aircraft. Maybe it’s just me, but for watching aircraft some of the primary things I am interested in is who/what is it.

This is normal. It’s checking that dump978 is responsive, not actually checking for off-the-air data.
(This behaviour did change in 5.0 as dump978 now always produces a metadata message on initial connection)

1 Like

PiAware 5 really increased the number of “Tracks with single message” and as a consequence the CPU used to “Demodulator”

dump1090-localhost-tracks-48h

dump1090-localhost-cpu-48h

Could JS interpretation be temperamental in browser? Or maybe two URLs using same JS in one browser will override each other? After meticulous verification that there is no discrepancy in lighttpd configs between the two, I opened the same URLs on another Mac. The behaviors reversed: piaware behaves 5.0-like (i.e., with warning), while fabian64 is now a 4.0-5.0 hybrid, with no warning in old /dump1090-fa/ interface. The two Macbooks run the same version of MacOS, same version of Safari. The only difference is in hardware.

My graph about ADS-B utilization : version 3.8.1 then 4 from sept 2020 and now 5
dump1090-localhost-cpu-180d

2 Likes

did you check if the gain setting has been changed?

Could be possible, with the upgrade the config of dump1090-fa was overwritten, because I said yes on the questions asked, so I had it to set again it can be a different value now.
I have setting of 43.9 now, it’s possible that it was 44.5 before :thinking:

I allowed the 5.O upgrade to run from the Piaware Stat’s screen. As you can see the update seemed to go just fine.

However I am seeing the following message in the logs:

/usr/local/share/tar1090/tar1090.sh: line 104 978.json: No such file or directory

I am running two dongles 1-1090 1-978

I also am getting this result when trying to view wiedehopf’s graphs:

image

I wonder if I missed a couple of steps, Thanks.

So, I did some deeper digging and walked through issues with lighttpd and dump1090-mutability. Leveraging a few notes from wiedehopf posts in GitHub was able to rerun the automatic install for dump1090 fa. Rebooted and life is good again. Thanks guys…

1 Like

Where should I set the --no-df-fix option for dump1090?

I jus upgraded an my PiZero CPU usage is constantly at 100% (up from 70-80%).

Thanks

No good place if it’s an piaware image.
Otherwise /etc/default/dump1090-fa.

If you need a somewhat complete guide to set up the RPi without using the piaware image, give this one a go: Raspbian Lite: ADS B receiver · wiedehopf/adsb-wiki Wiki · GitHub
readsb will auto-detect single core and reduce CPU usage, using dump1090-fa you’ll have to use the option mentioned, not sure how the CPU usage on an rpi zero compares exactly between the two decoders.

Upgraded to 5.0. Very easy and no issues.

Need to add filter option for ICAO. I would like to have the option to filter AExxxx flights.
thanks.

1 Like

FWIW my piaware sdcard image on a ZeroW ran at around 50%; do you have anything else running?
(I don’t have a non-W Zero to test with)