Notifications

From Domoticz
Jump to navigation Jump to search

Introduction

Notifications can be send for example when a switch is pushed, electricity usage is too high,temperature to high and for many more options.

See page [Devices - Edit Notifications] for instruction to set Notifications on the devices.

The following notification services are supported:

  • Prowl (iPhone/iPad)
  • IFTTT
  • NMA (Android)
  • PushBullet
  • Pushsafer (iOS/Android/Windows10/Chrome/Firefox) + Image
  • Pushover (Android/iOs)
  • Pushalot (Windows/Windows Phone)
  • Clickatell SMS
  • Custom HTTP/Action
  • Kodi Media Player
  • Logitech Media Server
  • Google Cloud Messaging
  • Telegram

The services settings the notification Intervals can be set for sensors and switches. Notification systems can be configured in the Menu Setup -> Settings


Configuring IFTTT

When you are logged in at IFTTT, visit https://ifttt.com/maker_webhooks

Next press the Connect button, and after being connected, click Documentation, and copy the API/Key and paste this in Domoticz under Settings->Notifications->IFTTT

Also enable IFTTT here and Apply Settings

For more info see wiki page IFTTT integration with Domoticz

Configuring Telegram

See the following wiki page: Telegram notification

Configuring Telegram Bot with Custom HTTP/Action

See the following wiki page: Telegram Bot#Setting Domoticz to Use Telegram Bot Nofications

Configuring PushBullet

  • Get your API key with PushBullet ; you can find the link from Domoticz > Settings > Notifications.
  • Set your API into Domoticz at the same location and SAVE your changes
  • Select your device (lights, sensor, custom) and click Notifications ; you therefore have to select Pushpullet and the trigger you want to receive the notification.
  • Install the pushbullet app on your smartphone

Configuring Clickatell SMS

See the following wiki page: SMS Notifications

Configuring Custom HTTP/Action

Please note that when using a script, the script name/path cannot contain the words import, socket or os

For an example, see the following wiki page: Telegram Bot#Setting Domoticz to Use Telegram Bot Nofications

Configuring Kodi Media Player

See the following wiki page: Kodi#On_Screen_Notifications

Configuring Pushover

To connect Pushover to Domoticz, you need two things:

  • A user key, which can be found on the Pushover website as soon as you have logged in
  • An API-key. This can be made by filling in this wizard: https://pushover.net/apps/build

Fill in both the keys into the correct fields inside Domoticz ( Menu Settings), and the Pushover notifications should be working.

Configuring Pushsafer

To connect Pushsafer to Domoticz, you need a private or alias key from https://www.pushsafer.com:

  • A private or alias key, which can be found on the Pushsafer website as soon as you have logged in
  • private key > send the notification to all devices with standard notification parameter
  • alias key > send the notification to the devices stored in the alias with predefined parameter

Fill in the key into the correct field inside the Domoticz notification settings ( Menu Settings), and the Pushsafer notifications should be working.

Optionally you can send an image with the push-notification. Simply add an absolute image url, e.g. from an ip camera or a door bell.

Example Image-URL: http://user:[email protected]:8080/snapshot.cgi

Advanced Pushsafer configuration

To customize your notification to your fit, you can enter Pushsafer parameters in the "Custom Message" field.

The following parameters are available and must always be entered separately in this order by a PIPE character.

The domoticz priority parameter is passed with the pr parameter of Pushsafer.

PrivateOrAliasKey|DeviceID|Icon|Sound|Vibration|Title|Message|ImageURL|URL|URLTitle|Time2Live|Retry|Expire|Answer

Examples

YourPrivateOrAliasKey|269|82|6|3|Domoticz|Switch on|http://user:[email protected]:8080/snapshot.cgi|http://www.pushsafer.com|Open Pushsafer|1000|60|600|1

YourPrivateOrAliasKey||83|7|1|Domoticz|Switch off|http://user:[email protected]:8080/snapshot.cgi||||||

Pushsafer Domoticz: https://www.pushsafer.com/en/domoticz

Pushsafer HowTo: https://www.pushsafer.com/en/howto

Pushsafer API: https://www.pushsafer.com/en/pushapi

Notifications to PC with Snarl

Snarl is a great notification system for events like low diskspace, IM events, played music, time, anything you can think of!

Notifications to Snarl on your desktop or laptop only work on your local network, that is, the network in where Domoticz runs More info in the following Wiki page: Notifications to PC with Snarl