# MQTT - Homey to Home Assistant

**URL:** <https://community.homey.app/t/mqtt-homey-to-home-assistant/95080>\
**Category:** Questions & Help\
**Created:** [November 19, 2023, 10:50am UTC](https://community.homey.app/t/mqtt-homey-to-home-assistant/95080 "2023-11-19T10:50:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuxinator](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tuxinator/32/58136_2.png) [@Tuxinator](https://community.homey.app/u/Tuxinator)\
**Post date:** [November 19, 2023, 10:50am UTC](https://community.homey.app/t/mqtt-homey-to-home-assistant/95080/1 "2023-11-19T10:50:47Z")

</div>

I’m trying to connect my Homey to Home Assistant via MQTT.

In HA I have Mosquitto broker and the MQTT Integration running. From the Logs it looks like it is working.  
In Homey I have installed the MQTT Hub and the Client.

The Log of the Hub very often says the message “Error publishing message”.  
When I type in the Data (IP, User, Passwort) from the HA-Mosquitto and save, it first says “Settings saved”. But then the message “There was an error trying to apply the settings.” appears.  
But there is no Log for more information.

Can anybody help me, what I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [November 19, 2023, 10:52am UTC](https://community.homey.app/t/mqtt-homey-to-home-assistant/95080/2 "2023-11-19T10:52:50Z")

</div>

> [@\[TUTORIAL\]\[PRO\] How to integrate Home Assistant with Homey Pro and v.v](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey/92641):
>
> → Nederlandstalige versie → [klik hier](https://community.homey.app/t/tutorial-pro-home-assistant-integreren-met-homey/77587) → Tutorial with examples of setting up HA from scratch, extended with zwave as example → [click me](https://community.homey.app/t/honeywell-t6-pro-zwave-help/114693/5) It is not very easy to connect Home Assistant (or HA) with Homey Pro when you are new to it, hence this comprehensive guide. You can make it work! (At least I hope so grin ) When I forgot something, or something is wrong: feel free to point it out. By default, all Homey devices are available @ HA after a successful connection using MQTT; BUT you ne…

…maybe check this guide, if you find any answer

---

<div class="post-metadata">

**Author:** ![Tuxinator](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tuxinator/32/58136_2.png) [@Tuxinator](https://community.homey.app/u/Tuxinator)\
**Post date:** [November 19, 2023, 11:10am UTC](https://community.homey.app/t/mqtt-homey-to-home-assistant/95080/3 "2023-11-19T11:10:38Z")

</div>

Great. Unfortunately, I hadn’t found this in my search before. Now it works. Thank you very much.
