Inspektor SCADA/en: различия между версиями

Материал из Wiren Board
(Новая страница: «5. After successfully adding, go to the access keys section again. Copy the created access key.»)
(Новая страница: «=== Setting up a connection on the controller ===»)
Строка 46: Строка 46:
[[Файл:Inspektor-howto-3.png|500px]]
[[Файл:Inspektor-howto-3.png|500px]]


=== Настройка связи на контроллере ===
=== Setting up a connection on the controller ===


1. Откройте веб-интерфейс контроллера в браузере. Выбирете подменю "SCADA Client" в меню Configs.
1. Откройте веб-интерфейс контроллера в браузере. Выбирете подменю "SCADA Client" в меню Configs.

Версия 19:43, 18 июля 2019

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


{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Warning|noshift=1}} Inspektor SCADA is no longer developed or supported!


Configure integration with Inspektor SCADA

The manual suggests that you use the controller Wiren Board and existing clients [inspektor.carbonfay.ru Inspektor SCADA]

Client installation

Connect to the controller using SSH/en or Debug UART/en and run

apt-get update

and after

apt-get install wb-scada-client

Read the apt-get message carefully before agreeing!

upon completion of the procedure, it is recommended to reboot the controller by entering the reboot command.

Generate access keys

1. Go to the Profile section

Inspektor-howto-1.png


2. Go to the access keys section

Inspektor-howto-2.png

3. Make sure that the "customer ID" field is not empty

4. Click "Add" and "Save"

5. After successfully adding, go to the access keys section again. Copy the created access key.

Inspektor-howto-3.png

Setting up a connection on the controller

1. Откройте веб-интерфейс контроллера в браузере. Выбирете подменю "SCADA Client" в меню Configs.

Inspektor-howto-4.png

2. В поля для ввода идентификатора клиента и ключа добавьте правильные значения. Сохраните кнопкой Save

Inspektor-howto-5.png

3. Убедитесь, что контроллер появился в интерфейсе Inspektor SCADA:

Inspektor-howto-6.png

4. Убедитесь, что управление каналами работает. Для этого можно включить пишалку (buzzer/enable):

Inspektor-howto-7.png

Настройка каналов для синхронизации

Необходимые каналы нужно явно добавить в список в интефейсе настройки:

Inspektor-howto-5.png

Названия каналов можно найти в разделе Settings. Подробно про каналы см. статью MQTT

Отладка

Если что-то не работает, то на контроллере можно выполнить команду

tail -f /var/log/messages | grep wb-scada

чтобы просматривать *в реальном времени* сообщения об ошибках