Web Interface of Wiren Board Controllers

Версия от 16:42, 2 августа 2022; A.Degtyarev (обсуждение | вклад) (Новая страница: «<languages/>{{DISPLAYTITLE: Web Interface of Wiren Board Controllers}} == General information == {{Anchors|features}} 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 [https://github.com/wirenboard/ our repository]. == How to enter the interface == Just enter the IP address of the controller (how to find...»)

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

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.

How to enter the 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

Смена уровня доступа

 
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.

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 in the menu "'Settings -> Web UI -> Common Info"', where you can select the panel that will be displayed on the'Home' tab by default.

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.

Интерактивные панели и виджеты

Панели

Вы можете создавать текстовые и графические SVG-панели для отображения данных и управления системой автоматизации.

Текстовая панель состоит из виджетов, а графическая — из фонового изображения с привязками к MQTT-каналам контроллера

Widgets

 
Widgets page

Widgets are combined elements of the controller interface, including a set of controls, e.g., the hardware parameters of the controller and connected devices - those that are displayed on theDevices (Devices) page.

Виджеты

С помощью виджетов удобно объединять контролы разных устройств по смыслу, или местонахождению. Например, можно сделать виджет для управления освещением в спальне, или виджет климата в магазине. Виджеты группируются в панели, один виджет может быть добавлен в несколько панелей.

Создавать виджеты можно в разделе Виджеты, или прямо из панели. Есть визуальный конструктор и редактор JSON.

История полученных данных

 
Кнопка перехода к истории измерений

History

 
History page

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.

Возможности отображения:

  • выбор периода;
  • одновременный просмотр нескольких каналов;
  • масштабирование;
  • снятие скриншота;
  • курсорные измерения.

Если вам надо больше возможностей, вы можете настроить автоматический экспорт данных в Grafana.

Скрипты автоматизации

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

Редактор доступен в разделе Правила.

Настройка контроллера и подключённых устройств

 
Конфигурационные файлы

Контроллер Wiren Board работает на Linux, поэтому почти все настройки хранятся в конфигурационных файлах. Файлы можно редактировать через SSH или с помощью веб-конфигуратора.

Список доступных настроек вы найдёте в разделе НастройкиКонфигурационные файлы.

Например, через веб-интерфейс можно настроить подключённые 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 или в веб-интерфейсе контроллера в разделе НастройкиСистемный журнал.

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