Node-RED/en: различия между версиями

Новая страница: «== Installation == To install Node-RED 2.2 on a Wiren Board controller, connect to it via SSH and enter a few commands into the console.»
(Новая страница: «==Node-RED Web Interface== After starting the service, open a browser and enter the address of your controller on the network and port 1880. For example: http://192.168.42.1:1880»)
(Новая страница: «== Installation == To install Node-RED 2.2 on a Wiren Board controller, connect to it via SSH and enter a few commands into the console.»)
Строка 119: Строка 119:
}}
}}


После установки, в левой панели появится секция Wiren Board.
After installation, the Wiren Board section will appear in the left panel.
=== Настройка ===
=== Setting ===
После того как вы установили WB Nodes, вам нужно настроить соединение с MQTT-брокером контроллера Wiren Board:
After you have installed WB Nodes, you need to set up a connection to the MQTT broker of the Wiren Board controller:
# Добавьте в рабочую область ноду '''WB-input''', которая находится в левой панели, в секции '''Wiren Board'''.
# Add a '''WB-input''' node to the workspace, which is located in the left panel, in the '''Wiren Board''' section.
# Дважды кликните на ней, откроется окно '''Edit in node'''.
# Double click on it, the '''Edit in node''' window will open.
# Найдите в нём поле '''Server''' и нажмите на кнопку с карандашом. Откроется окно '''Add new wirenboard-server config node'''.
# Find the field '''Server''' and click on the pencil button. The '''Add new wirenboard-server config node''' window will open.
# Заполните поля '''Name''', '''Host''' и '''MQTT Port'''. Если Node-RED установлен на контроллере — в поле Host пропишите <code>localhost</code>. В поле '''Name''' укажите произвольное имя, а в поле '''MQTT Port''' — 1883.
# Fill in the '''Name''', '''Host''' and '''MQTT Port''' fields. If Node-RED is installed on the controller, enter <code>localhost</code> in the Host field. Enter an arbitrary name in the '''Name''' field, and 1883 in the '''MQTT Port''' field.
# Сохраните настройки сервера нажатием на кнопку '''Done'''.
# Save the server settings by clicking on the '''Done''' button.
# Закройте окно '''Edit in node''' нажатием на '''Cancel'''.
# Close the '''Edit in node''' window by clicking on '''Cancel'''.
{{note|info| После настройки подключения, примените настройку сервера нажатием кнопки '''Deploy''' справа вверху. Только после этого будет доступен список каналов контроллера Wiren Board.}}
{{note|info| After setting up the connection, apply the server setting by clicking the '''Deploy''' button on the top right. Only after that the list of channels of the Wiren Board controller will be available.}}


Вы настроили WB Nodes и можете писать автоматизации с использованием Node-RED.
Вы настроили WB Nodes и можете писать автоматизации с использованием Node-RED.
translator, wb_editors
4323

правки