tsunghanliu / adsb-box.snap

a snap to build a ADS-B receiver station
28 stars 4 forks source link

Changing LAT/LON on existing install #53

Open dlasher opened 2 years ago

dlasher commented 2 years ago

Moved, needed to update LAT/LON - these commands: $ sudo snap set adsb-box receiver.latitude=[LATITUDE] receiver.longitude=[LONGITUDE] receiver.altitude=[ALTITUDE]

don't change the existing values.. changed while running, stopped, changed, started, rebooted, old values stay in place. Had to edit all the files by hand to get it to change.

Did I miss something?

tsunghanliu commented 2 years ago

Hi,

Did you run sudo snap restart adsb-box after change the LAT/LON values? What files did you change manually? I can check if something is not generated dynamically.

dlasher commented 2 years ago

Yes, I tried restarting it, and all the services started with the old LAT/LON.

Hand edited the following files, then restarted:

tsunghanliu commented 2 years ago

Thanks for the information. I didn't notice that feeders recorded the location in files separately. However, my `fr24feed.ini does have the location stored. Could you please share the format with me?

dlasher commented 2 years ago

Apologies, you're right, mine doesn't either. I looked back through my bash history, and included every file I edited, and that one does NOT have location data, so we can ignore it.