Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message Type 8 #336

Open
g7ruh opened this issue Nov 30, 2024 · 20 comments
Open

Message Type 8 #336

g7ruh opened this issue Nov 30, 2024 · 20 comments
Labels
enhancement New feature or request

Comments

@g7ruh
Copy link

g7ruh commented Nov 30, 2024

Message type 8 is region-specific. If you encounter any messages in the wild that might be interesting for AIS-catcher to parse...

Jasper,

I am getting messages from fixed structures which show up in OpenCPN Windows Version 5.10.2-0. Is this something that can be added to AIS-catcher?

South Bramble AtoN provides information and meteo data Current, Direction and Water Temp:

SouthBramble-meteo-202410031746

South Bramble AtoN

Likewise the NAB Tower (but atmospheric data):

nab-tower-data

nab-tower-info

Are these type 8 messages perhaps?

From South Bramble

!AIVDM,2,1,2,A,8>jHDhh0Gwu;9Lw9ojm?wvlFR06EuOwgwl>6hhAQR0n6<wwsAwwnSAe,00B ( MSG: 8, REPEAT: 0, MMSI: 992351427, signalpower: -9.23283, ppm: -0.578704, timestamp: 20241130112041)
!AIVDM,2,2,2,A,wwh000,4
48 ( MSG: 8, REPEAT: 0, MMSI: 992351427, signalpower: -9.23283, ppm: -0.578704, timestamp: 20241130112041)
`

And from NAB Tower

!AIVDM,2,1,6,B,8>jHC00Gwv@GaLiaOjlQ0iOcP?v<OVvgwl?wnSwe7wvlOwwsAwwnSGm,07F ( MSG: 8, REPEAT: 0, MMSI: 992351136, signalpower: -34.3669, ppm: -2.89352, timestamp: 20241130111901)
!AIVDM,2,2,6,B,wwh000,4
4F ( MSG: 8, REPEAT: 0, MMSI: 992351136, signalpower: -34.3669, ppm: -2.89352, timestamp: 20241130111901)
`

Note the screen shots and messages are not the same times so the variable data will be different.

AIS-catcher is providing the data to the network, so the data is present as it arrives at OpenCPN and shows. I think this is a new feature in OpenCPN as I do not recall seeing it in the previous version,

Happy to test / provide more data as always.

Regards
Roger

@g7ruh
Copy link
Author

g7ruh commented Nov 30, 2024

EDIT: I do not see files attached, please let me know where to send them.

Jasper

assuming my filtering in AIS-catcher is correct: some type 8 and 21 messages

and some type 8 only:

Hopefully the files are included, using the 'code' option to paste messes up the format as it interprets some of them as control characters. If the files are not, let me know and I can email them. I did "Paste, drop or click to add files"

Hope that helps test.

Roger

@jvde-github jvde-github added the enhancement New feature or request label Dec 1, 2024
@jvde-github
Copy link
Owner

The first message can be decoded using -0 5. However, it will not be displayed in the web viewer, assume that is what you are looking for. Has come up before but did not have the time to implement this. Let's add as a feature request.

@g7ruh
Copy link
Author

g7ruh commented Dec 1, 2024

Hi Jasper,
Happy to have it on the new feature request list, providing it is not too far down :)
Let me know when to help test.

Yes I am thinking of the web viewer display.

Regards
Roger

@jvde-github
Copy link
Owner

Added the first type of binary messages to the map (meteo) which is one of the examples you showed above... WIP

Image

@g7ruh
Copy link
Author

g7ruh commented Mar 1, 2025

Hi Jasper,

Thanks for adding. I know you say it is WIP, so here are the two local Met stations from OpenCPN and how AIS-catcher presents the data currently. I hope that helps test some more.

Opencpn then AIS-catcher

South Bramble:

Image

Image

Nab Tower

Image

Image

I note the Water Level is the same for both but not presented on OpenCPN.

regards
Roger

@flygfantast
Copy link

Can't see them on map, installed the Edge version.

Image

Also, copy coordinates results in null, null (maybe related to not showing on map?)

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

Can't see them on map, installed the Edge version.

Silly question maybe, did you refresh the browser page?

Roger

@jvde-github
Copy link
Owner

Should be visible indeed (right dac and fid). Can you give it a re-try and if it still does not work, send me the NMEA lines? Above is a picture so cannot run it through the program here to test.

@jvde-github
Copy link
Owner

Hi Jasper,

Thanks for adding. I know you say it is WIP, so here are the two local Met stations from OpenCPN and how AIS-catcher presents the data currently. I hope that helps test some more.

Opencpn then AIS-catcher

South Bramble:

Image

Image

Nab Tower

Image

Image

I note the Water Level is the same for both but not presented on OpenCPN.

regards Roger

I added the water temperature etc. The problem I see is that they often associated with an AtoN. Additionally, you can have multiple messages on one location. So all the elements get stacked and hidden. So I think I will visualise them differently (as a badge for the icon, like for a mail program) and aggregate them.

@flygfantast
Copy link

Silly question maybe, did you refresh the browser page?

You're right, missed that! Now it's showing: however only parts of it.

Image

NMEA
!AIVDM,2,1,3,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07F ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,4,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
78 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,5,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,079 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16229, ppm: 0, timestamp: 20250302085932)
!AIVDM,2,1,5,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
79 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,6,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07A ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,6,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
7A ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,7,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07B ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,7,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
7B ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,8,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,074 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,9,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
75 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,3,A,wvwt,017 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,4,A,wvwt,0
10 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16688, ppm: 0, timestamp: 20250302085919)
!AIVDM,2,2,4,A,wvwt,010 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,5,A,wvwt,0
11 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16229, ppm: 0, timestamp: 20250302085932)
!AIVDM,2,2,5,A,wvwt,011 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,6,A,wvwt,0
12 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,6,A,wvwt,012 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,7,A,wvwt,0
13 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,7,A,wvwt,013 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,8,A,wvwt,0
1C ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,9,A,wvwt,0*1D ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

The problem I see is that they often associated with an AtoN

Yes, the meteo has a different MMSI reported compared with the AtoN. OpenCPN displays the last received one when you hover over it, sometimes the AtoN and sometimes the meteo data. Two stations at the same location!

Roger

@jvde-github
Copy link
Owner

jvde-github commented Mar 2, 2025

I need to solve that somehow to make it more useful. How does OpenCPN solve this issue or they only show for a limited time?

@jvde-github
Copy link
Owner

Silly question maybe, did you refresh the browser page?

You're right, missed that! Now it's showing: however only parts of it.

Image

NMEA
!AIVDM,2,1,3,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07F ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,4,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
78 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,5,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,079 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16229, ppm: 0, timestamp: 20250302085932)
!AIVDM,2,1,5,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
79 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,6,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07A ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,6,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
7A ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,7,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,07B ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,1,7,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
7B ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,8,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,074 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,1,9,A,8@2R5Ph0GhJH;AbGw4B>QqF0@206EuOwgwl?wnSwe7wvlOwwsAwwnSGm,0
75 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,3,A,wvwt,017 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,4,A,wvwt,0
10 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16688, ppm: 0, timestamp: 20250302085919)
!AIVDM,2,2,4,A,wvwt,010 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,5,A,wvwt,0
11 ( MSG: 8, REPEAT: 1, MMSI: 2655619, signalpower: 7.16229, ppm: 0, timestamp: 20250302085932)
!AIVDM,2,2,5,A,wvwt,011 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,6,A,wvwt,0
12 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,6,A,wvwt,012 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,7,A,wvwt,0
13 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085919)
!AIVDM,2,2,7,A,wvwt,013 ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,8,A,wvwt,0
1C ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)
!AIVDM,2,2,9,A,wvwt,0*1D ( MSG: 8, REPEAT: 1, MMSI: 2655619, timestamp: 20250302085932)

You are right. But what I see is that these binary messages are typically not fully populated with all measurements

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

You are right. But what I see is that these binary messages are typically not fully populated with all measurements

I agree, I assumed that only those sensors available will cause the item to be populated, hence on my local ones one has water temp and current, the other meto one does not

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

How does OpenCPN solve this issue or they only show for a limited time?

Limited time, so if you are lucky you see the one you want.... if not you have to wait a while

@jvde-github
Copy link
Owner

Mmm, don't want that, so somehow need to cluster. Thanks!

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

Also a strange thing, as my screen shots above of South Bramble and Nab Tower, I sometimes see the data from Nab when I hover on South Bramble and sometimes see this:

Image

I cannot figure out why a hover over South Bramble displays "Nab Tower and its data" as if it has not zero'ed the data before display? Seen it a few times, but stuggling to recreate consistently.

The 'Data not available' lines are correct, South Bramble seems to just have water temp and current.

Unlike the previous screen shots which show nnnnnnn Meteo... Station both now give the AtoN name

@g7ruh
Copy link
Author

g7ruh commented Mar 2, 2025

Left the web browser for a while, went back and then got this:

Image

Image

So there is something strange going on.

Clicking on SouthBramble to bring up the ship card and dismissing it then allows the correct popup to appear, albeit with no data (as expected as it (I guess) does not (yet) know about current direction and speed and water temp.

@jvde-github
Copy link
Owner

Thanks, will fix that. Reading through the documentation (https://vislab-ccom.unh.edu/~schwehr/papers/2010-IMO-SN.1-Circ.289.pdf) I think it becomes slowly clear how to visualize. It will be something like a message box for email:

Image

Well that is the dream. But need to cluster it for locations. We can then also add other binary messages. For example, ferries in the UK have some interesting ones.

Bit more work to do. Thanks for the quick feedback and testing. It is worthwhile to explore this further.

@jvde-github
Copy link
Owner

Note to self, for your station, also see multiple messages when updated, so need to add receiving time or prune...

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants