Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing oziplotter and summary target host #912

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

bddvlpr
Copy link

@bddvlpr bddvlpr commented Sep 22, 2024

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
Copy link
Member

Can you please target the testing branch with this PR?

@bddvlpr bddvlpr changed the base branch from master to testing September 22, 2024 22:03
@bddvlpr
Copy link
Author

bddvlpr commented Sep 22, 2024

My bad, I've changed it.

@bddvlpr bddvlpr marked this pull request as ready for review September 23, 2024 10:10
@bddvlpr
Copy link
Author

bddvlpr commented Oct 7, 2024

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.

@darksidelemm darksidelemm merged commit c9b3965 into projecthorus:testing Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants