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

Материал из Wiren Board
(Новая страница: «== Configuring the controller and connected devices == {{Anchors|settings}} 300px|thumb|right| Configuration files The Wiren Board controller runs on Linux, so almost all settings are stored in configuration files. Files can be edited via SSH or using the web configurator.»)
(Новая страница: «The list of available settings can be found in the section '''Settings''' → '''Confgs'''.»)
Строка 108: Строка 108:
The Wiren Board controller runs on Linux, so almost all settings are stored in configuration files. Files can be edited via [[SSH]] or using the web configurator.
The Wiren Board controller runs on Linux, so almost all settings are stored in configuration files. Files can be edited via [[SSH]] or using the web configurator.


<div lang="ru" dir="ltr" class="mw-content-ltr">
The list of available settings can be found in the section '''Settings''' → '''Confgs'''.
Список доступных настроек вы найдёте в разделе ''' Настройки''' → '''Конфигурационные файлы'''.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<div lang="ru" dir="ltr" class="mw-content-ltr">

Версия 16:54, 2 августа 2022

Другие языки:

General information

Шаблон:Anchors Wiren Board controllers have a built-in web interface that allows you to perform most of the tasks for configuring the controller, firmware and connected devices. The source code is open and available in our repository.

nginx works as a web server, the site interacts with MQTT via WebSocket.

Overview of the web interface of Wiren Board controllers.

How to enter the web interface

To access the Web Interface of a Wiren Board controller, connect to the controller via Wi-Fi or Ethernet and enter IP address of the controller into the browser's address bar.

If you are on the same network as the controller and use Apple devices, a computer with Linux or Windows 10 and higher, then you can use mDNS instead of an IP address: enter http://wirenboard-XXXXXXXX.local into the address bar, where ХХХХХХХХ — eight-digit serial number of the controller.

Также доступ можно получить через Wiren Board Cloud, если контроллер к нему подключен.

СChange access level

Administrator level

To change the settings of the controller, you need the Administrator access level, which can be set in the SettingsPermissions section.

After completing the settings, we recommend that you set the access level to User or Operator - this will help you avoid making random mistakes when working with the web interface every day.

MQTT connection setup and language selection

Web interface settings

In the SettingsWeb UI section, you can configure the connection to the MQTT broker, select a panel for the home page and change the language of the web interface.

The web interface does not support user authorization, but you can configure nginx server http authorization. For detailed instructions, see Protecting the web interface of the controller with a password.

List of devices

Шаблон:Anchors The Devices page contains virtual representations of devices physically connected to the controller or virtual devices created by wb-rules scripts.

Each device is represented by a card that contains device channels - controls. If you click on the name of the control, you will get a path like device/control, which can be used when writing scripts on wb-rules.

Do not use this page to manage your automation system, there are dashboards for that.

Dashboards and widgets

Panels

Шаблон:Anchors You can create text and graphic SVG dashboards to display data and control your automation system.

The text dashboard consists of widgets, and the graphic dashboard consists of a background image with bindings to the MQTT channels of the controller.

How to make an SVG dashboard.

Widgets

Шаблон:Anchors With the help of widgets, it is convenient to combine controls of different devices by meaning or location. For example, you can make a widget to control the lighting in a bedroom, or a climate widget in a store. Widgets are grouped into dashboards, one widget can be added to several dashboards.

You can create widgets in the Widgets section, or directly from the dashboard. There is a visual designer and a JSON editor.

History

Button to go to the measurement history

By default, the standard controller software stores all received data, which you can view in the form of graphs or tables. The data can be uploaded to csv, to do this, click on the button below the graph, or use the wb-mqtt-db-cli utility.

To view the history, go to the History section and select the desired channels, or hover over the widget's channel and click the histogram button.

Display options:

  • choice of period;
  • simultaneous viewing of several channels;
  • scaling;
  • taking a screenshot;
  • cursor measurements.

If you need more features, you can set up automatic data export to Grafana.

Automation scripts

The controller's web interface has a script editor wb-rules that allows you to create, edit, and delete rules. If there are errors in the script, the editor will inform you about it and indicate the place in the script.

The editor is available in the Rules section.

Configuring the controller and connected devices

Шаблон:Anchors

Configuration files

The Wiren Board controller runs on Linux, so almost all settings are stored in configuration files. Files can be edited via SSH or using the web configurator.

The list of available settings can be found in the section SettingsConfgs.

Например, через веб-интерфейс можно настроить подключённые Modbus-устройства, шлюзы KNX и Modbus RTU/TCP Slave и другие параметры.

Уведомления о событиях

В веб-интерфейсе контроллера можно настроить отправку уведомления о событиях по SMS или Email, например, при срабатывании тревоги в модуле WB-MWAC, отправить SMS на заданный номер. Настройка модуля уведомлений.

Также вы можете отправлять уведомления в Телеграм, для этого нужно написать небольшой скрипт на wb-rules, пример.

Обновление прошивки и выгрузка диагностического архива

Обновление ПО и выгрузка диагностики

Обновить ПО контроллера без доступа к интернету можно через веб-интерфейс, для этого вам понадобится компьютер и заранее загруженный fit-файл прошивки. Подробнее про обновление ПО контроллера читайте в инструкции.

Если в работе контроллера возникли ошибки, то при обращении в техническую поддержку рекомендуем выгрузить диагностический архив — это поможет нам быстрее разобраться в проблеме. Если по какой-то причине выгрузить архив из веб-интерфейса не получается, воспользуйтесь консольной утилитой wb-diag-collect.

Просмотр MQTT-каналов и системного журнала

Список MQTT-каналов пригодится при диагностике неисправностей, или при настройке интеграции со сторонним ПО, например, Rapid SCADA или Home Assistant. Список доступен в разделе НастройкиMQTT-каналы.

Системный журнал ОС Linux можно посмотреть с помощью утилиты journalctl или в веб-интерфейсе контроллера в разделе НастройкиСистемный журнал.

Предыдущая версия