Graphs for dump1090 -- my version with install script

OK, I believe I’ve read it once or twice (thus the command above :slight_smile: )

I will decrease the gain and see what we’ve got.

Thank you for confirming what I was thinking.

Well the 2nd post in that thread has quite clear instructions and even recommends different percentages depending on what you want.
Some people recommend going to 0.5 % or 0.1 % (usually people who don’t care too much about planes far away)

So in essence, by lowering the gain, should I be seeing more messages per plane (also messages per second) and losing the distance the planes are seen.

Is my understanding correct or am I way off?

If you lose any range depends on multiple factors it usually only starts at a certain gain that is individual to each installation.

Depending on if an aircraft is currently overloading the receiver you will gain messages per second but only for that specific aircraft.
The aircraft with the strongest signals are close by and lower altitude.

If you have massively too much gain and reduce you will gain messages per second for a lot of aircraft.

Understood, just want to add that I do have a preamp in the mix with rtl-sdr bais-tee enabled.

CoCo antena with 5 segmesnts, pre-amp and rlt-sdr. I should have mentioned that before.

Actually that’s only relevant for the absolute gain value.
If you look at percentage of strong messages and adjust according to that it’s irrelevant.

Understood.

Thank you as always.

Re: " Installation / Update to current version:

sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"
```"

Great stuff; well beyond my pay grade.

I get a 404 not found when trying urls .../graphs1090 and .../perf.  Help?

Install seemed to go okay via putty and I reset default to default (for argument's sake), restarted piaware 4.0.  

Can't seem to nail down the error when everything else works fine.  The node pings fine and data is still transmitted to fa.

vb77

Are you sure it’s the right IP, can you post the full URL you’re trying?
I suppose /dump1090-fa works?

What is the output if you run

sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"

Also can you show the output for the lighttpd commands here:
GitHub - wiedehopf/graphs1090: Graphs for readsb / dump1090-fa / dump1090 (based on dump1090-tools by mutability)

http://192.168.0.254

My node is static outside the dhcp range. dump1090-fa does work.

Running
sudo bash -c “$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)”
returns the prompt:

I have a router stability problem more often than anything else.

Running sudo systemctl status lighttpd returns:

pi@piaware:~ $ sudo systemctl status lighttpd
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset:
Active: active (running) since Wed 2020-12-30 11:38:50 UTC; 1 months 23 days
Main PID: 561 (lighttpd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/lighttpd.service
└─561 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

I will try to get them to github for you but basically:

sudo bash -c “$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)”
pi@piaware:~ $ ls /etc/lighttpd/conf-enabled
50-piaware.conf 88-dump1090-fa-statcache.conf 89-dump1090-fa.conf 89-skyaware978.conf

– Logs begin at Thu 2021-01-28 19:26:00 UTC, end at Mon 2021-02-22 13:45:29 UTC. –
Feb 22 13:41:58 piaware systemd[1]: Stopping Lighttpd Daemon…
Feb 22 13:41:58 piaware systemd[1]: Stopped Lighttpd Daemon.
Feb 22 13:41:58 piaware systemd[1]: Starting Lighttpd Daemon…
Feb 22 13:41:58 piaware lighttpd[6360]: 2021-02-22 13:41:58: (plugin.c.187) Cannot load plugin mod_setenv more than once, please fix your config (lighttpd may not accept such configs in future releases)
Feb 22 13:41:58 piaware lighttpd[6360]: 2021-02-22 13:41:58: (server.c.1295) WARNING: unknown config-key: setenv.set-response-header (ignored)
Feb 22 13:41:58 piaware systemd[1]: Started Lighttpd Daemon.
Feb 22 13:41:58 piaware lighttpd[6369]: 2021-02-22 13:41:58: (plugin.c.187) Cannot load plugin mod_setenv more than once, please fix your config (lighttpd may not accept such configs in future releases)

That’s not what you ran in the picture, you have githubusercontent garbled.
If you use copy paste it’s much less likely you make a mistake.
Just copy as normal and then right click or Ctrl-Shift-V in putty to paste.
To copy out of putty you just mark the text and then paste as normal outside putty.

Ooops. My err. My middle name is Lunkhead. Either that or dyslexia :wink:

Unpacked and viewable. Sorry for my confusion!!

I was also playing with gain numbers but I seem to have lost ADSB message rates.

@wiedehopf Hello, I have graphs1090 installed on Unbuntu 20.04 64bit using an Airspy as a receiver with dump1090-fa. I don’t seem to get the Airspy process CPU usage like I did when I had it connected to a Pi. Is there anything I can look at?
image

That is for the piaware. The CPU usage is less because you have a faster CPU.
Look at the overall. For example I am max out one of my 4 cores (airspy is single threaded), hence the 25% utilization:

This the the graph data I am looking for.
image

systemctl show -p MainPID airspy_adsb

That’s what is used to derive the process id.
You have the service named airspy_adsb?

Entire command line used:

PID=$(systemctl show -p MainPID airspy_adsb | cut -f 2 -d=); cat /proc/$PID/task/$(ls /proc/$PID/task | awk NR==3)/stat | cut -d ' ' -f 14,15 && getconf CLK_TCK

I do have the service and I dug into dump1090.py and saw those commands. I’m not fluent in pyhton so I can’t debug where it’s failing.

Output looks correct.
You have this file?

ls -l /run/collectd/localhost/dump1090-localhost/dump1090_cpu-airspy.rrd