OpenMarine

Full Version: Getting GPS data into pypilot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to get GPS data into my Pypilot. Is this possible?

I am using a pi zero 2. I have a Ublox GPS USB dongle. I plugged it into the zero using an OTG cable. I did not see it with 

ls /dev/tty*. 

The GPS is powered but no signs of any data exchanged. ls 
Did you use the USB socket on the Pi Zero, marked USB and near the center because the USB socket marked Power does not allow data exchange
That did it. Nice. I plugged the dongle in the data port and immediately got GPS data.

In terminal: printf 'watch={"imu.pitch":1,"imu.roll":1,"gps.fix":1,"gps.track":
1,"gps.speed":1}\n' | timeout 6 nc 192.168.xx.xx 23322

From there I can access it on my network and was able to bring the data in Home Assistant.