|
| 1 | +--- |
| 2 | +publishDate: 2025-10-27 |
| 3 | +title: SignalK Remote Alerting with Pushover and a Local Beeper |
| 4 | +author: Greg Young |
| 5 | +image: ~/assets/images/signalk-notifications.webp |
| 6 | +category: Tutorial |
| 7 | +tags: [pushover, signalk, Node-RED] |
| 8 | +excerpt: An example of using Pushover for signalK remote notifications across Android and IOS devices; and an inexpensive beeper locally that will ensure it wakes you in the middle of the night. |
| 9 | +--- |
| 10 | + |
| 11 | +## 1. Background |
| 12 | + |
| 13 | +With extensive monitoring capabilities built into my signalK system, I wanted a method to provide "remote" notifications/alarms of selected events, so that when remote from the boat.. even on the other side of the world traveling, I could receive alerts on my Android phone & Ipad (IOS), thus demanding a common method across both mobile device operating systems. |
| 14 | +SignalK has a built in "notification engine" that requires a display device, or application/plugin to handle these, and in turn trigger audible & visual alerts. |
| 15 | +There are two basic use cases, namely "Locally" (on the boat) or "Remote" (which could be "at the beach", or "on the other side of the world"). |
| 16 | +This list is certainly not exhaustive, just based on my experience. |
| 17 | + |
| 18 | +**Local Alerts**: |
| 19 | + |
| 20 | +- audible alerts from sound devices such as USB speakers, audio output (from RPi) to a local stereo (eg Fusion) |
| 21 | +- audible alert beeper/buzzer/siren device (eg driven by RPi GPIO) |
| 22 | +- Displays devices such as MFDs, monitor/touchscreen |
| 23 | +- Tablet/phones or PCs running applications (eg WilhelmSK, KIP, OpenCPN) |
| 24 | +- **Remote Alerts**: |
| 25 | +- Any of the above applications that can be operated on a mobile device AND support "remote push" style alerts |
| 26 | +- Cloud based "push" messaging (eg Pushover, SMS) |
| 27 | + |
| 28 | +I have tried a number of these methods, and settled upon using Pushover for remote alerts and an onboard "beeper" for local alerts. |
| 29 | + |
| 30 | +## 2. SignalK Notification Types |
| 31 | + |
| 32 | +Within signalK there are four pre-defined notification "types" (levels) namely; |
| 33 | + |
| 34 | +- Emergency |
| 35 | +- Alarm |
| 36 | +- Warning |
| 37 | +- Alert |
| 38 | + |
| 39 | +Different plugins, actions & user defined NodeRed flows can selectively raise or cancel (set to "normal") & respond to these notifications. |
| 40 | +For example, the anchor alarm plugin generates an "Emergency" notification for breaching the alarm radius (configurable in the plugin) and a "Warning" for the inner radius. |
| 41 | +The audible &/or visual behavior of a client would typically be different for an "alert" vs a "warning" vs an "emergency". |
| 42 | + |
| 43 | +## 3. Remote Pushover notifications |
| 44 | + |
| 45 | +Pushover is a cloud based notification platform that makes it easy to get real-time notifications on your Android, iPhone, iPad, Desktop or watch (Android Wear and Apple Watch) |
| 46 | +[https://pushover.net/](https://pushover.net/) |
| 47 | + |
| 48 | +Use of the messaging platform is "free" (up to 100k notifications/mth), however the android and IOS apps (each) have a one time fee of $5. |
| 49 | +After registering (free), you will be assigned a "username" & "API key, these are used below. |
| 50 | + |
| 51 | +## 4. Install & Setup signalK Pushover Plugin |
| 52 | + |
| 53 | +Install the signalk pushover plugin |
| 54 | +[install pushover plugin](https://github.com/KvotheBloodless/signalk-pushover-notification-relay) |
| 55 | +from the signalk app store and then configure with your username/API Key. |
| 56 | +If you leave the Notification section blank, it will send ALL signalK notifications. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +## 5. Pushover IOS (iphone/Ipad) application |
| 61 | + |
| 62 | +Install pushover application on your mobile device (IOS version shown), and customise it as required. |
| 63 | +It enables customisation of sounds and behavior, it will "wake" the device (& can over-ride silent modes etc) with different tones and volume (inc very loud!) alerting... you certainly cant miss them! |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +An example of a pushover message, for an "emergency" notification (anchor alarm radius exceeded); which continues until acknowledged. |
| 68 | +Its all very highly customizable. |
| 69 | + |
| 70 | +An example of what the application screen looks like. |
| 71 | + |
| 72 | + |
| 73 | +An emergency alert; note the "acknowledge notification" that needs to be clicked to stop it repeatedly alerting. |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | +## 6. Beeper for Local alerts |
| 78 | + |
| 79 | +Everyone has heard those annoying "reversing beepers" on trucks, with a distinctive screech, they are inexpensive & readily available in either 12V or 24V. This is a perfect solution for hiding out of sight, but still loud enough to get my attention anywhere on the boat, including waking me in the master stateroom. |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | +12/24V Backup Beeper Horn 105dB ~$15 |
| 84 | + |
| 85 | +Whilst there are very cheap "5V buzzer" devices available that can be driven directly from a RPI; in my experience their sound level is inadequate. |
| 86 | +My RPi that hosts signalK is "always running", so an externally connected "beeper" has advantages: |
| 87 | + |
| 88 | +- no additional power draw (except when alerting) |
| 89 | +- does not require running chartplotter/MFDs or sound system (overnight or when at anchor) |
| 90 | +- will operate regardless even when Ipad/phone are flat; or not connected to the boat LAN |
| 91 | + .. or inevitably in a location where the inbuilt sound level just doesn't do the job. |
| 92 | + |
| 93 | +## 7. Driving the Beeper from a RPi |
| 94 | + |
| 95 | +Operating from 12 or 24V power, the beeper cannot be directly powered or driven by the RPi. |
| 96 | +To operate the beeper, a separate "relay module" is used, that can be driven directly from a RPi GPIO. |
| 97 | + |
| 98 | + |
| 99 | +5V one channel relay board with optocoupler (high and low level trigger) ~$2 |
| 100 | + |
| 101 | +Its preferable to have a module that has a "high trigger" capability, as this is then driven "active" by a GPIO "high" level output. |
| 102 | + |
| 103 | +## 8. Beeper & Relay circuit diagram |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | +## 9. Node-Red alerting |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | +This NodRed flow can be downloaded atp: |
| 112 | +[Download the Node-Red flow](https://github.com/gregsyoung/NodeRed-Flows/blob/main/notifications-beeper/NodeRed-alerting-beeper.json) |
| 113 | + |
| 114 | +To control the beeper, we use a "rpi-gpio out node" (in this case connected to Pin40 /GPIO21), when msg.payload =1, the relay module is switched ON and the beeper sounds. |
| 115 | +There are two different sub flows, the upper pulses the beeper (1.2S ON/ 1 S off) continuously when either "emergency" or "alarm" notifications are set (for any path). The lower sub flow (for "alerts") sounds a double beep only. |
| 116 | +In this flow as configured, ALL notifications of the respective type initiate the beeper sounding, however the "notification node" can be configured for a single path only if desired. |
| 117 | +In practice, in my system, any notification of type "emergency or alarm" result in an ongoing (very loud) beeping until the alarm is cleared (set to "normal" in signalK). |
| 118 | + |
| 119 | +## 10. Summary |
| 120 | + |
| 121 | +Deploying inexpensive hardware and some simple NodeRed flows, I created a local audible alarm system, with different alerting depending on the urgency; that has the capability to wake me as required and be heard around all areas of the boat. |
| 122 | +For remote alerting with a high level of customisation, the Pushover plugin/cloud service with its mobile application has worked reliably for me "across the world" to receive urgent alerts of unexpected events on the boat. |
0 commit comments