# 12. Integración con Home Assistant

Si deseas controlar tus dispositivos en Home Assistant con Alexa, Google Home, Siri o IFTTT, solo necesitas seguir estos pasos.

1. Instala [Home assistant ](https://www.home-assistant.io/)en Windows, Linux, Mac, or Raspberry&#x20;
2. Instala el Plugin MQTT

![MQTT Plugin](/files/-M6q1xKCz0xfqQEZK5hI)

4\. Reemplaza tu nombre de usuario y contraseña (O API key) y agrega la configuración que se muestra a continuación al archivo configuration.yaml dentro de tu instalación de Home Assistant.&#x20;

```yaml
mqtt:
  broker: smartnest.cz
  port: 1883
  client_id: "homeassistant-USERNAME"
  username: "USERNAME"
  password: "API-KEY"
  discovery: true
  discovery_prefix: "homeassistant-USERNAME"
```

5\. Después de esto, reinicia tu Home Assistant y este descubrirá todos los dispositivos que has creado en Smartnest. Esto te permitirá usar la agradable interfaz de Home Assistant y al mismo tiempo podrás controlar tus dispositivos desde cualquier asistente de voz.

6\. Hecho! Felicidades.


---

# 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://documentacion.smartnest.cz/integracion-con-home-assistant.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.
