MQTT settings

MQTT is a standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/subscribe messaging transport that is ideal for connecting remote devices with a small code footprint and minimal network bandwidth.

Image 4266

Use internal broker = True, the bOS Controller becomes the broker or server for MQTT communication.
Use internal broker = False, we will be using another machine as the MQTT broker so we need to set the correct ip/port and login credentials for MQTT communication.

If server has additional SSL/TLS certificates, we need to enable SSL/TLS. Make sure you sort out the certificates on the server.

If the broker has set authentication, enable Broker Authentication to True and fill out the Username and Password below.

Use Client ID restriction = sets the minimum lenght of the Client's ID (e.g device name).
Store retained messages = every new client connecting to the MQTT receives the last message sent to the MQTT.

Step by step integration of a Shelly device that allows us to control and receive feedback to bOS is available in the video below:

Youtube video