Skip to main content

Notify.Events smart home integration, free and open source

Notify.Events integration for Gladys Assistant

Notifications from Gladys scenes to Telegram, Slack, Discord, e-mail, SMS… via Notify.Events.

Send notifications from your Gladys scenes to all the messaging services Notify.Events can reach: Telegram, Slack, Discord, Microsoft Teams, e-mail, SMS, voice calls, its mobile app… One Notify.Events channel groups the recipients; Gladys sends to the channel.

Developed without the hardware: feedback welcome. This integration was written from the official Notify.Events clients without a Notify.Events account; only the refusal of an unknown token was checked against the real service. Tell us how it works for you on GitHub.

What you get​

  • One device per channel, found in Discovery: last result, last message, date of the last successful sending, and a button sending a test.
  • The scene action Send a Notify.Events message: title, message, priority, level and an optional image (a camera snapshot, for example), to one channel.
  • The scene trigger Notify.Events message not sent, to fall back on another channel or another integration.
  • The Notify.Events dashboard widget: the last result of each channel and a Send a message button opening a short form.
  • The Send a test message button of the configuration.

Requirements​

  • Gladys 5.2.0 or later, with Internet access: everything goes through the Notify.Events cloud (notify.events).
  • A Notify.Events account. The free plan allows 50 messages a month and 2 channels, without attachments: the image needs a paid plan. Each message sent counts against your plan.

Configuration​

  1. On notify.events, create a channel and add its recipients (Telegram, e-mail…).
  2. In the channel, add a source: choose cURL (any source giving a token works). Notify.Events shows its token, 32 characters.
  3. In Gladys, fill Channel 1: name (shown in Gladys) and Channel 1: source token, then save. Up to five channels, one token each.
  4. Language of the integration texts chooses the language of the names and states of the devices, of the test message and of the errors (French by default).
  5. Send a test message sends a message to every channel and says which ones received it.

The connection status turns red when no token is entered, when a token is malformed, or when Notify.Events refused the token of a channel at its last message.

Channels in Gladys​

Open Discovery: each channel of the configuration is a device carrying its name. Add those you want to use: the scene action and the trigger list the channels added. The device shows the result of the last message (sent, sent without image, or the reason of the failure), that message and the date of the last successful sending; its button sends a test, whose outcome shows on the device.

A channel is known by its position in the configuration (channel 1 to 5): moving a token to another position makes a new device.

Scenes​

Send a Notify.Events message: choose the channel among the devices added, then:

  • Title (optional) and Message: they accept the variables of the scene. The tags <b>, <i>, <a> and <br> are allowed.
  • Priority: lowest, low, normal, high, highest (normal when empty). The channel can filter by priority, and some recipients ring louder.
  • Level: verbose, information, notice, warning, error, success (information when empty). Some recipients color the message by level.
  • Image URL (optional): an http:// or https:// address the integration downloads and attaches, such as the snapshot URL of a camera (http://user:password@camera/snapshot.jpg, Basic authentication). 5 MB at most. If the image cannot be loaded, the message leaves anyway, with a note.

The action fails, in red, when the message is not sent: unknown token, Notify.Events unreachable, too many messages, message refused (limit of the plan, attachment on the free plan…). The scene goes on with its next actions.

Notify.Events message not sent: fires when a message of a scene, of the widget or of a test could not be sent, at most once per channel and reason every 15 minutes. Filter by channel and by reason; the variables give the channel name, the reason and the error.

Dashboard​

Add the Notify.Events widget: one line per channel with the result and the time of its last message. Send a message opens a form: channel, title and message. A setting hides the button.

Limits​

  • Notify.Events is a cloud service: without Internet access, nothing is sent.
  • Notify.Events offers no way to check a token without sending a message: a wrong token shows at the first message (or with Send a test message).
  • The images of Gladys cameras cannot be read by an external integration: give the snapshot URL of the camera itself (or of Frigate, of a NVR…). Digest authentication is not supported.
  • The action buttons of Notify.Events messages (callbacks) are not supported.

Troubleshooting​

  • Notify.Events does not know this token: copy it again from the source of the channel; a deleted source stops working at once.
  • Message refused: the monthly messages of the plan are used up, or an image was attached on the free plan. The reason given by Notify.Events is shown in brackets.
  • Sent without image: the camera did not give its image (address, credentials, HTTP code shown in the message).
  • Logs: Integrations → Notify.Events → Logs. The tokens are never written there; LOG_LEVEL=debug shows every message sent.

Credits​

Not affiliated with Notify.Events. Notify.Events is a trademark of its owner. Report issues on GitHub.

Configuration settings​

These are the settings Notify.Events asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Connect your Notify.Events channelssectionNoOn notify.events, create a channel, add its recipients (Telegram, e-mail…), then add a source such as cURL: paste its token below. One token per channel, five channels at most.
Channel 1: namestringNoShown in Gladys (device, scenes, widget). Empty: "Notify.Events 1".
Channel 1: source tokensecretNo32 characters, shown by Notify.Events when you add a source (cURL, for example) to the channel.
Channel 2: namestringNo
Channel 2: source tokensecretNo
Channel 3: namestringNo
Channel 3: source tokensecretNo
Channel 4: namestringNo
Channel 4: source tokensecretNo
Channel 5: namestringNo
Channel 5: source tokensecretNo
Language of the integration textsselectNoUsed for the names and states of the channel devices, the test message and the errors.

How to install Notify.Events in Gladys​

  1. In Gladys, open Integrations: Notify.Events appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/guim31/gladys-notify-events:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/guim31/gladys-notify-events.

Notify.Events requires Gladys >=5.2.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Notify.Events is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by guim31, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂