Rules-notifications HAM DinSwitch
Ilias Dadis
Last Update 6 months ago
One of the many advantages of HAM devices is the ability to create custom rules for your devices. By defining these rules, you can receive notifications in various ways when certain events occur that your device can detect. These notifications follow an "IF something=true, THEN take an action" format. In other words, when the specified condition is met, you will be notified according to your preferences. The process of creating, editing, and removing rules and notifications is detailed below.
1. Press the button marked "+" to add a new rule.
2. In the box that appears, you see in the "IF" part the part of the condition you want to be satisfied and in the "THEN" part the notification you want to be sent if the condition above is satisfied. Also, you can set the name you want for the rule by clicking on the "New Rule" box.
Creation of an "IF" condition
1. To set the condition in the 'IF' statement, begin by specifying the device and measurement in the top line where the rule will apply. In the bottom line, outline the condition, the limit value of the measurement, and the duration for which the rule holds. The general logic for defining the condition in the bottom line is as follows:
- "It is above" means in practice that the measurement is moving towards the highest levels
- "It is below" means in practice that the measurement is moving towards the lower levels
2. If you want to create multi-condition rules, you can add a new condition to "IF" by pressing the "+" button below the previous condition. You can set up to a total of 4 conditions.
**Attention! When setting multiple condition rules, remember that "and" means ALL conditions must be met IMMEDIATELY in order to receive a notification.**
Creation of "Then" notifications
1. Personal Notifications: In the "THEN" section, you can specify how you want to be notified regarding the events mentioned in the "IF" section. You have four notification modes to choose from. Additionally, you can use all of them together by adding notifications with the "+" and the "and" function, as before.
- "Notify me (App)": When the events of "AN" occur, then you receive a notification through the "HAM" app you have on your mobile phone.
- "Send me email": when the events of "AN" occur, then you receive a notification in the email with which you have created an account.
- "Send SMS": when the events of "AN" occur, then you receive a notification by SMS to the mobile phone you set in the form. To use the "Send SMS" option you must have SMS available in your account.
- "Phone call". To use the "Phone call" option, you must have phone calls available on your account.
2. Notifications to Third Parties: In the event of the situations described in the "IF" section, you have the option to notify others in addition to yourself. You can choose from four different methods for notifying third parties. You can combine these methods by adding notifications using the "+" and "and" functions, just as before.
3. Notifications to Other HAM Devices: It is possible to notify other HAM devices in the event that conditions specified in the "IF" leg occur, allowing them to perform predefined actions. For example, suppose you control a water heater using a HAM DinSwitch device and monitor the temperature with a HAM ThermoSense. You could set a rule to shut down the water heater if the temperature exceeds a specified threshold.
Notifications for resetting to normal operation
In the final part of a rule, you can specify how you would like to be notified when the system "Resets to normal operation." This means that if the "IF" condition is no longer met and everything returns to normal, you, third parties, or other HAM devices can receive notifications as before.
Select the rule deactivation button and then press "SAVE".
The rule is not deleted, it is simply disabled. You can use the same procedure to activate it again.
Select the delete button for the rule and then confirm the deletion by clicking "Ok" in the message that will appear at the top of your page.