MQTT Publisher tab

<< Click to Display Table of Contents >>

Navigation:  Project > Project properties >

MQTT Publisher tab

Previous pageReturn to chapter overviewNext page

 If you want to use Client - Server architecture in your system and use it with MQTT broker you have to check Enable MQTT Publisher:

mqttpublisher

Below description of the properties:

Property

Description

Enable MQTT Publisher

Check if you want to enable MQTT publisher.

Broker URL

Broker URL of the MQTT server.

Username

Username of the MQTT broker.

Password

Password of the MQTT broker.

Client ID

Some brokers need Client ID. If you left client ID unfilled publisher will generate ClienID itself.

Write topic format

Some cloud brokers need formatted topic. See IBM cloud example. You can left this field empty.

Read topic format

Some cloud brokers need formatted topic. See IBM cloud example. You can left this field empty.

QoS

Choose QoS of MQTT messages.

Enable TLS/SSL

Check Enable TLS/SSL if you want to use server certificate for encryption messages.

Certificate filename

Certificate filename. File should be placed in /private/ folder in the directory where TeslaSCADA2 is installed.

Enable Client Certificate

Check it if you want to use client certificate for encryption messages.

Client certificate

Client certificate filename. File also should be placed in /private/ folder

Client Private key

Client private key filename. File also should be placed in /private/ folder

Private key password

Private key password.

PEM formatted

Check PEM formatted if your certificate and key files are PEM formatted.

       MQTT publisher will send tag's values collected during project running on MQTT broker you want. MQTT subscribers will collect this values and represent it on devices you want. If you don't use Write topic format and Read topic format fields publisher’s topics are consists of the «name of the project +/Tags/+tagname» for tags and «name of the project+/Events/+tagname» for events. If you use Write topic format and Read topic format tags replace {tagname} keyword.