@gotillit/tillit-node-red
v1.5.1
Published
A TilliT node for Node-RED
Downloads
14
Readme
TilliT Node-red node.
This node allows to work with TilliT APIs, receive and send MQTT Messages to the TilliT broker.
Usage
Start by dragging any of the modules and set it up.
You will be asked to create a connection.
Inside the connection enter the details:
- Name: The name of the client. This field can be used to identify the client in the TilliT platform.
- Thing ID: The unique identifier for the client's IoT device or thing. This ID is assigned by the TilliT platform when the device is registered.
- Environment: The name of the environment in which the client will be deployed. This field is used to differentiate between different environments, such as development, staging, and production.
- Tenant: The name of the TilliT tenant associated with the client. This field is used to specify the tenant to which the client belongs.
- Private key: The absolute path to private key used by the client to authenticate with the TilliT platform. This key should be kept secure and not shared with anyone outside of the client organization.
- Thing cert: The absolute path to certificate used by the client to authenticate with the TilliT platform. This certificate should be obtained from the TilliT platform and installed on the client device.
- Root CA: The absolute path to the root certificate authority used by the TilliT platform to verify the authenticity of the client's certificate. This certificate should be obtained from the TilliT platform and installed on the client device.
- Username: The username used by the client to authenticate with the TilliT platform.
- Password: The password used by the client to authenticate with the TilliT platform.
TilliT In
TilliT In means subscribing to the TilliT MQTT broker to receive events. More details here: MQTT integration.
Create a subscription to a topic. The topic must start with your tenant name since this is what your edge is authorize to monitor.
TilliT Out
Push messages to TilliT via MQTT. More details here:
API Call
Use this node to perform API calls. To know what are the possible API calls to use, use our Swagger Docs
- Endpoint: The url of the REST method. you can skip the host and the /api. Start with core/assets for instance.
- Method: Select between GET POST, PUT and DELETE
The msg.payload will be used in case of a PUT or DELETE.
Notes:
You can override any of these settings using environment variables. Recommended for production deployment.
Use: USERNAME, PASSWORD, TENANT, ENVIRONMENT, THING_CERT, PRIV_KEY, ROOT_CA