Python script that runs on any linux machine, it uses USB to listen to the airmar and parses that data and pushes it to MQTT. If you have home assistant auto discovery will work for this.
sudo apt install python3-nmea2 python3-serial python3-paho-mqtt
- sudo mkdir /opt/airmar_reader
- sudo mv /path/to/airmar_reader.py /opt/airmar_reader/
- sudo chmod +x /opt/airmar_reader/airmar_reader.py
- sudo nano /etc/systemd/system/airmar_reader.service
- sudo systemctl daemon-reload
- sudo systemctl enable airmar_reader.service
- sudo systemctl start airmar_reader.service