Introducing 🎉 FUNCTION BLOCK FRIDAY 🎉
To kick off this series on Lucid’s library of function blocks we’re introducing the IoT industry’s favourite device connectivity protocol – MQTT!
If you don’t know MQTT, it’s a lightweight publish/subscribe messaging protocol used widely in devices and server messaging.
Lucid lets you configure and run secure MQTT connections to your favourite MQTT broker service in just a few seconds and NO CODE. For secure connections, you may need a security certificate from your provider which you simply upload using Lucid.
To complete your connection you just need to enter the URL of your broker into the client configuration block and optionally give it a specific unique id. To make the magic happen you simply need to add publish and subscribe blocks in your Lucid application to send and receive data and events to the topics you want.