## General

This digitalSTROM application sends push notifications to smartphones. For example, you can push a message if somebody rings the doorbell or if the digitalSTROM panic button is pressed. The messages will be sent directly to the selected smartphones.

## Preconditions

Before sending push notifications, the digitalSTROM-Server must be connected to your personal my.digitalSTROM account. Therefore, please install and configure the my.digitalSTROM app on your server.

Push notifications might be received by the ‚dS Smart Home’ (iOS, Android) app. In order to receive the messages, the smartphone app must be connected to your my.digitalSTROM account as well. In addition, the push notification needs to be enabled for this particular app on your smartphone.

## Overview of all messages

In this view, all existing messages with their trigger, defined text and the conditions will be listed. In addition to the option of creating and editing the messages, you can also activate and deactivate one by one without completely deleting them from the system.

## Creating or editing messages

First enter a name for your message. Define the activity that should trigger the message in the ‚Trigger‘ tab. Various activities can be considered as triggers:

- Activity in Room: Calling up a single or several presets in a specific or in any room.
- Push-button Action: Uses the switching commands of locally controlled devices (e.g. line switch locally on, locally off) or the clicks of an app push button. These switching commands do not influence any preset in the room and are only evaluated by a server app.
- User Defined Actions: Trigger a User Defined Action, e.g. via a smartphone.
- Binary Sensor Event: Changes in the state of a connected binary sensor such as motion detector or wind sensor.
- Room State: Changes in the room state such as light is switched on or movement becomes active.
- Consumption Event: Configured consumption reports of inline adapters or black terminal blocks L.
- Global Activities such as Leaving Home, Coming Home, Door Bell or Panic.

Thereby several different presets or clicks may also serve as triggers so that e.g. a message is sent for presets 1, 2, 3 and 4. By holding the Ctrl key on your keyboard, you may select several presets at the same time.

The desired message is defined in the tab ’Message’. You may choose between posting the message to all registered smartphones or to one or multiple smartphones individually. The particular smartphones can be selected from a list. The sent message is a simple text message that does not permit any formatting.

- Solar Altitude

- Daytime: Send between sunrise and sunset only.
- Night: Send between sunset and sunrise only.
- Bright: Send between dawn and dusk only.
- Dark: Send between dusk and dawn only.

- Time of Day: Define a time range in which the message is sent. Thus the sending of a message can be limited to a specific time span.
- Weekday: Restricts the sending of a message to a predefined weekday.
- Binary Sensor Event: Sends the message only at the corresponding sensor state.
- Present: Sends the message according to the selected condition when you are present or absent.
- Presence Simulation: Sends the message when the Presence Simulation is either active or inactive.
- Weather: Sends the message at the corresponding weather situation.
- Security: Sends the message when the selected security state is active.
- Room State: Sends the message when the defined preset is active in the room.

The messages will only be sent if all pre-defined conditions are met. The actual status of the conditions is shown by symbols on the left side of the 'Conditions' column:

- : All conditions fulfilled, the message will be send.
- : Not all conditions fulfilled, the message will not be send.

The actual sate of the conditions can be visualised in the Tooltip. The state is updated by reloading the page or by clicking 'Refresh view'. 'Test message' sends a message in any case, whatever the state of the conditions is.
Conditions are optional.

The settings of the message are saved and activated by ‚Save‘.