Creating your own node
Before developing a node, there is something you need to know first. The following policies are set for node development. Let's follow these and develop a node.
When creating a new node, you need to follow some general rules. They adhere to the approach adopted by the core nodes and provide a consistent user experience.
You can check the rules for creating a node on the official Node-RED website: https://nodered.org/docs/creating-nodes/.
Node program development
Node-RED nodes consist of two files: a JavaScript file that defines processing and an HTML file that provides a UI such as a setting screen. In the JavaScript file, the processing of the node you create is responsible for is defined as a function. This function is passed an object that contains node-specific properties. The HTML file describes the property settings screen displayed by the Node-RED flow editor. The settings values entered on the property settings screen displayed in this...