Node-RED Connector Service Settings Follow
The Node-RED Connector service provides a TCP/IP (network) connection between a Mobius node and an instance of Node-RED. This node-RED instance can be running locally on the same device or on another device on the network.
This service is required if your Node-RED flow needs to interact with any configured Mobius objects.
Instances
More than one instance of this service is allowed
Service settings
Common settings
Service ID
The service ID (SID) of this Mobius service. This entry is populated automatically when the service is add to the configuration and should not be modified by the user.
Host URI
The host URI (including its port) tells the service which Mobius hub to connect to. This entry is populated automatically when the service is add to the configuration and should not be modified by the user. The default is the local device.
An advanced user can use these settings if required but care must be taken to ensure that the connection is secure.
Enabled
If checked this service is enabled and may be started either manually or automatically on boot. The default is checked.
Run At Start
If checked this service will start running automatically when the device boots up. For most services this should be checked. The default is checked.
Raw JSON
All of the settings below the raw JSON switch are service dependent. They are stored on the device in the JSON format but for ease of use, most services provide a simple custom user interface for configuring the required custom settings. Advanced users may choose to directly edit the JSON. Setting the raw JSON switch to true will hide the custom user interface and show the settings in JSON format. Setting the switch back to false will once again show the custom user interface.
Custom settings
Host
Enter the IP address of the device running the instance of Node-RED you want to connect to this Mobius node. In most cases the Mobius node and Node-RED instance will be on the same Mobius device. If this is the case, enter localhost or 127.0.0.1 as the host IP address.
Port
This can be any free TCP/IP port. The recommended value is 1890.
To establish a connection, the same port must be entered into the Mobius connection Node-RED node.
PSK
In order to ensure the integrity of the messages passed between this Mobius hub and Node-RED all messages are signed with a pre-shared key or password. You can enter any text string here but try to make it difficult to guess!
To establish a connection, the same PSK must be entered into the Mobius connection Node-RED node.
It is important to note that messages are not encrypted so could be listened to via the network but if they are modified in-flight or do not come from either this Mobius node or correct instance of Node-RED they will be rejected.
Comments
0 comments
Please sign in to leave a comment.