Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:iot:examples:debugging:mqttfx [2021/03/05 23:23] – created heiko.pikneren:iot:examples:debugging:mqttfx [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 =====MQTT.fx ===== =====MQTT.fx =====
 +
 +MQTT.fx can be downloaded [[http://www.jensd.de/apps/mqttfx/1.7.1/|here]]
 +
 +====Setting up the MQTT.fx====
 +
 +To create a new MQTT client click on the configuration icon next to **Connect** or from the dropdown **Extras -> Edit Connection Profiles**
 +
 +{{:en:iot:examples:debugging:conficon.png?200|}}
 +
 +Click on the plus icon on the bottom left to create a new MQTT client profile.
 +
 +{{:en:iot:examples:debugging:createnewclient.png?200|}}
 +
 +Here you have to configure the client to connect with your selected MQTT broker.
 +
 +The important fields are on the picture below, you can leave the rest on their default settings.
 +  * **Profile Name** - Write a name for this settings file. A good idea is to name it after the broker you are connecting to.
 +  * **Profile Type** - Keep as **MQTT Broker**
 +  * **Broker Address** - Here enter the IP (or URL) of the broker.
 +  * **Broker Port** - Here enter the port of the broker. By default it is 1883
 +  * **Client ID** - This is the name you set for your individual device. There should be only one device with this name connected with your broker.
 +If you broker has username and password validation enabled then enter them under the "User Credentials" category.
 +
 +{{:en:iot:examples:debugging:confs.png?400|}}
 +
 +====Using MQTT.fx====
 +
 +To connect to the broker click on the **Connect** button as shown in a previous picture.
 +If you are connected successfully the light on the right will turn green otherwise it will turn red and you will get a message **Unable to connect to server**.
 +After successfully connecting you can publish and subscribe to topics from their respective categories.
 +
 +{{:en:iot:examples:debugging:publish.png?600|}}{{:en:iot:examples:debugging:subscribe.png?600|}}
en/iot/examples/debugging/mqttfx.1614986617.txt.gz · Last modified: 2021/03/05 10:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0