Closed bddvlpr closed 1 month ago
Can you please target the testing branch with this PR?
My bad, I've changed it.
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
.
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.