# \[TUTORIAL\]\[PRO\] How to integrate Home Assistant with Homey Pro and v.v

**URL:** <https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641>\
**Category:** Tutorials\
**Tags:** app, mqtt, homey-pro, home-assistant, howto\
**Created:** [October 23, 2023, 8:01pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641 "2023-10-23T20:01:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 23, 2023, 8:01pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/1 "2023-10-23T20:01:31Z")

</div>

#### → 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 😁 )

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 need to install the desired HA devices on Homey, just like other devices need to be installed.

- Also I have added the optional “[How to install the HACS store](https://community.homey.app/t/tutorial-stappenplan-homey-koppelen-met-home-assistant/77587#optioneel-hacs-store-installeren-18)”

### For a first impression:

- The installed HA devices in Homey  

- A selection of Homey devices in HA  

- 
  - In the device overview, you can see that these devices are present @ HA via the MQTT integration:  
 ![Screenshot from 2023-10-23 22-09-18](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56946b3a882479abc1a574c328cfe3ac0b6301d2.png)

## Run the following on Homey:

### - MQTT Hub app

> **Click here**
>
> - Install this app:  
> ~~[https://homey.app/a/nl.hdg.mqtt/](https://homey.app/a/nl.hdg.mqtt/test)~~  
> [https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463](https://community.homey.app/t/app-pro-mqtt-hub-community-version/113463)
> 
> - Configuration:  
> On the mobile app, go to …More → Apps → MQTT Hub → Cogwheel → App Settings  
> Copy the settings from the screen as shown below, and save.
> 
> - 
> - **For the Pro 2023** : in the bottom field “Performance”, set a message delay, in order to avoid app crashes
> 
> - Click on image for full view  
>   
> 
> - The ‘Devices’ tab allows you to exclude devices you don’t want in HA. Fewer devices benefit performance and crash sensitivity.
> 
> - 
> - **CAUTION** to immediately remove devices you add to Homey using the Home Assistant Community app from the Devices list. To avoid loops! ((`*`) _as long as new devices are still automatically added to the list_)
> 
> - Go to tab ‘Log’, and set the level to “Errors and Warnings”, to reduce log size and performance

### - MQTT Client app

> **Click here**
>
> Please install this app:  
> [https://homey.app/a/nl.scanno.mqtt/](https://homey.app/a/nl.scanno.mqtt/)
> 
> - Configuration:  
> On the mobile app, go to …More → Apps → MQTT Client → Configure app  
> Enter your data, like the example data in the settings screen screenshot, and save the settings
> - 
> - 
> - ⚠ _ **The username + password of the MQTT Client as well as the MQTT Broker must be the same** _  
>   
> ![signal-2023-03-12-174554_003](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3dc476a94edc2020e4e7dfef7370d9b69001f6d7.jpeg)

## Run the following on HA:

### - Mosquitto Broker and MQTT integration

> **Click here**
>
> Install the broker:
> 
> - Go to Add-ons  
> 
> - Click the blue button **[Add-on Store]** …  
> 
> - … and then search for Mosquitto broker and install this add-on by clicking on it  
> 
> - Configuration:
> 
> - 
> - Go to the ‘Configuration’ tab at the top
> 
> - 
> - ⚠ → Enter the user and password _ **similar to those of MQTT Client** _, with exactly the same number of spaces as in the screenshot below:
> 
> [minus sign][space]username:[space]name  
> [space][space]password:[space]password
> 
> ![Screenshot from 2023-10-23 22-23-43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/ba2b6cda42779120ad3c91de59c75da853f27b49.png)
> 
> - 
> - 
> - NOTE: This screen on the screenshot unfortunately wouldn’t save my input, but, via YAML (click on the 3 dots at the top right) it succeeded:  
> ![Screenshot from 2023-10-23 22-24-52](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87af277ff8dcdfb943d67bf79550a20dbfad0857.png)
> 
> - Click ‘Save’
> 
> - Then go to the ‘Information’ tab at the top
> 
> - Turn on ‘Start on startup’ in any case
> 
> - Click on ‘START’ at the bottom left of the add-on screen  
> 
> ### Mosquitto Broker and MQTT Integration
> 
> To use the Mosquitto broker, go to the integration page and install/configure the integration:
> 
> - Go to Settings → Devices and Services
> 
> - MQTT should now appear there as a discovered integration:  
> 
> - If yes: scroll down until " ‘Discovered MQTT integration’ continued" to continue!
> 
> - 
> - 
> - _If not, click ‘Add integration’ at the bottom right and search for ‘mqtt’, click on the found MQTT integration and add it_  
> ![Screenshot from 2023-10-23 22-36-04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/ef4364bc87f90a0c2b6fadf5d1a4b5b83234967d.png)
> 
> - 
> - _Choose MQTT without additions_  
> ![Screenshot from 2023-03-13 12-49-55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b8c0c9dcac4195dbda60bb0dae8ba8f5e06aaf1.png)
> 
> - 
> - 
> - Copy the data from the screen below;\* \*  
> → _username + password is again the same user + password you used for the MQTT Client and Broker_.  
> ![Screenshot from 2023-10-23 22-38-24](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/1/c13383ea3dbb74f46bb37331d82020ee7af6b1be.png)
> 
> - 
> - 
> - _Click ‘Next’ and then ‘Finish’_
> 
> #### ‘Discovered MQTT integration’ continued:
> 
> - Click ‘Configure’ to enable MQTT detection if required, and click ‘Save’ in the screen that follows:  
> (Translated: _Would you like to configure HomeAssistant to connect to the MQTT-Broker which is presented to you by the Mosquitto Broker add-on_ “Save”)  
> 
> - Click ‘Finish’  
> (The screen says ‘Congrats, config created for Mosquitto Broker’ “Finish”)  
> 
> - Click ‘Configure’ again to set up MQTT for the MQTT Broker with your own username + password  
> 
> - In this screen, click ‘MQTT RECONFIGURE’  
> 
> - Change username + password to matching the user + password you used with the MQTT Client and Broker  
> 
> - If all went well, your Homey devices are now being loaded  
> Example:  
> 
> - A sample of my Homey devices in HA  
> 
> - Detail of a plant sensor @ HA, coming from Homey

## Run the following on Homey

### - Home Assistant Community app

> **Click here**
>
> Finally, install this app on Homey:  
> [https://homey.app/a/io.home-assistant.community/](https://homey.app/a/io.home-assistant.community/)
> 
> - Look up the IP address of your HA installation;
> - Add a new device and choose Home Assistant Community
> - 
> - Now (only 1-time needed) enter the IP address as URL ([http://x.x.x.x:8123](http://x.x.x.x:8123)) and the so-called ‘longlived token’
> 
> - 
> - 
> - _The manual to create a token can be found on the [app page](https://homey.app/a/io.home-assistant.community/) and/or on the [forum topic](https://community.homey.app/t/app-pro-home-assistant-community-app/71477) of this app_  
> Example:
> 
> > ![Screenshot_20230616-021712_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/22d759ecfd6ceee149347de521ca2ff241e2e864.jpeg)
> 
> - Then, choose the desired type (sensor, switch, light etc.) and enter the desired device name in the search field
> - Here is an example with a type ‘button’  
> ![Screenshot from 2023-03-12 19-36-30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/7534c850d4e2d176704747952a834d9b5b1858c3.png)

## - Must have tool: MQTT Explorer

> **Click here**
>
> #### This tool allows you to see what is or isn’t being sent back and forth in MQTT
> 
> - Win/Lin/Mac: [http://mqtt-explorer.com/](http://mqtt-explorer.com/)
> 
> - HA addon: [https://community.home-assistant.io/t/addon-mqtt-explorer-new-version/603739](https://community.home-assistant.io/t/addon-mqtt-explorer-new-version/603739?u=peter_kawa)
> 
> - Configuration example, again use the same user + password as with the MQTT Broker & Client, and use the IP address of HA (which runs the broker)  
> 
> - MQTT data impression  
> This is what Homey sends to HA:  
> 
> - This is what HA sends to Homey:

## - Useful flows

> **Click here**
>
> #### Broker offline:
> 
> You can e.g. also use this trigger to automatically restart HA f.i.
> 
> ### HA offline or back online
> 
> #### If HA has been offline, or Homey, I always had to manually perform a ‘broadcast’ in the MQTT Hub app, otherwise the Homey devices on HA would no longer work. Also, a notification is sent.
> 
> _And a totally ‘useless’ option: I also set an AVD’s ([advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198)) status to on/offline . It’s called “HA On-Offline”. Also a variable is updated with the status_

## - Run the following @ HA

### Optional: install HACS store

> **Click here**
>
> _ **HACS = Home Assistant Community Store** _  
> _ **There are many nice ‘apps’ in this additional store, but it is not supported by HA** _
> 
> - Read these ‘necessities’  
> [https://hacs.xyz/docs/setup/prerequisites](https://hacs.xyz/docs/setup/prerequisites)
> - How to download and install:  
> [https://hacs.xyz/docs/setup/download](https://hacs.xyz/docs/setup/download)
> 
> ### Install a community integration
> 
> - Go to the HACS  
> 
> - … and look for the brand, e.g. ‘shelly’  
> 
> ## Examples
> 
> #### To give an impression of possibilities
> 
> #### My HACS integrations:
> 
> Among others iCalender, HVC waste calendar, variable, Nordpool energy prices etc.
> 
> ![Screenshot 2023-03-13 at 11-43-35 HACS - Home Assistant](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e2459439831185791614b69ec32e1e09d71bbfaf.png)
> 
> #### My HACS frontend:
> 
> This is mainly for ‘spicing up’ my dashboards
> 
> ![Screenshot 2023-03-13 at 11-44-01 HACS - Home Assistant](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/660f749206c07640bf49cfe3a38fb52efb324f11.png)

---

<div class="post-metadata">

**Author:** ![Krielandor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krielandor/32/79061_2.png) [@Krielandor](https://community.homey.app/u/Krielandor)\
**Post date:** [November 30, 2023, 10:38am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/2 "2023-11-30T10:38:26Z")

</div>

Hey,  
what could I be doing wrong?  
It seems I set up everything according to the guide, but the MQTT in HA does not find the Homey devices.  
The MQTT explorer:  
 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20f6323d8d032d4d45ec362896a619a235bb0ea4.png)

Seems like homey isn’t sending anything?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 30, 2023, 8:52pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/3 "2023-11-30T20:52:20Z")

</div>

Could be an account issue. Enter exactly the same credentials for the mqtt broker & -client  
Does the mqtt-explorer homey entry, show ‘status=online’?  
What does the mqtt client log show?  
Same for the broker log

Example mqtt client log:

> ![image71](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed274e4cb2f466d1fd9b60b8ff61819ebfc4a85d.png)

Broker log (the entries you see here are normal, they’re _not_ issues):

> ![Screenshot_20231130-215617_Home Assistant](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/7/a701fbf6fdb5967aa55c7a8e64689ddf81224dee.jpeg)

---

<div class="post-metadata">

**Author:** ![Krielandor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krielandor/32/79061_2.png) [@Krielandor](https://community.homey.app/u/Krielandor)\
**Post date:** [December 1, 2023, 6:43am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/4 "2023-12-01T06:43:19Z")

</div>

thank you very much for your reply!

The Mosquitto Log looks exactly the same, I checked the username/password combination…

On Homey I got:  
MQTT Client v3.0.0  
 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/205609e36dc062790b62b92f0e177b87addb371e.png)

Above the red line: to be sure I changed the password to something else and as expected authentification failed. I changed it back to the correct password, then the log below the red line was created.

MQTT Hub v3.6.1 (Test)  
The logs are very quite…  
 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d810e55abadd0d71d580a897619c31395513fa8c.png)

No errors or something, it just states new devices I added yesterday.

On Home Assistant:

Mosquittos log as mentioned above looks the same as yours, where can I find the logs for the MQTT integration?  
If I change the password it instantly fails, so it only continues if I use the correct password.  
I didn’t find the second config screen in your guide so I didn’t change anything there:

 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/90898738bd06d174aeea617efd9d28b367ae2608.png)

Thank you so much for your time!

Edit: Sorry, forgot to answer your question:  
“Does the mqtt-explorer homey entry, show ‘status=online’?”

Yes:

 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/5/358956c3476111777f311ab7551aee5c4fa4192e.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 1, 2023, 4:43pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/5 "2023-12-01T16:43:17Z")

</div>

No problem, Uwe.  
MQTT can be a big PITA to configure right…

> [@Krielandor](#):
>
> No errors or something, it just states new devices I added yesterday.

OK, so Homey should publish it correct so it seems.  
The MQTT ‘Homey status = online’ also indicates it should work.

Just to be sure, did you push the MQTT Hub broadcast button already, this forces the devices to be, well, broadcasted 😊

Did you apply the custom MQTT Hub “communication protocol” settings, as mentioned with screenshot at the MQTT Hub part of the tutorial?

> [@Krielandor](#):
>
> where can I find the logs for the MQTT integration?

Good question, this seems to be the part where it goes wrong.  
Are you sure you entered the same credentials as you did for MQTT Broker and -Client?

 ![Screenshot_20231201-181117_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b74ce9f47380b03b96308143215e1cc6b7c0269c.jpeg)

.  
About the logging:  
When you open the MQTT integration, hit “ebable debug logging” (make sure to turn it off after a while, bcause it can have a negative impact @ HA performance)

 ![Screenshot_20231201-174422_Home Assistant](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6ca5e88fb81c7d1a15d5ee874d3b0e6f942ccbb9.jpeg)

Now after, say, 10 to 15 minutes, disable it again  
Now go to Settings \> System \> Logs  
Select “Home Assistant Core” at the top right.  
Look for MQTT messages

To enable permanent logging:

> ![Screenshot_20231201-175603_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/1/1115cfd842c7500b4acbf5e0042bd814d6dbf005.jpeg)

> **[Logger](https://www.home-assistant.io/integrations/logger/)**
>
> Instructions on how to enable the logger integration for Home Assistant.

---

<div class="post-metadata">

**Author:** ![Krielandor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krielandor/32/79061_2.png) [@Krielandor](https://community.homey.app/u/Krielandor)\
**Post date:** [December 4, 2023, 11:49am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/6 "2023-12-04T11:49:32Z")

</div>

Hi Peter, sorry took me a bit.

> [@Peter\_Kawa](#):
>
> Just to be sure, did you push the MQTT Hub broadcast button already, this forces the devices to be, well, broadcasted 😊

Yes, I clicked that a few times while debugging, but it seems to have no effect at all.  
In the Logfile it states “refresh”, but nothing else happens, there are no new messages or something else in the MQTT explorer, so I guess here lies the problem?

> [@Peter\_Kawa](#):
>
> Did you apply the custom MQTT Hub “communication protocol” settings, as mentioned with screenshot at the MQTT Hub part of the tutorial?

You mean the Screenshot under the section:

> [@Peter\_Kawa](#):
>
> ## Run the following on Homey:
> 
> ### - MQTT Hub app

Right? Yes, I made sure everything looks the same and double checked it now.

 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac15fc698f912cc06eba398870b97bcb03f809fd.png)  
 ![Capture1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/6/36131be42bc83e1a296c91f93b3376fa52850c7e.png)  
 ![Capture2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/090081e959b35f1b1f19d3614b662e78e9a9efc9.png)  
 ![Capture3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/adba32433c0d71625b75b8b468f9414b63487d7e.png)  
maybe I’m blind and you can point out an error 🙂

> [@Peter\_Kawa](#):
>
> Are you sure you entered the same credentials as you did for MQTT Broker and -Client?

Yes, if I change the credentials to something else it immediately fails with an error message that no connection could be estabilished.

within the MQTT Log (after disabling the debugging my browser just prompted me to download the .log file) I can not find anything useful. The only errors are when I tried to enter wrong credentials, otherwise its just full of status updates / payloads from my zigbee devices connected to the HA Pi, nothing about homey.

So, I think the error is on the homey side, especially with the MQTT Hub app. I did install the test-version by following your link, that was correct, right? Or should I switch to the older release version?

---

<div class="post-metadata">

**Author:** ![Krielandor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krielandor/32/79061_2.png) [@Krielandor](https://community.homey.app/u/Krielandor)\
**Post date:** [December 4, 2023, 2:16pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/7 "2023-12-04T14:16:49Z")

</div>

News…  
I realised that the MQTT Hub switched the “Running” switch off, so I reenganged it. The logfiles only stated switch on and running but nothing else. After reloading the homey app the “Running” switch was off again.

I then had the Idea to exclude the devices which are connected to the HA Pi and brought to homey correctly (2 Motion sensors, 1 Bulb and a Dice). After excluding those devices the “Running” switch stays on and now when I press the Broadcast button the log even outputs new information!

![+](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fbf1417f46676cc3eb94b41dfcbe41d1062f39bb.png)

so, yeah, the disabled devices are because I disabled them … but then it states Skip - invalid broadcast followed by HomieDecives initialized: false and MQTT Client registered: undefined?

Mhh… hope you have a bright idea 🙂

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 4, 2023, 8:12pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/8 "2023-12-04T20:12:05Z")

</div>

Hello Uwe,

Just to be sure, didn’t get a confirmation yet about

> [@Peter\_Kawa](#):
>
> Are you sure you entered the same credentials as you did for MQTT Broker and -Client?

> [@Krielandor](#):
>
> Yes, if I change the credentials to something else it immediately fails with an error message that no connection could be estabilished.

I meant the credentials you should have entered with the third place you’ll need to logon, _MQTT integration_ as I showed right below my question.

Don’t know if it’s related to the MQTT Hub issues, but one can’t check too much.

> [@Krielandor](#):
>
> the MQTT Hub app. I did install the test-version by following your link, that was correct, right?

Correct, I use that version as well.

> [@Krielandor](#):
>
> maybe I’m blind and you can point out an error 🙂

I can’t see any issues

> [@Krielandor](#):
>
> I realised that the MQTT Hub switched the “Running” switch off, so I reenganged it. The logfiles only stated switch on and running but nothing else. After reloading the homey app the “Running” switch was off again

I didn’t encounter that behaviour, so

One idea, but a bit of last resort:  
Remove the MQTT Hub app,  
Reboot Homey,  
and then install it again, and enter the custom communication protocol settings again…

---

<div class="post-metadata">

**Author:** ![Krielandor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krielandor/32/79061_2.png) [@Krielandor](https://community.homey.app/u/Krielandor)\
**Post date:** [December 5, 2023, 7:27am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/9 "2023-12-05T07:27:31Z")

</div>

So… the devices are synced to HA now.  
No Idea why/ what happened, the only thing I did yesterday was deactivate the devices in MQTT Hub which are connected to HA.  
Now, over night, everything seems to have sorted out?  
The MQTT Explorer now shows 2414 topics, so very busy…

---

<div class="post-metadata">

**Author:** ![John\_Lykke\_Nielsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_lykke_nielsen/32/47790_2.png) [@John\_Lykke\_Nielsen](https://community.homey.app/u/John_Lykke_Nielsen)\
**Post date:** [March 5, 2024, 10:12pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/10 "2024-03-05T22:12:27Z")

</div>

Hello Peter,

Thank you for your instructions above, which I followed and got the MQTT connection working fine.

Now I am working on some flows, and have a question in relation to the flow example you have posted. What is this “HA On-Offline”? Is a special app used to create this, or something else? And how do I replicate this?

Thank you very much.

BR,

John

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1e6a36c0da482904185e47a07211d0873b21ef1.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 5, 2024, 11:28pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/11 "2024-03-05T23:28:45Z")

</div>

Nice to hear! Much appreciated.

> [@John\_Lykke\_Nielsen](#):
>
> What is this “HA On-Offline”?

This is an [advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) by the Device Capabilities app.  
It can, for instance, do almost anything with the status indicator.  
Prior to Homey app v7.2.0 it could not display text as value.  
With this device, it was and is possible.

I’ve updated the info with that flow, thx!

---

<div class="post-metadata">

**Author:** ![Daniel\_Cruz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_cruz/32/81875_2.png) [@Daniel\_Cruz](https://community.homey.app/u/Daniel_Cruz)\
**Post date:** [March 7, 2024, 5:36pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/12 "2024-03-07T17:36:46Z")

</div>

Hello @Peter_Kawa,

First of all thank you a lot for these instructions… It really helped me to configure HA and Homey.

All is working well, but just want to give you a small feedback.

After the point that you can see in the image below (Discovered MQTT integration), I didn’t need to do any more steps… Like for example Reconfigure MQTT.

When I selected the discovered integration all was working and the devices being added from Homey in HA.

 ![imagem](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4ab3659543dc2126ce7f302aa4ba73e96aea44d5.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 7, 2024, 9:21pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/13 "2024-03-07T21:21:59Z")

</div>

Thanks! Much appreciated.

Thanks for noticing.  
While HA and it’s add-ons / integrations are ever evolving, things can change in time.

On the other hand, I installed it various times from scratch, sometimes things got configured automatically, sometimes not - no clue why 🤭

---

<div class="post-metadata">

**Author:** ![Walter\_H](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/walter_h/32/79567_2.png) [@Walter\_H](https://community.homey.app/u/Walter_H)\
**Post date:** [March 20, 2024, 4:25am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/14 "2024-03-20T04:25:36Z")

</div>

I bought the Homey Pro with insanely high expectations and sadly, it isn’t what all the “Social Media influencers” made it out to be. I since picked up a Home Assistant Blue and love it. I decided I wanted to at least integrate the paper weight, err, Homey Pro with the amazing Home Assistant Blue.

I followed your steps and it wasn’t working. It finally hit me, because I am using Starlink, ports are not open at all, which was causing the actual internal IP address to not be able to link up between the two devices/apps. So I changed all the Homey Pro side to my Tailscale VPN IP address and boom it all worked. Just wanted to put this here for others on ISP’s that block all ports.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 20, 2024, 12:56pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/15 "2024-03-20T12:56:50Z")

</div>

Hmmmmm I don’t get why you complain about the wrong image you got from Homey at this **users** forum, Walter, we can’t help you man → I’d suggest to let Athom know what you miss, or what you like to see on a Homey, they don’t read your messages in here. Go to [Support | Homey](https://homey.app/support)

---

<div class="post-metadata">

**Author:** ![Mikael](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael/32/4128_2.png) [@Mikael](https://community.homey.app/u/Mikael)\
**Post date:** [April 8, 2024, 7:52am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/16 "2024-04-08T07:52:12Z")

</div>

> [@Peter\_Kawa](#):
>
> Mosquitto Broker

Solved:  
In the Broker i have tried to save password and user like the giude say but it will not save it also when i try to edit the YAML it don´t save it?

This way it works.  
logins: [  
{  
“username”: “yourMQTT”,  
“password”: “yourMQTTpass”  
}  
]

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 9, 2024, 12:12am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/17 "2024-04-09T00:12:50Z")

</div>

I have no clue what’s going on, I can only say this still works perfectly fine on my setup:

> ![Screenshot_20240409-020358_Home Assistant](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/3/c30161775cf9c4aa9f757d1ee217a5ea74904a58.jpeg)

```auto
Core: 2024.4.2
Supervisor: 2024.04.0
Operating System: 12.1
Frontend: 20240404.1
Mosquitto broker: 6.4.0

```

---

<div class="post-metadata">

**Author:** ![Mikael](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael/32/4128_2.png) [@Mikael](https://community.homey.app/u/Mikael)\
**Post date:** [April 22, 2024, 10:25am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/18 "2024-04-22T10:25:32Z")

</div>

I was adding a new temp sensor and som other devices to the homey but it dont show up in Home Assistant?  
What to do to get the new added devices in Homey over to Home Assistant?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 22, 2024, 12:22pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/19 "2024-04-22T12:22:28Z")

</div>

Via MQTT Hub?  
The devices are shown in MQTT Hub app settings. But it needs an app restart to do the initiaal device sync.  
After restarting the MQTT Hub, new devices should appear in HA.

---

<div class="post-metadata">

**Author:** ![Mikael](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael/32/4128_2.png) [@Mikael](https://community.homey.app/u/Mikael)\
**Post date:** [April 22, 2024, 12:44pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/20 "2024-04-22T12:44:42Z")

</div>

Thanks will try that 🙂

[Next page](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641.md?page=2)
