Seems your reception for 1090 MHz is significantly reduced though.
Now Iāve got to figure out how to also feed adsbexchange with the 1090+978 data. I think I remember reading that they have a Guide for adding adsbexhange to an existing FA feed.
I had the box in the office temporarily - itās back in the attic now and 1090 is picking up aircraft out to 100nm again.
Indeed. Itās just a couple of commands.
Well Iām stress-testing my box now - Iāve added a 3rd SDR and a 2nd Raspi to feed LiveATC and the attic reads 130āF with my IR thermometer. Raspi CPUs are running 78āC so my guess is that auto-throttling may have already kicked in (believe AT starts at 80āC).
@obj
For 2nd instance of piaware, the ExecStart=
line in the 2nd instanceās service file /lib/systemd/system/piaware2.service
is given below:
ExecStart=/usr/bin/piaware -p %t/piaware2/piaware.pid -plainlog -statusfile %t/piaware2/status.json -configfile /etc/piaware2.conf -cachedir /var/cache/piaware2
Now I want to save 2nd instanceās feeder-id in file /etc/piaware2.conf
by following command, but it fails saying the file /etc/piaware2.conf
is read-only, though it is not.
Any solution/workaround for this situation?
pi@raspberrypi:~ $ sudo piaware-config -configfile /etc/piaware2.conf feeder-id 11111111-2222-3333-4444-555555555555
warning: could not set option 'feeder-id' to value '11111111-2222-3333-4444-555555555555': cannot update option feeder-id in readonly file
pi@raspberrypi:~ $ sudo chmod 666 /etc/piaware2.conf
pi@raspberrypi:~ $ ls -l /etc/piaware2.conf
-rw-rw-rw- 1 piaware root 523 Jun 1 23:44 /etc/piaware2.conf
pi@raspberrypi:~ $ sudo piaware-config -configfile /etc/piaware2.conf feeder-id 11111111-2222-3333-4444-555555555555
warning: could not set option 'feeder-id' to value '11111111-2222-3333-4444-555555555555': cannot update option feeder-id in readonly file /etc/piaware2.conf
You donāt like fans?
One just circulating air in the enclosure can do wonders
I personally like to run 12V fans on 5V but your mileage may vary.
Also not sure if you can fit an 8cm fan in there.
I had the impression piaware-config ignored the -configfile option.
Just change the file by editor.
I might try a small fan. Would a Raspi heatsink help much in an enclosed box?
For reading, no it did not ignore. It read instance 2ās feeder id correctly from /etc/piaware2.conf
For writing to file, it still did not ignore piaware2.conf
, but somehow takes it as read-only, or maybe it is hard coded to write only to piaware.conf
and not to any other file.
Those are mediocre at best. Most heat dissipation with the RPi is via the board and everything on it.
So a fan improves the heat dissipation for the whole board.
I think a 8cm fan could fit beneath the raspberries and would do very well pointed upwards.
Also those antennas still have the insulation on them.
They are calculated for bare wire.
Not sure how much of a difference it makes though.
I figured if the signal can get through the roof and the plastic box, then it can get through the wire insulation too. At one point I had the 2 antennas reversed and didnāt notice a difference.
What did seem to matter was the 45-degree bent ground plane wires. When I tried 90-degrees (perpendicular to the center antenna) or 0-degrees (bent all the way down) there was a very noticeable reduction in tracked aircraft.
Itās not about the signal getting through.
The electromagnetic waves travel the wire at a different speed when the surrounding material is different.
So it could be out of tune so to say.
But as the design is quite wide band anyway so most likely itās fine.
(i guess the insulation is stuck on too well to remove it?)
Try it as root. Usually piaware-config relies on a sudo helper to update the config file; this isnāt set up for your other config file. (Here, āread-onlyā means āI canāt write to itā)
No success even as root.
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# piaware-config -configfile /etc/piaware2.conf feeder-id 11111111-2222-3333-4444-555555555555
warning: could not set option 'feeder-id' to value '11111111-2222-3333-4444-555555555555': cannot update option feeder-id in readonly file /etc/piaware2.conf
OK tried this:
sudo install -m 0755 /usr/lib/piaware_packages/helpers/update-piaware-config /usr/lib/piaware_packages/helpers/update-piaware2-config
ls /usr/lib/piaware_packages/helpers
droproot update-piaware2-config update-piaware-config
Edited newly installed file
sudo nano /usr/lib/piaware_packages/helpers/update-piaware2-config
Did following :
Changed /etc/piaware.conf
to /etc/piaware2.conf
(all occurances)
Changed /etc/piaware.conf.new
to /etc/piaware2.conf.new
(all occurances)
Changed /boot/piaware-config.txt
to /boot/piaware2-config.txt
(all occurances)
Changed /boot/piaware-config.txt.new
to /boot/piaware2-config.txt.new
(all occurances)
Saved (Ctrl+o) and and closed (Ctrl+x)
Restarted piaware2
sudo systemctl restart piaware2
.
Now tried to change feeder-id
Attempt 1 - Failed
sudo piaware2-config feeder-id 11111111-2222-3333-4444-555555555555
sudo: piaware2-config: command not found
.
Attempt 2 - Failed
sudo /usr/lib/piaware_packages/helpers/update-piaware2-config feeder-id 11111111-2222-3333-4444-555555555555
/usr/lib/piaware_packages/helpers/update-piaware2-config: exactly one argument expected
I guess thereās a bug in there somewhere then; itās not a setup I usually test. Edit the file by hand?
Thanks. That is is the option I am using, and it works ok. Was just curious to see if I can make command line method to work for 2nd instance too.
Hi Guys, you did make progress in this topic, thats great.
Meanwhile there ist a lot of flarm stuff out there that is not licenced by the flarm owners. For example the stratux device and Hardware with softRF.
With a t-beam (lora) and softRF you have a full flarm deviceā¦it is sooo cool, I love it. I think it is not possible to protect the flarm protocoll and it is not stopable meanwhile anywayā¦more and more cheap flarm devices will come.
So Iād like to rise my question again for a single raspi, two rtlsdr, with a dump1090 and an ogn flarm instance running similar like two dump1090 instances in one raspi.
Is someone able to do a guideance step by step?
There are some ready to use ogn Images available, maybe these can be easily modified with the adsb Software?
http://wiki.glidernet.org/downloads
An additional dump1090 and a fa-feeder (or fr24) would be sufficient I assume.
Maybe its possible to have both data (adsb/flarm) in one (dump?)map in the screenā¦this would be the coolest and highest goal and the best thing for snall airfields and their Air traffic controllers like you have anywhere out thereā¦would make flying even more safe.
Greetings Peter
I donāt think a $30 computer and āair safetyā are a good fit.
Safety of life should be taken a little more seriously.