История
21 октября 2022
20 октября 2022
Нет описания правки
+1
Нет описания правки
+9
Нет описания правки
−12
Нет описания правки
+18
Нет описания правки
+12
Нет описания правки
−1
Новая страница: «== Usage examples == Examples of using Node-RED with WB-Nodes on Wiren Board controllers: * Telegram bot settings. * Setting up Alice on the Wiren Board controller. * Setting up Apple HomeKit on a Wiren Board controller. * Creating Dashboards in Node-RED. * [https://youtu.be/cKQmU4LZo4c Video from our partner: Wiren Board + Node-RED]»
−170
Новая страница: «<gallery mode="packed" heights="150px"> Image: NodeRed_mqtt5.jpg | Alice control example </gallery>»
−41
Новая страница: «After setting up input and output, you can process data inside Node-RED and set up the use of third-party services, for example, Smart home with Alice.»
−115
Новая страница: «=== Sending commands === The '''mqtt out''' node is used to send a command to the controller via MQTT. In this case, the '''Topic''' field specifies the address of the mqtt-topic of the controller, in which the parameter must be written. Please note that at the end of the node address '''mqtt out''' you need to write <code>/on</code>, otherwise the parameter will not be written to the topic. For example, <code>/devices/wb-mrgbw-d-fw3_129/controls/RGB Strip/o...»
−545
Новая страница: «The '''mqtt out''' node is configured according to the same principle. <gallery mode="packed" heights="150px" caption="Configuring MQTT Broker (Server)> Image: NodeRed_mqtt2.jpg | ''Connecting'' tab Image: NodeRed_mqtt3.jpg | Tab ''Security'' </gallery>»
−59
Новая страница: «To set up an MQTT connection in Node-RED, follow these steps: #Drag the '''mqtt in''' node to the workspace. #Enter the node configuration and click on the '''Pencil''' next to the '''Server''' field. #On the '''Connecting''' tab, set the broker address and port number. #:In the '''Name''' field, enter any server name. #:On the '''Security''' tab, you can specify the Username and Password to connect to the broker. If the Wiren Board controller acts as a brok...»
−686
Новая страница: «=== Examples === WB-Nodes comes with examples for Apple HomeKit and Yandex.Alice, you can find them in '''Menu''' → '''Import''' → '''Examples'''. <gallery mode="packed" heights="200px" caption="Examples from WB-Nodes"> Image: WB-Nodes Examples 1.png | List of examples Image: WB-Nodes Examples 2.png | Example in workspace </gallery>»
−200
Новая страница: «=== Checking settings === To check if the settings are correct: # Add any node from the Wiren Board group to the workspace, for example, '''WB-input'''. # Double click on the '''WB-input''' node, the '''Edit in node''' window will open. # In the '''Edit in node''' window, click the '''Refresh Device List''' button.»
−133
Новая страница: «You have set up WB Nodes and can write automations using Node-RED.»
−64
Новая страница: «== 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.»
−475
Новая страница: «==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»
−165
Новая страница: «Check the status of the service with the command, the output should contain the line <code>Active: active (running)</code>: <syntaxhighlight lang="console"> # systemctl status nodered ● nodered.service - Node-RED graphical event wiring tool Loaded: loaded (/etc/systemd/system/nodered.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-12-03 06:32:25 UTC; 24s ago Main PID: 2757 (node) CGroup: /system.slice/nodered.ser...»
−28
Новая страница: «== Delete == If you no longer need Node-RED, then you can remove it: # Stop, disable and remove the service: #:<syntaxhighlight lang="bash"> systemctl stop nodered && systemctl disable nodered && rm /etc/systemd/system/nodered.service </syntaxhighlight> # Remove Node-RED: #:<syntaxhighlight lang="bash"> npm -g remove node-red && npm -g remove node-red-admin && rm -R ~/.node-red </syntaxhighlight>»
−72
Новая страница: «{{Wbincludes:Installing Software In Console}}»
−139
Новая страница: «Then paste the lines into this file: <pre> [Unit] Description=Node-RED graphical event wiring tool Wants=network.target»
−98
Новая страница: «A detailed description, instructions and examples of use can be found on the site [https://nodered.org/ nodered.org], and community support in the telegram channel [https://t.me/SprutAI_NodeRED Node-RED].»
−130
Новая страница: «== Creating a project ==»
−50
Новая страница: «Install the necessary components: <syntaxhighlight lang="bash"> apt update && apt install -y nodejs git make g++ gcc build-essential </syntaxhighlight>»
−294
Новая страница: «== Description == {{YouTube |link= https://youtu.be/cKQmU4LZo4c |text= Wiren Board Node-RED Video Tutorial by SetPoint }} Node-RED is a visual programming tool based on Node.js and developed and maintained by an open community.»
−168
Новая страница: «{{DISPLAYTITLE:Installing Node-RED on a Wiren Board controller}} 500px|thumb|right| Node-RED on the Wiren Board controller»
+14 132