Gateway secondary MQTT interface

The WiFi gateway talks to the LinkIO Cloud service over a first MQTT interface, whose broker is set at manufacturing time. It can additionally connect to a second MQTT broker, chosen by the home owner, so that a third-party system can control the products and receive their states without going through the Cloud service.

The second broker may sit inside the home or be reachable over the internet. Both interfaces run in parallel and use the same topic and message format: an integrator who can read one can read the other.

This interface is for control and state reporting, sensors included. It cannot be used to install a product: Bluetooth Mesh discovery, provisioning and configuration remain the role of the mobile App.

It does not replace the main interface and does not make the gateway autonomous: the gateway is still driven by the Cloud service, and needs that link in order to operate.