Replies: 2 comments 4 replies
-
Hi, good questions. Do you see the country code in the MQTT or -o 5 stream? In some cases it can be suppressed as it is optionally in JSON but automatically activated if you run with a web viewer. Manually activate via (-M M). Can you clarify which table you are using in PSQL? Assume it is ais_vessel which does not have a country column indeed. Maybe we should add country_code as well (ISO country code). To make it backward compatible we need to check at the start if the field exists and only push to the database in that case. Will add tomorrow. On the ship name missing and call sign. Do you have a few examples of which ones are missing? Wondering if there might be a bug then but need to be able to reproduce. Thanks! Example: The country code is in the full JSON decomposition, but might require adding
|
Beta Was this translation helpful? Give feedback.
-
I have this MMSI in ais_vessel without name and callsign: 244750193 (Cargo ship: Christian, NL) I have already added a table with vessel types (in a separate schema) and I was planning to do the same with the country codes (first 3 characters of MMSI) using this list. https://en.wikipedia.org/wiki/Maritime_identification_digits |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm successfully running AIS-Catcher on a Raspberry Pi with a dAISy HAT.
I'm pushing the data to HomeAssistant using MQTT and I'm reading data from the PostGreSQL DB.
I have 2 questions:
Can I pull this information from a different source? API, HTML, UDP?
Nice to have: a table with all the vessel types stored in the DB. I could add this myself but I'm not sure future versions could break the DB structure.
Beta Was this translation helpful? Give feedback.
All reactions