If / Then Actions

Requirement

If/then Actions are available for users with a Professional or Limited Subscription. 

If/then Actions Pico control is available for users with a Professional Subscription. 

Automatic controls can be created for any device in the smart-me platform. There are two ways to define such actions. Either event actions or if/then actions are created.  This article explains if/then actions.  Compared to event actions, more complex triggers and actions can be defined:

If/Then Actions

The If/Then Actions are stored in the cloud and therefore only work if the device in question has a WLAN connection. You can create an unlimited number of if/then actions for all smart-me devices. If/Then actions can only be created and changed in the web portal. 

Procedure

Requirements for functioning if/then actions:

If-events

The following if-events (triggers) are available:

Value above / below threshold

Measured value greater/smaller

The test value always refers to the main attribute. 

In addition, define how long the measured value must be undercut or exceeded in order to trigger the then action.

Date & Time

Date and time

You can define individual events or time periods as if-events. 

A distinction is made between the following variants:

Individual events:

The individual events are always executed at a specific time. If, however, it was not possible at the time for technical reasons (e.g. no Internet), the command is not repeated until the next time the condition occurs. This variant is suitable if other sources are to change the influenced switching state in the meantime.

Time span events:

The time span events are checked and repeated every 5 minutes within the defined time span. The switching state would be changed as soon as the technical problems were eliminated, but prevents external intervention on the controlled switching states.

No connection

No connection

An if event can be set for meters disconnected from the cloud. The following settings must be made:

Tip: When a folder is selected, all counters hereatic below it will be monitored.

Notice: 

This if action is only executed once. This command is only executed a second time after all counters (folders) affected by this alarm have been online again. (therefore, in the event of an alarm, briefly check all meters for your current connection).

counter standstill

Counter standstill

An if event can be set for a counter standstill. The following settings must be made:

Notice:

Take more than one day (1440 minutes) or at least twice the longest meter readout interval as the time unit here.

switch states

Switching states

Instead of monitoring the power of a meter, the switching status can also be monitored. The following settings must be made:

Minimum time: How long the counter must be in this state until the condition for the then action is fulfilled.

current above / below threshold

The function current above / below threshold enables control of loads to avoid overload situations at reference points. 

Specifically, it can serve as a trigger for pico control.

The function automatically tracks the strongest positive current of the measurement unit. 

Example 3-phase counter:

Phase 1: -5A
Phase 2: 3A
Phase 3: 7A

Resulting test current for the assessment: 7A

Then the test threshold is defined (threshold) and whether it is triggered when exceeded or fallen below.

A minimum time can also be specified.

Then-Actions

As soon as the if-events occur, the then-actions are triggered.

The following then-actions are available:

Alarm

Alarm

If the if-events have occurred, an e-mail is sent. The following settings must be made:

Placeholders can be defined for the subject and in the message. AlarmnName and EventActionName will then be replaced by the entered "Alarm Name" and the "If-Then Event Name" respectively in the sent e-mail.

turn on / off

Switch on / switch off

If the if-events occur, the selected unit switches. Folders can also be selected, in which case all switchable units in this folder are switched accordingly.

Note:
Counters only have switching states if they have also been switched on in the hardware.

The following settings must be made:

ZEV Examples

ZEV heat pump with SG-ready control dependend on balance meter measurement

The configuration discusses the structural design of a heat pump control depending on the balance measurement with SG-Ready function.

Objective: The heat pump should be controllable in four performance levels via two electrical contacts (Telstar meters S0_0 and S1 outputs).

SG-Ready or Smartgrid-Ready is a control logic which maps 4 states with two signals according to the following scheme:

Operating state 1: S0_0 OFF and S1 OFF --> Heat pump OFF (0W)
Operating state 2: S0_0 OFF and S1 ON --> Heat pump output level 1 (800W)
Operating state 3: S0_0 ON and S1 OFF --> Heat pump output level 2 (2800W)
Operating state 4: S0_0 ON and S1 ON --> Heat pump output level 3 (5800W)

In order to carry out such a configuration successfully, we need a so-called state machine, i.e. we must have an action for each of the 4 power levels in order to switch from one level to the next and back again.

Switching is done in the power levels:

Stage 0--> 1: Excess of >800W
Stage 1--> 2: Excess of >2000W
Stage 2--> 3: Excess of >3000W.

Stage 3 -->2: Draw >500W
Stage 2 -->1: Draw >500W
Stage 1-->0: Draw >200W

For each stage, the If statement checks which stage we are in and then checks the balance value at the same time. In the Then action, we then specify which stage to switch to if the If actions all apply.

Important: The changeover must not take place immediately and should be set to approx. 5 minutes for each stage by means of the minimum measured value time.

1_State 0-->1 ON

1_State 1-->2 ON

1_State 2 --> 3 ON

2_State 3 --> 2 OFF

2_State 2--> 1 OFF

2_State 1 --> 0 OFF