{"action":"created","issue":{"url":"https://api.github.com/repos/SignalK/specification/issues/96","labels_url":"https://api.github.com/repos/SignalK/specification/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/SignalK/specification/issues/96/comments","events_url":"https://api.github.com/repos/SignalK/specification/issues/96/events","html_url":"https://github.com/SignalK/specification/issues/96","id":111721833,"number":96,"title":"How will Signal K handle Alarms/Alerts ?","user":{"login":"sumps","id":10165637,"avatar_url":"https://avatars.githubusercontent.com/u/10165637?v=3","gravatar_id":"","url":"https://api.github.com/users/sumps","html_url":"https://github.com/sumps","followers_url":"https://api.github.com/users/sumps/followers","following_url":"https://api.github.com/users/sumps/following{/other_user}","gists_url":"https://api.github.com/users/sumps/gists{/gist_id}","starred_url":"https://api.github.com/users/sumps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumps/subscriptions","organizations_url":"https://api.github.com/users/sumps/orgs","repos_url":"https://api.github.com/users/sumps/repos","events_url":"https://api.github.com/users/sumps/events{/privacy}","received_events_url":"https://api.github.com/users/sumps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-15T22:35:40Z","updated_at":"2015-12-22T23:30:07Z","closed_at":null,"body":"It would be very good if a Signal K gateway/server could pass through NMEA2000 Alerts, AIS MOBs, etc. or there was a mechanism for a gateway/server to trigger an alert/alarm. One way would be to create a new object in the Root called Alarms;\r\n- Alarms\r\n    - aismob#12\r\n    - alert#367\r\n    - alarm#490\r\n\r\nEach Alarm would reference the Signal K object that the alarm was related to i.e. a sensor, engine, aisSART, etc. so that it would be easy to access the relevant properties of the alarm by calling the object....  signalk/api/v1/vessels/self/propulsion/transmissionOilPressure/value\r\n\r\nObviously there are a lot of things to consider such as resetting/timing out the alarm and it maybe out of scope for V1 but we need to start considering this issue."},"comment":{"url":"https://api.github.com/repos/SignalK/specification/issues/comments/166761863","html_url":"https://github.com/SignalK/specification/issues/96#issuecomment-166761863","issue_url":"https://api.github.com/repos/SignalK/specification/issues/96","id":166761863,"user":{"login":"rob42","id":3239261,"avatar_url":"https://avatars.githubusercontent.com/u/3239261?v=3","gravatar_id":"","url":"https://api.github.com/users/rob42","html_url":"https://github.com/rob42","followers_url":"https://api.github.com/users/rob42/followers","following_url":"https://api.github.com/users/rob42/following{/other_user}","gists_url":"https://api.github.com/users/rob42/gists{/gist_id}","starred_url":"https://api.github.com/users/rob42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob42/subscriptions","organizations_url":"https://api.github.com/users/rob42/orgs","repos_url":"https://api.github.com/users/rob42/repos","events_url":"https://api.github.com/users/rob42/events{/privacy}","received_events_url":"https://api.github.com/users/rob42/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T23:30:07Z","updated_at":"2015-12-22T23:30:07Z","body":"Some more thoughts on this. The `vessels.uuid.alarms.` tree is assumed to be populated by the server or an alarms daemon from the rest of the signalk tree, by comparing with the values bounds in `.meta`\r\n\r\nThen the alarms that exist there are notified to screens etc by an alarm monitoring process. So plugging into this would be a good thing.\r\n\r\nThere is no reason that a value cannot be simply posted directly in there, eg `vessels.uuid.alarms.mob`. All the better if they map back to a signalk key, eg engine fire would be `vessels.uuid.alarms.propulsion.engine1.fire` - which would be more useful than a simple fire alarm, as you immediately know where to look.\r\nWill need to look at `alarmState`, probably needs another state `emergency`"}}