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

Материал из Wiren Board
(Новая страница: «4. Click "Add" and "Save"»)
(Новая страница: «to view *real-time* error messages»)
 
(не показано 11 промежуточных версий этого же участника)
Строка 41: Строка 41:
4. Click "Add" and "Save"
4. Click "Add" and "Save"


5. После успешного добавления снова перейдите в раздел с ключами доступа.
5. After successfully adding, go to the access keys section again.
Скопируйте созданный ключ доступа.
Copy the created access key.


[[Файл:Inspektor-howto-3.png|500px]]
[[Файл:Inspektor-howto-3.png|500px]]


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


1. Откройте веб-интерфейс контроллера в браузере. Выбирете подменю "SCADA Client" в меню Configs.
1. Open the controller web interface in a browser. Select the "SCADA Client" submenu in the Configs menu.


[[Файл:Inspektor-howto-4.png|500px]]
[[Файл:Inspektor-howto-4.png|500px]]


2. В поля для ввода идентификатора клиента и ключа добавьте правильные значения. Сохраните кнопкой Save
2. Add the correct values to the client ID and key fields. Save with Save button


[[Файл:Inspektor-howto-5.png|500px]]
[[Файл:Inspektor-howto-5.png|500px]]


3. Убедитесь, что контроллер появился в интерфейсе Inspektor SCADA:
3. Make sure the controller appears in the Inspektor SCADA interface:


[[Файл:Inspektor-howto-6.png|500px]]
[[Файл:Inspektor-howto-6.png|500px]]


4. Убедитесь, что управление каналами работает. Для этого можно включить пишалку (buzzer/enable):
4. Make sure that channel management is working. You can enable buzzer:


[[ Файл:Inspektor-howto-7.png|500px]]
[[ Файл:Inspektor-howto-7.png|500px]]


=== Настройка каналов для синхронизации ===
=== Configure channels for synchronization ===


Необходимые каналы нужно явно добавить в список в интефейсе настройки:  
The necessary channels must be explicitly added to the list in the configuration interface:  


[[File:Inspektor-howto-5.png|500px]]
[[File:Inspektor-howto-5.png|500px]]


Названия каналов можно найти в разделе Settings. Подробно про каналы см. статью [[MQTT]]
Channel names can be found in the Settings section. More information about channels, see [[MQTT/en]]


=== Отладка ===
=== Debug===


Если что-то не работает, то на контроллере можно выполнить команду
If something does not work, you can run the command on the controller


<pre>
<pre>
Строка 80: Строка 80:
</pre>
</pre>


чтобы просматривать *в реальном времени* сообщения об ошибках
to view *real-time* error messages

Текущая версия на 19:46, 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. Open the controller web interface in a browser. Select the "SCADA Client" submenu in the Configs menu.

Inspektor-howto-4.png

2. Add the correct values to the client ID and key fields. Save with Save button

Inspektor-howto-5.png

3. Make sure the controller appears in the Inspektor SCADA interface:

Inspektor-howto-6.png

4. Make sure that channel management is working. You can enable buzzer:

Inspektor-howto-7.png

Configure channels for synchronization

The necessary channels must be explicitly added to the list in the configuration interface:

Inspektor-howto-5.png

Channel names can be found in the Settings section. More information about channels, see MQTT/en

Debug

If something does not work, you can run the command on the controller

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

to view *real-time* error messages