Configure MQTT Connection Settings

  1. After clicking the “CREATE” button, configure the connection information on the screen that opens:
  • Use TLS: Protects the security and confidentiality of the transmitted data by ensuring that the MQTT connection is encrypted and secure.
  • Protocol: MQTT is a messaging protocol that runs on TCP/IP for data transmission and supports TLS for secure connections. The default is “WebSocket”.
  • Port: The default ports for MQTT are: 1883 (for unsecured connections) and 8883 (for secure connections, when TLS is used).
  • Host: Host specifies the address of the MQTT server. It can be an IP address or a domain name (for example, mqtt.example.com).
  • Basepath: MQTT does not require a base path as it usually works over ports, but some MQTT servers may use a basepath when connecting over WebSocket (for example, /mqtt).
  • Username: The username used to establish a connection to the MQTT server. On a server that requires authentication, this username is used to authenticate the connection.
  • Password: The password used with the username to access the MQTT server and is required for authentication.
  1. After configuring the connection settings, click on the “Test” button in the upper right corner to check if the connection is working correctly.
  1. Then you can configure your connection settings by clicking the “CREATE” button. The actions and parameters to be used in the project are automatically created in the Create process.