xforce30164
Active Member
(Slightly thread-stealing my own thread here but not sure if it is worth it to make a new thread)
I've made an additional tool that will allow you to make a basic in-between interface that is shown when you go to http://<your-raspberry-pi-ip-address>. it has a link to the dump1090 tool, and additionally can have links to your flight-aware statistics page and plane-feeder sharing page. I'm planning on expanding the functionality/adding more customization options later on but I think it is better to share it first so I can get an idea about what people want with it/would like to see added/changed.
to install/use the script:
and follow the instructions 
====================================
Hi everyone,
I've been posting solely in the adsb diy antenna thread (even though it wasn't all about antennas). I got urged by the other thread-readers to post this in a new thread as it is more about software and not really about antennas.
I'm a student from the netherlands, I studied Electrical Engineering and currently studying Computer Science at the Technical University of Eindhoven. I love programming and got back into my hobby of planes/listening in to them as my parents live quite close to Schiphol Airport, the main airport of the netherlands. (I've got some other HF/VHF/UHF scanners as well)
I've worked on implementing some requests/bug fixes for dump1090-mutability, am busy developing my "central control panel" and more. (currently also working on a complete rewrite of mutability's dump1090 webUI)
The tool I made is mostly script based but it simplifies the installation of collectd/rrd graphs by a large amount (that is what it was written for).
This is a quick page I made to be able to simultaneously view my three raspberry-pi graphs. These graphs are all made by collectd/rrd.
(I'm busy developing my site so it can be changed/(non-)functional and up/down but I try to keep it as functional as possible whilst developing)
please note that this is an early alpha release/the software is volatile -> my way of indicating I'll probably be changing it often/pushing small updates. I do not guarantee that it works but I will try and make it work as good as I can. if it doesn't, post back here and let me know! (the base for this script/collectd is written by mutability, I changed it in multiple places and made the installation scripts etc)
Some starting assumptions the script makes:
- You're running dump1090-mutability (for the stats generation)
- You have installed lighttpd and the dump-1090 mutability mod.
(if not see this post, after installing lighttpd you'll probably also have to change your dump1090-mutability config to set the internal webserver port to 0, just run "sudo dpkg-reconfigure dump1090-mutability" and only change the web-server port)
<below is a copy-paste from my original post in the antenna thread>
version 2.0 of the installation script is available
- fancier installation script, streamlined installation process somewhat. (crontab automated)
- updater script added, you can now update webui/graph generation/both directly from live/volatile versions hosted on my webserver. if it doesnt work you also have a rollback function.
if you want to use this/switch to this you can do the following:
Installation
Situation 1 - clean install/not installed dump-tools with my other script before.
change to home directory, wget the file from the server, make it executable and sudo-run it.
this should start the installation process, printing some information along the way.
if it goes according to plan it will ask you to check if the graphs are showing/working, so go to your browser and check if that is the case.
if it is, enable automatic graph generation by running
that's it for installation! (Note, it can say "no crontab for root" if you run the crontab command once, if that is the case, just rerun it and it should not display that message anymore)
Situation 2 - dirty installation/installed with my previous installation script
change to home directory, wget the file from the server, make it executable and sudo-run it.
this will first remove your old installation. but save the index.html, collectd.conf and make-graphs.sh file and store them in a directory called /dump-tools-old so you can resuse them/manually change the new versions to reflect your own additions.
there is no need to run the crontab part of the script as you already have the changed crontab pointing to the make-graphs.sh script which is still in the same location so that should still function.
Updating/Reverting:
change to your home directory, then to dump-tools and run the update.sh script.
updating webUI
updating graph generation
updating both webUI and graphs
reverting webUI
reverting graph generation
reverting both webUI and graphs
I've made an additional tool that will allow you to make a basic in-between interface that is shown when you go to http://<your-raspberry-pi-ip-address>. it has a link to the dump1090 tool, and additionally can have links to your flight-aware statistics page and plane-feeder sharing page. I'm planning on expanding the functionality/adding more customization options later on but I think it is better to share it first so I can get an idea about what people want with it/would like to see added/changed.
to install/use the script:
Code:
cd ~
sudo wget http://raspi.ayadex.com/volatile/web-portal/web_portal_generator.sh
sudo chmod +x web_portal_generator.sh
sudo ./web_portal_generator.sh
====================================
Hi everyone,
I've been posting solely in the adsb diy antenna thread (even though it wasn't all about antennas). I got urged by the other thread-readers to post this in a new thread as it is more about software and not really about antennas.
I'm a student from the netherlands, I studied Electrical Engineering and currently studying Computer Science at the Technical University of Eindhoven. I love programming and got back into my hobby of planes/listening in to them as my parents live quite close to Schiphol Airport, the main airport of the netherlands. (I've got some other HF/VHF/UHF scanners as well)
I've worked on implementing some requests/bug fixes for dump1090-mutability, am busy developing my "central control panel" and more. (currently also working on a complete rewrite of mutability's dump1090 webUI)
The tool I made is mostly script based but it simplifies the installation of collectd/rrd graphs by a large amount (that is what it was written for).
This is a quick page I made to be able to simultaneously view my three raspberry-pi graphs. These graphs are all made by collectd/rrd.
(I'm busy developing my site so it can be changed/(non-)functional and up/down but I try to keep it as functional as possible whilst developing)
please note that this is an early alpha release/the software is volatile -> my way of indicating I'll probably be changing it often/pushing small updates. I do not guarantee that it works but I will try and make it work as good as I can. if it doesn't, post back here and let me know! (the base for this script/collectd is written by mutability, I changed it in multiple places and made the installation scripts etc)
Some starting assumptions the script makes:
- You're running dump1090-mutability (for the stats generation)
- You have installed lighttpd and the dump-1090 mutability mod.
(if not see this post, after installing lighttpd you'll probably also have to change your dump1090-mutability config to set the internal webserver port to 0, just run "sudo dpkg-reconfigure dump1090-mutability" and only change the web-server port)
<below is a copy-paste from my original post in the antenna thread>
version 2.0 of the installation script is available
- fancier installation script, streamlined installation process somewhat. (crontab automated)
- updater script added, you can now update webui/graph generation/both directly from live/volatile versions hosted on my webserver. if it doesnt work you also have a rollback function.
if you want to use this/switch to this you can do the following:
Installation
Situation 1 - clean install/not installed dump-tools with my other script before.
change to home directory, wget the file from the server, make it executable and sudo-run it.
Code:
cd ~
wget http://raspi.ayadex.com/volatile/web_install.sh
sudo chmod +x web_installer.sh
sudo ./web_installer.sh "dump-tools"
this should start the installation process, printing some information along the way.
if it goes according to plan it will ask you to check if the graphs are showing/working, so go to your browser and check if that is the case.
if it is, enable automatic graph generation by running
Code:
cd /home/pi/dump1090-tools
sudo ./install.sh "crontab"
Situation 2 - dirty installation/installed with my previous installation script
change to home directory, wget the file from the server, make it executable and sudo-run it.
Code:
cd ~
wget http://raspi.ayadex.com/volatile/web_instal.sh
sudo chmod +x web_installer.sh
sudo ./web_installer.sh "dump-tools" "remove-old"
this will first remove your old installation. but save the index.html, collectd.conf and make-graphs.sh file and store them in a directory called /dump-tools-old so you can resuse them/manually change the new versions to reflect your own additions.
there is no need to run the crontab part of the script as you already have the changed crontab pointing to the make-graphs.sh script which is still in the same location so that should still function.
Updating/Reverting:
change to your home directory, then to dump-tools and run the update.sh script.
updating webUI
Code:
cd /home/pi/dump-tools
sudo ./update.sh "webui"
updating graph generation
Code:
cd /home/pi/dump-tools
sudo ./update.sh "graphs"
updating both webUI and graphs
Code:
cd /home/pi/dump-tools
sudo ./update.sh "all"
reverting webUI
Code:
cd /home/pi/dump-tools
sudo ./update.sh "webui" "revert"
reverting graph generation
Code:
cd /home/pi/dump-tools
sudo ./update.sh "graphs" "revert"
reverting both webUI and graphs
Code:
cd /home/pi/dump-tools
sudo ./update.sh "all" "revert"
Last edited: