Getting time from GPS

Hi all,

many thanks in general to the community here! You are great, I could solve a lots of problems here already by searching. But now I have something which I cannot solve :frowning:

But what? :wink:

I would like to set the time on my Raspberry 3b+ using a NEO 6M GPS Module connected via USB. I am running Venus OS 3.6. GPS is working fine and a lot of information is put on MQTT, but time information is missing :frowning:.

I tried it on my own with a python script, using this here:
GitHub - semuconsulting/pynmeagps: Python library for parsing and generating NMEA 0183 GNSS/GPS protocol messages.

But I this script (and also others) are not getting any data:
serial.serialutil.SerialException: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Perhaps because Venus OS is blocking the port?

Do you know if I can get the GPS position via Python besides Venus OS or if I can get the time information additionally?

Many thanks in advance :slight_smile: :slight_smile:

It seems more complicated than I expected ;). Is there anyone with an idea? :slight_smile: