# MQTT Broker

### 1. When is it necessary to use the MQTT broker add-on?

When using the built-in Home Assistant within iSG, if you need to add MQTT integration, you will need to enable and configure the MQTT broker properly.

### 2. How to configure the MQTT Broker add-on?

Ensure the add-on is activated,  MQTT Broker's IP address is the iSG's IP address, and use port 1883. Remember to assign a static IP address to iSG on your home router to prevent service disruptions due to IP address changes.

You can set up a username and password for enhanced security when configuring the MQTT Broker add-on, or you can leave these fields empty if you prefer not to use authentication. If you choose to use them, make sure to remember the credentials, as they will be required for any device or service that needs to connect to the MQTT Broker.

<figure><img src="/files/aBlaIaCrpcNLGqElhx5x" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.linknlink.com/isg/using-isg/add-ons/isg-required-add-ons/mqtt-broker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
