# Issues Setting Up MQTT For HASS

**URL:** <https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774>\
**Category:** Questions & Help\
**Created:** [March 15, 2019, 9:30pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774 "2019-03-15T21:30:28Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 18, 2019, 6:47pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/21 "2019-03-18T18:47:03Z")

</div>

Side step: I prefer using an external broker to reduce the workload for Homey.  
Therefore I configured a Mosquitto broker in a docker container on my NAS.

---

<div class="post-metadata">

**Author:** ![David\_Maas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_maas/32/25776_2.png) [@David\_Maas](https://community.homey.app/u/David_Maas)\
**Post date:** [March 18, 2019, 6:56pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/22 "2019-03-18T18:56:36Z")

</div>

Indeed, this is the next step because I saw the workload. But for now trieing to setup the noob version in Ha so I can look if it something for me 🙂 Many thank in advance @HarriedeGroot

---

<div class="post-metadata">

**Author:** ![Ferry\_van\_E](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_van_e/32/10953_2.png) [@Ferry\_van\_E](https://community.homey.app/u/Ferry_van_E)\
**Post date:** [March 18, 2019, 7:16pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/23 "2019-03-18T19:16:06Z")

</div>

So, i disabled the MQTT broker on Homey and installed the Mosquitto on my NAS and opened MQTT explorer

 ![17](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/95325cb0608b7ef5a93e7b8cdce77d9d9cb2dede.png)

Checked the configuration.yaml for discovery

 ![47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/b1cca93acd6758f1b0048b1df954a0471679191a.png)

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 18, 2019, 7:19pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/24 "2019-03-18T19:19:12Z")

</div>

Now you need to point both the MQTT Client & HA to the Mosquitto broker.

---

<div class="post-metadata">

**Author:** ![Ferry\_van\_E](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_van_e/32/10953_2.png) [@Ferry\_van\_E](https://community.homey.app/u/Ferry_van_E)\
**Post date:** [March 18, 2019, 7:25pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/25 "2019-03-18T19:25:20Z")

</div>

> [@Tablet wall-mounted controller for the home](https://community.homey.app/t/tablet-wall-mounted-controller-for-the-home/10526/38):
>
> Now you need to point both the MQTT Client & HA to the Mosquito broker.

I did for the Client on Homey

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8b121d994ece2cd0fee5cb25a6b86bd740c89bf3.jpeg)

Where in HA can i point to the Mosquitto broker?

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 18, 2019, 7:37pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/26 "2019-03-18T19:37:01Z")

</div>

See: **Run your own** :

> **[MQTT Brokers](https://www.home-assistant.io/docs/mqtt/broker#run-your-own)**
>
> Instructions on how to setup MQTT brokers for Home Assistant.

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 18, 2019, 9:54pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/27 "2019-03-18T21:54:54Z")

</div>

FYI: Above is resolved by disabling the secure connection (TLS) in the MQTT Client.  
Of course its advised to setup a secure connection.

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [March 19, 2019, 12:12am UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/28 "2019-03-19T00:12:45Z")

</div>

Hey @Ferry_van_E, perhaps I should have been clearer about it being time for a new thread.

I’ve moved your posts from the [Tablet wall-mounted controller for the home](https://community.homey.app/t/tablet-wall-mounted-controller-for-the-home/10526/24) thread and created a new thread for you in Questions & Help.

Please try and keep conversations ‘on topic’ with in threads, and create new threads for ‘new topics’.

There is valuable information here which others may find useful, it having its own thread make it easier for others to find.

If you would like to discuss this further please feel free to contact me.

---

<div class="post-metadata">

**Author:** ![David\_Maas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_maas/32/25776_2.png) [@David\_Maas](https://community.homey.app/u/David_Maas)\
**Post date:** [March 19, 2019, 8:07pm UTC](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774/29 "2019-03-19T20:07:14Z")

</div>

@Ferry_van_E Maybe i have found something. When i look in HA under developerstools/information the log says: Unable to load /config/known\_devices.yaml: Config file not found: /config/known\_devices.yam  
Also i cannot find the file in the folders, so it looks like it has a problem creating the right file.  
I tried a older version for Ha, but still the same problem.

[Previous page](https://community.homey.app/t/issues-setting-up-mqtt-for-hass/10774.md?page=1)
