AdrianP
AdrianP
SKSignal K
Created by Davin on 1/2/2025 in #questions
Slow output from signalk-to-nmea0183
SKSim posts requests at the output interval in the settings. These are http requests which in turn raise deltas via handleMessage I would expect to see these requests in the debug log at the configured interval
30 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
We can continue the conversation in #specification but to answer the question...the condition to be rectified (battery over voltage) is an alarm, the way it is brought to your attention is a notification.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
Alarms can have various statuses whilst being active e.g. acknowledged, silenced. Notifications are transient in nature and are cleared once viewed. Example would be an alarm clock.... The alarm is activated at the set time, the sound is the notification and the alarm is still active if the snooze button is pressed (notification cleared) and remains so until it is stopped.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
For example this is OpenBridge's approach https://www.openbridge.no/pattern/alert
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
One topic that might need addressing is the concept of alarm vs notification. The Signalk spec uses these interchangeably but I personally think they are two different concepts. An alarm is a condition that requires action and generally will have a lifecycle attached to it. A Notification is an indication of an event or state that may (or may not) be a call to action. Alarms will usually raise notifications but notifications are not necessarily alarms. Also they have different lifecycles. So I think it's worth having an agreed definition of both first to avoid ambiguity as we move forward with this.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
I will add a timestamp to the mob alarm notification in FSK. I am looking to release a new version after the next server release.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
@Raffaele Montella if you move the waypoint position you are using as an href then you will need to call set destination again with the same href to update the destination position. The course API doesn't watch for changes in the referenced resource.
39 replies
SKSignal K
Created by Raffaele Montella on 12/22/2024 in #plugins-and-webapps
Raffaele Montella - I'm writing a plugin to man...
A couple of other points for consideraton. 1. The pob (person overboard) notification should have an identifier (id) as we can't assume there will only be one from the same source. Addiitionally the id could then be used as a key for subsequent operations and / or linking to resource entries. 2. Capture the position the alarm was raised in the alarm message. FSK currently does this by extending the notification to include a data object which allows the POB position to be dispayed on the map.
{
"state": "emergency",
"method": [
"visual"
],
"message": "mob",
"data": {
"position": {
"longitude": 5.400111383333333,
"latitude": 53.20023871666667
}
}
}
{
"state": "emergency",
"method": [
"visual"
],
"message": "mob",
"data": {
"position": {
"longitude": 5.400111383333333,
"latitude": 53.20023871666667
}
}
}
The data section could also be used to capture additional properties such as the timestamp.
39 replies