Notifications (Alerts)

How to set up notifications for a single device or for a selection of devices.

Notifications/Alerts is a crucial part of any IoT solution. Blynk offers extensive set of features to send and receive in-app (push), email, and SMS notifications from devices.

There are three main approaches you can take:

  1. End-users can set up Notifications using Automations (if allowed so by their role and set of permissions). Once Automation is set up, Blynk.Cloud monitors the data and sends notification to the specified recipients when the condition is met.

  2. Device-driven notifications

Use Automations To Send Notifications From Blynk.Cloud (no code)

This is the easiest way of sending notifications triggered by user-defined conditions .You don't even need to write any code on the hardware, Blynk.Apps and Blynk.Console offer a simple user interface to set it up. Blynk.Cloud will do all the rest.

Read more about setting up automations here:

Automations

Send Notifications From Hardware

Very often notifications and alerts are an integral part of an IoT product and has to be triggered by the device itself. Blynk offers a way to pre-configure and inegrate alerts into the device logic.

Such Notifications are part of Events functionality. You would need to configure an Event first

Note: notifications are parts of Events. Before moving forward:

  1. Make sure your template has Event configured

  2. Make sure that Notifications are enabled for this Event

How to Send/Log Events

Setting notifications for multiple devices

  1. Go to Devices

  2. Select multiple devices (1)

  3. Hover over the Actions menu [...] (2)

  4. Click Notification Settings (3)

In the opened drawer select the desired events to edit (4) -> Edit Settings (5)

If the list of events is empty or you don't see the Edit Settings button, make sure that Notifications are enabled for this Event in the Device Template

In the modal window turn on the desired channels (Email, Push, or SMS), select the recipients. If the recipient is not on the list you can search by typing the name or the email.

If you need to deliver notifications to all members of current organization, choose All members in the dropdown.

Press Apply and you'll see the event status and channels updated

Last updated