Adding the signal graphs for your receivers is a little more involved i’m not sure i’ll be able to do it with sed but i’ll see what i can do.
The danger is that i get something wrong and you need to reinstall the portal
Also i said “you could hack it” and that time kinda meant it that way.
You would need to change /etc/collectd/collectd.conf to add the lines marked with add (without the add)
Then you should take a look at the shellscript making the graphs.
You will have to kinda understand that file to really make those changes.
To add one signal graph will be easiest, find this portion of code:
You will have to replace $2 with /var/lib/collectd/rrd/localhost/dump1090-receiver1
Now to create a second signal graph you will have to create another signal graph function, make sure it is executed and make up additional filenames and also change the filenames in the display part.
You could probably just hollow out the cpu chart and put another signal chart in there.
Good luck and remember if you shoot down your system you’ll have to reinsall
This will result in blank columns for Altitude and Speed. This is due to change in data format. If you use html folder of dump1090-fa ver 3.5.3, then this problem will not be there, Please see this post which shows how to do it:
The dump1090-fa installation through the script forces the installation on piaware, which is not ideal. I like the new gui on 3.6.3 with the additional information and will be looking towards making it work with muta.I also noticed that most of the dump1090 related graphs have stopped updating- not sure if it was because of the GUI overlay. I have for the moment reverted to the muta GUI and will monitor if the graphs start populating again, though the time they stopped populating looks suspiciously close to the time when I executed
sed -i '/strong_sig/d' make-collectd-graphs.sh
sed -i '/y2strong/d' make-collectd-graphs.sh
As you have already installed graphs, changing from dump1090-mutability to dump1090-fa will break the graphs.
The only practical option is a fresh install. Write Raspbian image to microSD card, then install dump1090-fa 3.6.3 by above method, then run J Prochazka’s script and install only Web Portal / Graphs.
Infact as I reverted to the old GUI, I also reverted and re-ran the script. It ran without a problem but the updated nothing. I was expecting some graphs to disappear to take the page back to the “original state” and as that did not happen I rebooted and re-ran the script again. This time:
The downside with this is that I can’t configure dump1090-fa anymore:
root@myradar:~/adsb-receiver# dpkg-reconfigure dump1090-fa
The user `dump1090' is already a member of `plugdev'.
Restarting lighttpd..
root@myradar:~/adsb-receiver#
I need to reconfigure it so that it runs in --net-only mode. I think the config for --net-only is now held in piaware config.
Thanks - You clearly see how basic my knowledge is
I finally reinstalled muta and the portal. I did initially run the graphs script with the required parameter and the “new” graphs were still there. Mistakenly ran it without the parameter the 2nd time!After the reinstall i see the new graphs and some of the new graphs populated. I will rerun your tweaks above to see where I get to.
For dump1090-fa - I did a package install. Here is what now I intend to (re)do:
Run the tweaks above to populate graphs that are showing up but without data
Replace dump1090-mutability with dump1090-fa
Run part 2 of the tweaks to rebuild graphs on dump1090-fa…
If you use Raspbian image, and install dump1090-fa by JP script, or the method I have posted above, then dump1090-fa configuration is NOT controlled by Piaware.
In case of package install by JP script or the method I posted above, the only parameter which Piaware (if installed) will over-ride in settings in files/etc/default/dump1090-fa and /usr/share/dump1090-fa/html/config.js is latitude and longitude. If Piaware is not installed, then latitude and longitude in dump1090-fa’s above noted config file will be valid and used.
The script now mandates installation of piaware too even for package installation. I have tried both ways: - having dump1090-fa installed before running the script and also running the script without having the dump-1090 installed. In both instances, the script insists that that installing piaware is mandatory.
No explicit way of configuring dump1090-fa is now available. I am now going to try the via way - install dump1090-fa with piaware and then disable piaware.