Updating documentation to MQTT (See Pull 7455) (#7746)

* Updating documentation to MQTT (See Pull 7455)

As a request of user fabaff, moving change notes to Add-on Section instead of MQTT generic

* ✏️ Tweaks
This commit is contained in:
Ralph 2019-01-01 10:48:08 -05:00 committed by Franck Nijhof
parent d2420a973f
commit 7f176e9976

View File

@ -55,6 +55,24 @@ This add-on is attached to the Home Assistant user system, so mqtt clients can m
To use the Mosquitto as [broker](/docs/mqtt/broker/#run-your-own), go to the integration page and install the configuration with one click. If you have old MQTT settings available, remove this old integration and restart Home Assistant to see the new one.
#### {% linkable_title Using Mosquitto with Hass.io %}
1. Install the [Mosquitto add-on](https://www.home-assistant.io/addons/mosquitto/) with the default configuration via 'Hass.io > ADD-ON STORE'. (Don't forget to start the add-on & verify that 'Start on boot' is enabled.)
2. Create a new user for MQTT via the `Configuration > Users (manage users)`. (Note: This name cannot be "homeassistant" or "addon")
3. Once back on-line, return to `Configuration > Integrations` and select configure next to `MQTT`.
```
Broker: YOUR_HASSIO_IP_ADDRESS
Port: 1883
Username: MQTT_USERNAME
Password: MQTT_PASSWORD
```
Note: .yaml modifications are not required.
See [testing your setup](https://www.home-assistant.io/docs/mqtt/testing/) to verify the steps above.
### {% linkable_title Disable listening on insecure (1883) ports %}
Remove the ports from the add-on page network card (set them as blank) to disable them.