projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
499 stars 126 forks source link

Allow changing oziplotter and summary target host #912

Closed bddvlpr closed 1 month ago

bddvlpr commented 2 months ago

Still needs testing, I rarely get any sondes out there. Changed the emulation.py script locally to allow an OziUploader object and that worked, unsure about the configuration loading.

darksidelemm commented 2 months ago

Can you please target the testing branch with this PR?

bddvlpr commented 2 months ago

My bad, I've changed it.

bddvlpr commented 1 month ago

Tested locally with a radiosonde and it works. Stations running the configuration will, just like before, still send UDP broadcast packets to 255.255.255.255. If the _host option is set, it is correctly sent without broadcasting.

Tested with the following compose;

services:
  chasemapper:
    image: ghcr.io/projecthorus/chasemapper:latest
    restart: unless-stopped
    ports:
      - 5001:5001
    devices:
      - /dev/ttyACM0
    volumes:
      - ./horusmapper.cfg:/opt/chasemapper/horusmapper.cfg:ro
      - chasemapper-gfs:/opt/chasemapper/gfs/
      - chasemapper-logs:/opt/chasemapper/log_files/

  autorx:
    image: <this pr>
    restart: unless-stopped
    devices:
      - /dev/bus/usb
    ports:
      - 5000:5000
    volumes:
      - ./station.cfg:/opt/auto_rx/station.cfg:ro
      - autorx-logs:/opt/auto_rx/log/

volumes:
  chasemapper-gfs:
  chasemapper-logs:
  autorx-logs:

Do not use network_mode: host to test if they can communicate internally using payload_summary_host = chasemapper.