Wiren Board Web Interface 1.0/en: различия между версиями

Материал из Wiren Board
(Новая страница: «The '''Devices''' page displays all the hardware functions of the controller (status of inputs, outputs, power supply), as well as the connected sensors and devic…»)
м (FuzzyBot переименовал страницу Веб-интерфейс Wiren Board 1.0/en в Wiren Board Web Interface 1.0/en без оставления перенаправления: Часть переводимой страницы Веб-интерфейс Wiren Board 1.0.)
 
(не показаны 24 промежуточные версии 1 участника)
Строка 33: Строка 33:
The '''Devices''' page displays all the hardware functions of the controller (status of inputs, outputs, power supply), as well as the connected sensors and devices. If you have connected an external module to the controller, all its changing values will be displayed here.
The '''Devices''' page displays all the hardware functions of the controller (status of inputs, outputs, power supply), as well as the connected sensors and devices. If you have connected an external module to the controller, all its changing values will be displayed here.


Параметры, отображаемые на этой странице, не надо путать с виджетами - подробнее смотрите в разделе [[#Widgets (Виджеты)]].
The options displayed on this page should not be mistaken for widgets - see [[#Widgets]] for details.


Чтобы на этой странице появились аппаратные возможности подключённых устройств (например, внешних модулей реле), сначала нужно настроить их через раздел [[#Configs (Конфигурирование)]].
All the hardware devices should be configured in the #Configs section before they appear on this page


=== Rooms (Комнаты) ===
=== Rooms ===
[[File:web-rooms.png|thumb|center|400 px|Rooms - список "комнат" - группировок виджетов по месту расположения управляемых устройств]]
[[File:web-rooms.png|thumb|center|400 px|Rooms is a list of so-called rooms, groups of widgets sorted by the location of the managed devices]]


Комнаты — способ логической группировки виджетов. Виджетов (элементов управления) может быть много - это могут датчики температуры, разнесённые по разным помещениям; управление светом, находящимся в разных комнатах; управление обогревом на разных этажах. Чтобы упорядочить и не потерять нужные виджеты, при их создании каждый из них относится к комнате (Room), соответствующей их физическому расположению. На этой странице отображается список комнат, также здесь их можно добавить, переименовать или удалить. В новых версиях веб-интерфейса планируется отказаться от использования комнат.
So, Rooming is the method of grouping the interface widgets.You can create many widgets for temperature or lighting sensors or switches located in different rooms or for heating control on many floors. To organize and not to lose the desired widgets when they are created, each of them links to a Room corresponding to the physical location of the device. This page displays a list of rooms, and here you can add, rename, or delete them. We'll  abandon the use of Rooms In the new versions of the web interface.


=== Widgets (Виджеты) ===
=== Widgets ===
[[File:web-widgets.png|thumb|center|400 px|Widgets - страница создания и редактирования виджетов]]
[[File:web-widgets.png|thumb|center|400 px|Widgets - the page for creating and editing widgets]]


Виджеты - непосредственно элементы интерфейса. Создаются на основе аппаратных параметров контроллера и подключённых к нему устройств - тех, что отображаются на странице [[#Devices (Устройства)|Devices (Устройства)]].
Widgets are the interface elements and they are created on the basis of hardware parameters of the controller and the devices connected to it - those which are displayed on the [[#Devices]] page.
==== Пример виджета ====
==== The example of a widget ====
[[File:web-widgets-edit.png|thumb|200 px|Настройка виджета]]
[[File:web-widgets-edit.png|thumb|200 px|Configuring the widget]]


Предположим, вы управляете подсветкой картины на стене при помощи внешнего модуля реле, подключённого к контроллеру. Оборудование (модуль реле и лампа подсветки) находятся в помещении 103. Тогда можно создать такой виджет:
Suppose you control the illumination of a picture on the wall using an external relay module connected to the controller. The equipment (relay module and illumination lamp) is located in room 103. Then you can create such a widget:
*Название: ''Включить подсветку''
*Title: "Turn on backlight"
*Комната: ''Комната 103'' (комнату с таким названием нужно заранее создать в разделе [[#Rooms (Комнаты)|Rooms (Комнаты)]])
*Room: "Room 103" (a room with this name must be created in advance in the section [[#Rooms |Rooms)]]
*Тип виджета: ''Light Control Relay'' (управление светом) - виджет будет выглядеть как простой переключатель "включить-выключить"
*Widget type: "Light Control Relay" (light control) - the widget will look like a simple switch "on-off"
*Исполнительное устройство (Controls): /devices/wb-mrm2_130/controls/Relay_1'' - первое реле на модуле [[WB-MRM2]] с адресом 130, подключение к которому вы ранее настроили на странице [[#Configs (Конфигурирование)|Configs (Конфигурирование)]].
*Controls: /devices/wb-mrm2_130/controls/Relay_1" - the first relay on the module [[WB-MRM2]] with address 130, which connection you previously configured on the  [[#Configs |Configs]] page.


=== History (История показаний) ===
=== History ===
[[File:web-history.png|thumb|center|400 px|График и список значений напряжения питания]]
[[File:web-history.png|thumb|center|400 px|Diagram and the list of supply voltage values]]


На странице ''History'' можно просмотреть историю изменения значений аппаратных ресурсов (например, датчиков температуры, напряжения, показаний счётчиков). История представляется одновременно в виде графика и таблицы значений с метками времени.
On the "History" page, you can view the history of changes in the values of hardware resources (for example, temperature sensors, voltage, meter readings). The history is represented simultaneously as a graph and a table of values with timestamps.


[[Wb-mqtt-db-cli|Утилита для извлечения исторических данных из внутренней базы данных]]
[[Wb-mqtt-db-cli|A utility for extracting history data from the internal database]]


=== Scripts (Скрипты) ===
=== Rules  ===
[[File:web-scripts.png|thumb|center|400 px|Скрипт, открытый для просмотра и редактирования]]
[[File:web-scripts.png|thumb|center|400 px|Script open for viewing and editing]]


На странице ''Scripts'' можно создавать и редактировать правила. Правила пишутся на простом языке, похожем на JavaScript, и позволяют создавать правила ("включай свет с 10:00 до 18:00") или виртуальные устройства (например, кнопка в интерфейсе, которая включает и отключает всё освещение в здании вместе).
On the 'Rules' page, you can create and edit rules. Rules are written in a simple language, similar to JavaScript, and allow you to create rules ("turn on the lights from 10:00 to 18:00") or virtual devices (for example, a button in the interface that turns on and off all the lights in the building together).
*[[Движок правил wb-rules | Подробнее про скрипты]].
*[[Движок правил wb-rules/en| More info about the script]].


=== Configs (Конфигурирование) ===
=== Configs ===
[[File:web-configs.png|thumb|center|400 px|Страница Configs]]
[[File:web-configs.png|thumb|center|400 px|configs Page]]
На странице ''Configs'' производится конфигурирование контроллера и настройка подключения внешних устройств:
On the "Configs" page you can configure the controller and the connection of external devices:
*настройка сетевых интерфейсов
*configuring network interfaces
*настройка подключёния устройств RS-485
*setting up connection of RS-485 devices
*настройка аналоговых входов
*setting analog inputs
*настройка цифровых входов и выходов
*setting up digital inputs and outputs
*настройка логирования значений
*setting value logging
*настройка инфракрасного порта (если подключён)
*infrared port setting (if connected)
*настройка [[Модуль уведомлений | модуля уведомлений (Alarm)]]
*setting [[Модуль уведомлений/en | Alarm]]


=== Settings (Настройки) ===
=== Settings ==
[[File:web-settings.png|center|thumb|400 px|Страница Settings]]
[[File:web-settings.png|center|thumb|400 px|settings Page]]
На странице ''Settings'' настраиваются параметры веб-интерфейса и контроллера. Здесь можно:
On the Settings page, you configure the web interface and controller settings. Here you can:
*загрузить на контроллер новую прошивку;
*upload new firmware to the controller;
*выбрать панель, которая будет отображаться на главной странице (Home);
*select the panel that will be displayed on the main page (Home);
*просмотреть полный список подключённых устройств и и их аппаратных возможностей и не которую другую отладочную информацию.
*view a complete list of connected devices and and their hardware capabilities and not that other debugging information.


== Стандартные задачи, решаемые через веб-интерфейс ==
==Standard web-interface-based tasks ==


=== Покдлючить устройство RS-485 Modbus и создать кнопки управления на главной панели ===
== Connect the RS-485 Modbus device and create control buttons on the main panel ==
[[RS-485:Настройка через веб-интерфейс]]
[[RS-485:Настройка через веб-интерфейс| RS-485: Setting via web interface ]]
===Обновить прошивку контроллера===
===Upgrade the firmware of the controller===
[[Обновление прошивки#Обновление прошивки через веб-интерфейс|Обновление прошивки через веб-интерфейс]]
[[Обновление прошивки/en#Firmware update via web interface|Firmware update via web interface]]


== Облачный интерфейс ==
== Cloud interface ==


Веб-интерфейс Wiren Board можно разместить не только на самом контроллере, но и на специальном сервере. Тогда на интерфейс можно будет заходить используя всегда один и тот же IP-адрес.
The web interface of the Wiren Board can be placed not only on the controller itself, but also on a special server. Then the interface can  always be accessed via the same IP-address.


Чтобы контроллер начал работать с веб-интерфейсом, размещённым на сервере, нужно внести некоторые изменения в конфигурацию контроллера.
You need to make some changes to the controller configuration for the controller to start working with the web interface hosted on the server.


Такой вариант удобен, если ваш контроллер находится за роутером и не имеет глобального IP-адреса, или если он подключён по GPRS - тогда он тоже, скорее всего, не имеет глобального IP, да ещё и работа с удалённым веб-интерфейсом израсходует слишком много трафика.
This option is useful if your controller is behind the router and does not have a global IP-address, or if it is connected via GPRS - then it also most likely does not have a global IP, and even work with a remote web interface will consume too much traffic.


'''Пока что такой вариант доступен только корпоративным клиентам по запросу.'''
'''For now, this option is only available to corporate clients upon request.'''


Также рекомендуем воспользоваться сервисом [http://inspektor.carbonfay.ru Inspektor SCADA], который предоставляет схожую функциональность. [[Inspektor SCADA|Статья]] про настройку доступа к Inspektor SCADA.
<!--  Также рекомендуем воспользоваться сервисом [http://inspektor.carbonfay.ru Inspektor SCADA], который предоставляет схожую функциональность. [[Inspektor SCADA|Статья]] про настройку доступа к Inspektor SCADA. -->




Строка 109: Строка 109:




== Настройка авторизованного доступа к Web-интерфейсу контроллера ==
===Configure authorized access to the controller's Web interface ==
В статье [[Защита_паролем|Защита паролем]] приводятся краткие инструкции по перенастройке контроллера, обеспечивающие авторизованный доступ к Web-интерфейсу контроллера.
The article [[Защита_паролем/en| password ]] provides brief instructions on how to reconfigure the controller to provide authorized access to the Web-interface of the controller.

Текущая версия на 16:33, 2 августа 2022

Другие языки:
Web interface main page

The Wiren Board controller has an integrated web interface. The interface allows to:

  • monitor and manage the status of the controller and connected devices;
  • connect the device to the controller;
  • configure the controller and update its software;
  • create automation rules for the built-in engine;
  • configure SMS and email notifications;
  • see the history of values (for example, temperature) on the graph.

Веб-интерфейс работает непосредственно на Wiren Board. В качестве веб-сервера работает nginx (в ранних версиях на {http://manpages.ubuntu.com/manpages/lucid/man1/webfsd.1.html webfsd]). Сам сайт написан на AngularJS и взаимодействует с MQTT через WebSocket.


How to get access to the web interface

Just enter the IP address of the controller (how to find out the IP address of the controller) into the browser command line . If you are accessing from an Apple device or a Linux computer and the network is the same for the device and the controller, enter 'wirenboard-XXXXXXXX.local' in the address bar, where XXXXXXXXXX is the eight-digit serial number of the controller. ( in older versions of the controller the access was via the "wirenboard.local" address).

Web interface Sections

Home

Home - the main page

This is the user's home page. It displays the interface elements - the widgets. These can be readings from sensors (e.g. temperature sensor data), switches, relay control buttons. The set of widgets on the main page is fully customizable by the user.

Dashboards

Dashboards

Widgets with a similar purpose can be grouped in a panel, where all the necessary buttons, settings and indicators of sensors are located on one screen. For example, you can combine widgets to enable heating, air conditioning, display temperature and humidity. In the Dashboards section you can see all created panels. In fact, the Home section also displays one of the panels, which is selected in the settings.

Devices

Devices is a list of all hardware features of the controller and connected devices

The Devices page displays all the hardware functions of the controller (status of inputs, outputs, power supply), as well as the connected sensors and devices. If you have connected an external module to the controller, all its changing values will be displayed here.

The options displayed on this page should not be mistaken for widgets - see #Widgets for details.

All the hardware devices should be configured in the #Configs section before they appear on this page

Rooms

Rooms is a list of so-called rooms, groups of widgets sorted by the location of the managed devices

So, Rooming is the method of grouping the interface widgets.You can create many widgets for temperature or lighting sensors or switches located in different rooms or for heating control on many floors. To organize and not to lose the desired widgets when they are created, each of them links to a Room corresponding to the physical location of the device. This page displays a list of rooms, and here you can add, rename, or delete them. We'll abandon the use of Rooms In the new versions of the web interface.

Widgets

Widgets - the page for creating and editing widgets

Widgets are the interface elements and they are created on the basis of hardware parameters of the controller and the devices connected to it - those which are displayed on the #Devices page.

The example of a widget

Configuring the widget

Suppose you control the illumination of a picture on the wall using an external relay module connected to the controller. The equipment (relay module and illumination lamp) is located in room 103. Then you can create such a widget:

  • Title: "Turn on backlight"
  • Room: "Room 103" (a room with this name must be created in advance in the section Rooms)
  • Widget type: "Light Control Relay" (light control) - the widget will look like a simple switch "on-off"
  • Controls: /devices/wb-mrm2_130/controls/Relay_1" - the first relay on the module WB-MRM2 with address 130, which connection you previously configured on the Configs page.

History

Diagram and the list of supply voltage values

On the "History" page, you can view the history of changes in the values of hardware resources (for example, temperature sensors, voltage, meter readings). The history is represented simultaneously as a graph and a table of values with timestamps.

A utility for extracting history data from the internal database

Rules

Script open for viewing and editing

On the 'Rules' page, you can create and edit rules. Rules are written in a simple language, similar to JavaScript, and allow you to create rules ("turn on the lights from 10:00 to 18:00") or virtual devices (for example, a button in the interface that turns on and off all the lights in the building together).

Configs

configs Page

On the "Configs" page you can configure the controller and the connection of external devices:

  • configuring network interfaces
  • setting up connection of RS-485 devices
  • setting analog inputs
  • setting up digital inputs and outputs
  • setting value logging
  • infrared port setting (if connected)
  • setting Alarm

= Settings

settings Page

On the Settings page, you configure the web interface and controller settings. Here you can:

  • upload new firmware to the controller;
  • select the panel that will be displayed on the main page (Home);
  • view a complete list of connected devices and and their hardware capabilities and not that other debugging information.

Standard web-interface-based tasks

Connect the RS-485 Modbus device and create control buttons on the main panel

RS-485: Setting via web interface

Upgrade the firmware of the controller

Firmware update via web interface

Cloud interface

The web interface of the Wiren Board can be placed not only on the controller itself, but also on a special server. Then the interface can always be accessed via the same IP-address.

You need to make some changes to the controller configuration for the controller to start working with the web interface hosted on the server.

This option is useful if your controller is behind the router and does not have a global IP-address, or if it is connected via GPRS - then it also most likely does not have a global IP, and even work with a remote web interface will consume too much traffic.

For now, this option is only available to corporate clients upon request.




=Configure authorized access to the controller's Web interface

The article password provides brief instructions on how to reconfigure the controller to provide authorized access to the Web-interface of the controller.