translator, wb_editors
4544
правки
Matveevrj (обсуждение | вклад) (Новая страница: «==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») |
Matveevrj (обсуждение | вклад) (Новая страница: «== 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: | ||
}} | }} | ||
After installation, the Wiren Board section will appear in the left panel. | |||
=== | === Setting === | ||
After you have installed WB Nodes, you need to set up a connection to the MQTT broker of the Wiren Board controller: | |||
# | # Add a '''WB-input''' node to the workspace, which is located in the left panel, in the '''Wiren Board''' section. | ||
# | # Double click on it, the '''Edit in node''' window will open. | ||
# | # Find the field '''Server''' and click on the pencil button. The '''Add new wirenboard-server config node''' window will open. | ||
# | # 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. | ||
# | # Save the server settings by clicking on the '''Done''' button. | ||
# | # Close the '''Edit in node''' window by clicking on '''Cancel'''. | ||
{{note|info| | {{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. |