How to quickly test MQTT with Ignition?:
Note: To learn and setup MQTT on ubuntu or RPi, please watch the above 2 MQTT tutorials. Thanks.
- Install cirruslink MQTT Engine module and activate it.
- Click the MQTT Engine/settings link on the Ignition web configuration page and add any numer of MQTT servers as shown below. In this case, i have added 2 servers, local ubuntu and cloudmqtt servers. Make sure, you enter your cloudmqtt port number, user name and password as shown in details tab.
3.Click namespace/custom and enter everything for name and # to subscribe for all servers as shown below.
4.RESTART MQTT Engine MODULE.
5.Enter the Ubuntu shell command:
mosquitto_pub -h 192.168.1.109 -p 1883 -t test -m “hello ignition”
6.login to your cloudmqtt page and test it.
All topics will automatically come up under “All Providers/MQTT Engine” in your tag browser.
I am amazed and speechless to see the power of MQTT. This will push Kepserver out of business very soon.