Output endpoint node
Output endpoint node allows you set the data recipient or where information from the IoT Logic flow should go further.
This document provides a functional description of an output endpoint node that sends data in a unified format to third-party services, independent of the equipment manufacturer. The protocol used for data transmission is MQTT, and the data format is JSON (Navixy Generic Protocol). This setup ensures compatibility and ease of integration with various services.
For example, consider a smart home system that collects data from various sensors and devices. The output endpoint node can be configured to send this data to a cloud service like AWS IoT. By using the MQTT protocol and JSON format, the data can be seamlessly integrated into the cloud service for further processing and analysis.
Output Endpoint Interface
Let’s see what elements this node use and what you can configure when working with it.
Elements
Endpoint: A dropdown to choose an endpoint from the list of already created ones, to ease up working in different flows. When you select "New Endpoint," all fields will be empty, allowing you to create a new endpoint.
If you choose one of the previously created endpoints, all settings will be disabled. To change them, you need to click the "Edit Node" in the flow workspace. Any changes made to this endpoint will affect the already created one that was used for this node.
Protocol: A dropdown list with protocols for data transmission to third-party services. Currently, only the Navixy Generic Protocol (JSON) is supported. In the future, other formats can be considered as additional options for data transmission.
Transport protocol: A dropdown list with available transport protocols. At this moment, only MQTT over TCP is supported.
IP/Domain: The IP address in the format 123.123.123.123 or the domain of the target service in the format test.test.com, which will receive the data.
Port: The port number of the target service that will receive the data. This is a numerical value.
Enable SSL: An option for secure connection to MQTT broker. If you didn't change the port before enabling SSL, the port will be automatically set to 8883.
Endpoint Name: The name of the endpoint, which is set by the user.
Client ID: A setting related to MQTT. The receiving side has a fixed list of "clients"; in this field, the appropriate option must be specified so that the data is not rejected.
Topics: A set of MQTT topics in the form of tags that will be used for data transmission.
QoS: A dropdown list with QoS for MQTT. This setting determines the logic of data transmission.
QoS 0: Send and forget. No delivery confirmation.
QoS 1: Delivery with guarantee but possible duplication.
QoS 2: Delivery with guarantee that excludes data duplication.
MQTT Version: A field where you can choose the necessary MQTT protocol version. It may be 3.1.1 or 5.0.
MQTT Authentication: An option that, when activated, will make the MQTT Login and MQTT Password fields available if required by the client for data transmission.