Signal KSK
Signal K11mo ago
5 replies
AdrianP

AdrianP - MOB (POB) Notification dataThe Notif...

MOB (POB) Notification data
The Notification specification is silent on how to provide additional data in notifications. This has left it up to plugins and apps to do their own thing, which is fine for most cases but not for Alarms such as Person Overboard.
There is an outstanding Freeboard-SK issue regarding the "alignment" of MOB notifications from various sources, so in an attempt to get alignment here is my proposed
MOB Alarm
notification to allow us to move forward (and inform any update to the spec) :
{
   "state": "emergency", // as per the current spec
   "method": ["visual","sound"], // as per the current spec
   "message": "alarm text!", // as per the current spec
   "position": {"latitude": 25.34, "longitude": 9.345},  // position where alert was raised
   "createdAt": "2025-03-17T05:49:23.869Z",  // datetime at which alert was raised
   "properties": { ... }  // key-value pairs to hold additional data as required.
}
Was this page helpful?