Example setup of an email alert
After you have configured the most important settings (language / time zone / network / user rights) on your monitoring system using the built-in wizard, please proceed as follows. We will show you, using a Google Gmail account as an example, how to set up an email alert for temperature monitoring in your Didactum monitoring system.
01. Set up a Google Gmail account
WARNING! IMPORTANT NOTICE: Google removed the "Access for less secure apps" option in fall 2024, so the method described here is currently not possible. We are working on a solution.
If you don't have a Gmail account yet, please sign up with Google.
Important: Under Google "Account settings" => "Security", please enable the "Access for less secure apps" option.
02. Set up an email account under the monitoring system
Under the "System Tree" menu, click the "+" symbol in the top left corner. A new menu, "Add a new item," will appear.
Select "Email" and give the email account a unique name at the top. In our case, "Google Mail Gmail." Then, enter the required information under "SMTP Server" and "SNMP Port." In our case, we're using smtp.gmail.com and port 587. TLS and STARTTLS must be enabled. Under "Login and Password," enter your Gmail email address and password. Then, enter the sender and recipient email addresses. Under "Message Content," we're using the default Didactum macro function.
Finally, save the settings.
03. Configure the desired sensor
As an example, we select the onboard temperature sensor of our monitoring device under "System Tree" and configure it according to our requirements. Enter the lower, medium, and high temperature limits using the keyboard or your mouse. After setting the limit and warning values, we give the sensor a custom name, such as "Onboard Temp," and save the settings.
4. Set up email alerts under "Logical Scheme"
Now let's set up the email alert for the temperature sensor. Go to the "Logical Scheme" menu item and click the "+" symbol in the top left corner. A new window, "Specify New Logical Scheme," will open automatically. First, assign a custom name, such as "Onboard Temp Alarm."
The alert works according to the following scheme: IF => ELEMENT NAME => STATE (NORMAL / WARNING / ALARM) => THEN => ON / OFF.
Next, select "Onboard Temp" under Element and "Alarm" under State. Then define the desired action. In our example, we select the previously created element named "Google Mail Gmail" and set the action to "Send Message." Click "OK" to save the created "Onboard Temp Alarm" rule. The temperature alert will now be displayed under "Logical Scheme."
05. Test email alerts
To test the previously created alarm rule, we need to set the "Onboard Temp" sensor to "Alarm" mode. To do this, click on this sensor in the "System Tree" and enter a significantly lower temperature warning value under Alarm Level (High). You can also easily adjust the temperature warning values individually using your mouse. After clicking "Apply," you will see the entries highlighted in red in the "System Tree." Now switch to the "General Statistics" entry, and you will see the message "The mail 'Google Mail Gmail' was sent" in the top left corner under "Current Logs."
Now go to your Gmail account and check if the email has arrived in your inbox. Then, reset the "Onboard Temp Sensor" to its normal state.
Important: Please save the settings you have made by clicking the floppy disk icon (top right) in the non-volatile memory of your Didactum Monitoring System.