I've been investigating anchoring
Hakan's boat in a very unlikely place in 45' on a hard shore, where possibly he ran out of fuel
(no, that never happens to Hakan). Lets say his engine
had a problem. Anyway, he had to anchor
there, and there are all these big tankers on the AIS
to deal with. Unfortunately Hakan isn't going to get much sleep this night, but he's going to try to!
So first Hakan set up his Anchor
1. Own Ship Anchor Inclusive Alarm
- Orange Inclusive Boundary Point with .25 nm
2. Own Ship Anchor Exclusive Shore Alarm
- Purple Exclusive Boundary along the hard shore.
Then he wanted an AIS
Boundary Alarm to waken him if I big ship came inside a certain perimeter. So he tried:
3. AIS Exclusive Boundary Alarm
- Green Exclusive Boundary Alarm
** At this point there is no way to set an AIS Boundary Alarm.
There is no way Hakan is going to get some sleep until we have one!
For the settings see the screenshots please.
GET THE CORRECT BOUNDARY ID
Currently it is very hard to determine and be sure that the three Boundary Alarms are using the correct boundaries.
I think the Boundary Name should appear on the Watchdog first menu, Configuration and the Edit screens.
Also in the Config Menu under "Options" the type of boundary alarm should be noted "Anchor Inclusive" , "Anchor Exclusive", "AIS Exclusive" etc
Also when "Get Boundary GUID" there should be a dropdown when selecting GUID where we can select the GUID by reference to the Boundary Object Name. This would help assure us we have the right object. Or perhaps it should show the color and type of boundary.
1. Orange Anchor Inclusive Boundary Point - Anchor watch checked
6036ffff-7838-4444-8c59-01a26311ffff <--This works.
2. Blue Anchor Exclusive Boundary (along shore) - Anchor watch checked
(Checked Guid twice, and pasted into Edit window for this Alarm to be sure.)
This Exclusion Alarm is working improperly. It is alarming when Own Ship is anchored outside of the exclusion boundary. - Have tested a number of times.
3. Green AIS Exclusive Boundary 6d57ffff-8c3f-4060-8dd9-fdeb51a3ffff
The Boundary Alarm Edit selections generally all refer to
They are radio
buttons and mutually exclusive. It there a reason they should not all be together in the menu? I believe they all apply to the Boundary.
Then we need at least one more alarm for the 3rd alarm to work.
Note: There is the possibility to Add an New Nmea
Alarm. This will only read the Nmea stream for a certain sentence and alarm is the sentence is not updated in a certain time period.
Of course Hakan would like to have that alarm on when he sleeps too, so he won't forget it I am sure. However what we need is an AIS alarm that searches for a boat that is inside or outside of a boundary.
This may take a little work to get this AIS location checking in place, and some help by someone who has worked with AIS and processing Nmea data streams.
There is a second type of AIS alarm that could be added which would just alarm within a certain user set range. That would be the first one to try. Then add the Boundary Inclusive/ Exclusive checking.
- I am not sure about the use of Inclusive boundaries with AIS, but if you had a buddy or fleet list it might be good for alerting you when your buddy has left in the morning or something.
AIVDM/AIVDO protocol decoding
AIS - Automatic Identification System - Information Page
Has a summary of the AIVDM sentence
Digital Yacht Files Nmea
Graphic breakdown of VDM sentence down 1 pg
These all will show how to get the lat long so it can be checked. I have no idea if Sean has interest in making an Nmea AIS range alarm. Then I expect Jon would be able to take it from there to check the boundaries. I gussing Sean is probably quite busy with main Opencpn
right now. Maybe somebody else would lend a programming shoulder to this little hurdle.
I think it might be a couple of weeks before Hakan will get some sleep, so in the morning I expect he'll weigh anchor at first light having called a friend for a early morning tow.