AIS-catcher
AIS-catcher copied to clipboard
Binary Message 8
Hi and once again thanks for a very nice application.
Nowadays I'm also using the app in our boat together with Signal K and the web app Freeboard. Using this new combination weather reporting ATON:s appeared. Se pictures. According to my knowledge these are not displayed in your web app and maybe could be a nice add-on ?
Googled a little and found, below, in a product specification the format for message 8. http://www.ohmex.com/AtoNpaper.pdf
/Mats
Hi Mats, do you know what message type this is? Oh forget about it. Paper is very clear. Interesting idea. I might have to look for a few examples to test.
I managed to get a few examples, but have not implemented the JSON decomposition:
{"class":"AIS","device":"AIS-catcher","scaled":true,"channel":"A","nmea":["!AIVDM,1,1,,A,8@2<HV@0BkLfrhhJWNjtQ0dJTrMcgweVwwwwwwwwwwwwwwwwwwwwwwwwwt0,2*57"],"station_id":999,"type":8,"repeat":1,"mmsi":2300057,"dac":1,"fid":11}
God Morning, up and working early! 😉
Nice you found examples. Think it can be nice additional info in the web app.
/Mats
The pictures above is from the web app Freeboard. Source found here https://github.com/SignalK/freeboard-sk which maybe can help
/Mats
The description was on the gitlab: https://gpsd.gitlab.io/gpsd/AIVDM.html#_meteorological_and_hydrological_data_imo236 gpsdecode has a reference implementation.
It seems to decode now:
{"class":"AIS","device":"AIS-catcher","scaled":true,"channel":"A","nmea":["!AIVDM,2,1,5,A,8030pJh0BjlQ?tNg2vk@OwwwwwwwwwwwwlIRD=wwwwwwwwwwwwwwwwww,0*20","!AIVDM,2,2,5,A,wwt,2*65"],"type":8,"repeat":0,"mmsi":3160171,"dac":1,"fid":11,"lon":0.641500,"lat":72.633850,"day":27,"hour":6,"minute":32,"wspeed":127,"wgust":127,"wdir":511,"wgustdir":511,"humidity":127,"pressure":511,"pressuretend":3,"visibility":25.500000,"waterlevel":14.000000,"leveltrend":3,"cspeed":1.800000,"cdir":269,"cspeed2":25.500000,"cdir2":511,"cdepth2":31,"cspeed3":25.500000,"cdir3":511,"cdepth3":31,"waveheight":25.500000,"waveperiod":63,"wavedir":511,"swellheight":25.500000,"swellperiod":63,"swelldir":511,"seastate":15,"preciptype":7,"salinity":511,"ice":3}
compared to gpsdecode:
{"class":"AIS","device":"AIS-catcher","scaled":true,"channel":"A","nmea":["!AIVDM,2,1,5,A,8030pJh0BjlQ?tNg2vk@OwwwwwwwwwwwwlIRD=wwwwwwwwwwwwwwwwww,0*20","!AIVDM,2,2,5,A,wwt,2*65"],"type":8,"repeat":0,"mmsi":3160171,"dac":1,"fid":11,"lon":0.641500,"lat":72.633850,"day":27,"hour":6,"minute":32,"wspeed":127,"wgust":127,"wdir":511,"wgustdir":511,"humidity":127,"pressure":511,"pressuretend":3,"visibility":25.500000,"waterlevel":14.000000,"leveltrend":3,"cspeed":1.800000,"cdir":269,"cspeed2":25.500000,"cdir2":511,"cdepth2":31,"cspeed3":25.500000,"cdir3":511,"cdepth3":31,"waveheight":25.500000,"waveperiod":63,"wavedir":511,"swellheight":25.500000,"swellperiod":63,"swelldir":511,"seastate":15,"preciptype":7,"salinity":511,"ice":3}
The question now is where and how to integrate it without too much clutter and work. Perhaps we can add an icon to the map where we receive binary messages, user clicks on it and shows the above in a table.....
Nice !
Yes I think your proposal is nice.
"The question now is where and how to integrate it without too much clutter and work. Perhaps we can add an icon to the map where we receive binary messages, user clicks on it and shows the above in a table....."
If you want to minimize the clutter maybe a filter so no AtoN:s is shown ?
Bit of work for a free hour.. but let's experiment. The mesages are in the aiscatcher.org stream so we can do something with it
OK
Regarding the "stream".... maybe you should add information at the https://aiscatcher.org/stations that you must be on version >= v0.58 to participate..... I did the mistake to be on a lower level and therefore there are 2 stations with name "Domsten Harbour". Have a nice weekend, Mats
Great. Good suggestion. Have added that. Shall I remove 1096 from the database?
Absolutely, feel free to remove it.