Open pmannino opened 1 month ago
It's currently not directly supported, but let me check if I can quickly add support. Since I don't have a dAISyHat, I may need your help testing. I'll let you know when it's ready to be tested (hopefully today)
Actually - I did some more research and you can add a serial port via the AISCATCHER_EXTRA_OPTIONS
parameter. Try adding the following parameters to your docker-compose.yml
:
devices:
- "/dev/ttyAMA0:/dev/ttyAMA0"
^^ this is something you already did
environment:
- AISCATCHER_EXTRA_OPTIONS=-e 38400 /dev/ttyAMA0
^^ this tells ais-catcher
to take NMEA data from your serial port (with baudrate of 38,400 which is the standard for dAISyHat devices)
Once you've set this, pls restart the container (docker compose up -d
)
You can then also try to monitor the performance of the container with the command docker logs -f shipfeeder
)
Pls let me know if this works, and if so, feel free to close this Issue. Thanks!
I am using a Daisy HAT as my AIS receiver. How do I configure the docker-compose file to use this instead of the SDR's? I added: devices:
to the file, but this didn't work. (It throws a bunch of warnings that RTLSDR* settings are not set.) I can see ttyAMA0 in the container. When I run minicom, it prints binary stuff as expected. The web page shows no targets in a target rich environment.