Connecting to MQTT
About 1 mindocumentation
Connecting to MQTT
F1MV-Lights-Integration supports MQTT, which allows you to connect to your own MQTT broker and the app will send messages to it.
Setting up MQTT
- Make sure you have installed F1MV-Lights-Integration, if not, please refer to the installation page
- Open F1MV-Lights-Integration and open the settings by clicking on the 3 dots in the top right corner, then click on "Settings".
- Click on "Integration Settings", and click "MQTT".
- Make sure "Disable MQTT Integration" is not checked.
- Enter your MQTT broker's IP address/hostname in the "MQTT Broker Host" field.
- Enter your MQTT broker's port in the "MQTT Broker Port" field. If you are using the default port, leave it at 1883.
- If your MQTT broker requires a username and password, enter them in the "MQTT Username" and "MQTT Password" fields respectively. If not, leave them blank.
- Click "MQTT Tools", and then click the "(Re)connect to MQTT" button. If you see the message "Successfully connected to the MQTT broker", the app has successfully connected to your MQTT broker.
Note
You don't need to click the "(Re)connect to MQTT" button every time you open the app, it will automatically connect to your MQTT broker when you open the app.
You only need to click the "(Re)connect to MQTT" button if you change any of the MQTT settings, or you're experiencing issues with the MQTT integration.
Troubleshooting
Please refer to the troubleshooting page if you encounter any issues.