Translations:Notification module/4/en: различия между версиями

Материал из Wiren Board
м (FuzzyBot переименовал страницу Translations:Модуль уведомлений/4/en в Translations:Notification module/4/en без оставления перенаправления: Часть переводимой страницы Модуль уведомлений.)
 
(нет различий)

Текущая версия на 18:41, 23 мая 2020

Определение сообщения (Notification module)
==Предварительная настройка для отправки SMS==
Убедитесь, что вы вставили SIM-карту и подключили GSM антенну.
==Настройка модуля уведомлений==
#Зайдите на страницу ''Configs - Alarm Configuraion'' веб-интерфейса.
#Добавьте получателей уведомлений в разделе ''Recipients'':
#*нажмите кнопку ''+ Recipient'';
#*выберите тип (''E-mail'' или ''SMS'');
#*введите почтовый адрес или номер телефона. Для email можно также указать тему письма.
#Настройте проверяемый параметр и условие в разделе ''Alarms'':
#*нажмите кнопку ''+ Item'';
#*в появившемся разделе в выпадающем списке выберите один из четырёх типов уведомлений:
#*#''Expected Value Alarm'' - уведомление, если значение перестанет равняться заданному.
#*#''Minimum Value Alarm'' - уведомление, если значение станет меньше заданного.
#*#''Maximum Value Alarm'' - уведомление, если значение станет больше заданного.
#*#''Minimum&Maximum Value Alarm'' - уведомление, если значение выйдет из заданного диапазона.
#*в ''Alarm name'' введите произвольное название для уведомления;
#*в ''Cell'' введите параметр, за которым нужно следить. Параметр задаётся в виде ''Device/Control'', где названия Device и Control для каждого параметра можно найти на странице ''Settings'' веб-интерфейса в таблице ''MQTT Channels''. Например, для датчика 1-Wire, подключённого к внешнему Modbus сенсору WB-MS, эта строка будет выглядеть как ''wb-ms-thls-v2_101/External Sensor 2'';
#*в ''Alarm activation message'' введите текст сообщения, которое будет отправлено. В него в произвольном месте можно ввести две фигурные скобки ''{}'', вместо которых в сообщение будет подставлено новое значение параметра, за которым производится слежение.
#*в зависимости от типа уведомления, заполните поля ''Minimum Value'', ''Maximum Value'', ''Expected Value'';
#*некоторые дополнительные настройки станут доступны, если нажать на кнопку ''Properties'' и отметить их.
#Нажмите ''Save'' в самом верху страницы:
#*если вы забыли указать какой-то обязательный параметр, кнопка ''Save'' будет неактивна, а рядом с параметром красным будет написана ошибка, которую нужно исправить;
#*если всё в порядке, уведомления начнут работать.

Pre-setting for sending SMS

Make sure you insert the SIM card and connect the GSM antenna.

Configure the notification module

  1. Go to the "Configs - Alarm Configuraion" page of the web interface.
  2. Add notification recipients in the "Recipients" section:
    • press "+ Recipient";
    • select the type ("E-mail" or "SMS");
    • enter your postal address or phone number. You can also specify the subject of the email.
  3. Configure the parameter and condition to be checked in the "Alarms" section:
    • press "+ Item";
    • in the section that appears, select one of the four notification types from the drop-down list:
      1. "Expected Value Alarm" - notification, if the value is no longer equal to the specified value.
      2. "Minimum Value Alarm" - notification if the value becomes less than the specified value.
      3. "Maximum Value Alarm" - notification if the value becomes greater than the specified value.
      4. "Minimum&Maximum Value Alarm" - notification if the value is out of the specified range.
    • in "Alarm name" enter an arbitrary name for the notification;
    • in "Cell", enter the parameter you want to monitor. The parameter is specified as "Device/Control", where the device and Control names for each parameter can be found on the "Settings" page of the web interface in the "MQTT Channels" table. For example, for a 1-Wire sensor connected to an external Modbus WB-MS sensor, this string would look like "wb-ms-thls-v2_101/External Sensor 2";
    • in "Alarm activation message" enter the text of the message to be sent. You can enter two curly brackets "{} " in it in any place, instead of which a new parameter value will be substituted in the message, which is monitored.
    • depending on the notification type, fill in the fields "Minimum Value", "Maximum Value", "Expected Value";
    • some additional settings will be available if you click on the "Properties" button and check them.
  4. Click "Save" at the top of the page:
    • if you forget to specify some required parameter, the "Save" button will be inactive, and an error will be written next to the parameter in red, which should be corrected;
    • if everything is OK, notifications will start working.