cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
687
Views
0
Helpful
0
Comments
nmanicka
Cisco Employee
Cisco Employee

Install MQTT DSLink
* Select “Root Broker” (local broker)
* Management
* Select links
* Install Link (requires internet conn)
* name: mqtt
* (Pulldown) link: MQTT
* Invoke


EFM16_InstallMQTT1.png

 

Start MQTT DSLink
* Expand links by clicking on the arrow left of links
* select mqtt
* Start link – if successful, the mqtt link will appear in the links pane

 

EFM16_InstallMQTT2.png

 

Configure MQTT DSLink (Using Dataflow Editor)

* Open dataflow editor

 

EFM 1.6 Landing Page:

https://<EFM IP Address>

Click on "Dataflow Editor" Link

 

EFM 1.5 and earlier:
https://<EFM IP Address>:8443/dataflow.html

 

* Expand “downstream”
* Select “mqtt”

* Right click on "Broker Enabled" in Metrics section

* Change value to "true" to enable the inbuilt MQTT broker

 

EFM_MQTT_ServerEnable.png

 

* Right click on "mqtt"

* "Add Server" with the below details:

The MQTT broker does not have any authentication enabled

* name: <any name>

* url: tcp://localhost:1883

* username: <any name>

* password: <any password>

* clientid: <any unique ID>

 

EFM_LocalMQTT.png

 

 

Now the MQTT server is ready.

 

Configure Subscription:

* Expand the configured MQTT server

* Right click on "Subscriptions" and add a subscription for all MQTT topics

* name: <any name>

* topic: # 

* Click "Invoke"

 

EFM_MQTT_Sub.png

 

Publish Data:

* Expand the MQTT server

* Right click on the server and select "Publish"

* topic: <any topic>

* value: <any value>

 

EFM_MQTT_Pub.png

 

* Data should now appear under the "Data" node under the MQTT server

 

EFM_MQTT_Data.png

 

 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links