# \[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:** 3

<div class="post-metadata">

**Author:** ![Jurek\_Chlebowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurek_chlebowski/32/111461_2.png) [@Jurek\_Chlebowski](https://community.homey.app/u/Jurek_Chlebowski)\
**Post date:** [September 17, 2024, 3:00pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/41 "2024-09-17T15:00:47Z")

</div>

Thanks a million Peter and again - many thanks for the description - it was straight as ND-46W… 🙂

Best, J.

---

<div class="post-metadata">

**Author:** ![Jurek\_Chlebowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurek_chlebowski/32/111461_2.png) [@Jurek\_Chlebowski](https://community.homey.app/u/Jurek_Chlebowski)\
**Post date:** [September 22, 2024, 10:40am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/42 "2024-09-22T10:40:57Z")

</div>

Hi Peter,

sorry to bother you again… hope I am not overusing your kind help…

Question to HA-Homey integration - basically as far as I could try how devices function and communicate everything looks OK, my famous Tuya thermostats communicate both ways, lights work both ways so I assume the communication using MQTT is fine.

I have however two Daikin aircons and despite that they appear nicely in HA:

 ![Zrzut ekranu 2024-09-22 o 12.34.55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8beb1bde6701b5e4b5ccfeea333d7283838cb206.png)

they seem not to communicate neither way (HA ↔ Homey)…

Any clue how to check/solve this?

Thanks in advance!

Best

J.

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 22, 2024, 5:11pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/43 "2024-09-22T17:11:56Z")

</div>

is there a way to send a command from homey to home assisstant, to force HA to reboot/restart?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:20pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/44 "2024-09-22T17:20:14Z")

</div>

With the community app you can probably use this card:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7a4b1ce2ad3bb99ffad572fa1846f3e41e81daa6.png)

- Service: `restart`
- Domain: `homeassistant`
- Data: `{}`

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 22, 2024, 5:40pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/45 "2024-09-22T17:40:54Z")

</div>

thanks robert for the quick reply.

tried it, and when I test it, i get:

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

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:43pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/46 "2024-09-22T17:43:54Z")

</div>

Connection lost because HA is restarting…?

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 22, 2024, 5:47pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/47 "2024-09-22T17:47:02Z")

</div>

aah, it does both. it does restart, but it still gives the false message… strange, but the effect is success anyway. thanks!

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 22, 2024, 5:51pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/48 "2024-09-22T17:51:17Z")

</div>

I think it’s understandable: the “false” isn’t caused by the restart command failing (somehow), it’s caused by HA restarting and (therefore) not sending back a response.

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 22, 2024, 6:15pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/49 "2024-09-22T18:15:17Z")

</div>

understood, and thanks for the help!

---

<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:** [September 22, 2024, 7:27pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/50 "2024-09-22T19:27:13Z")

</div>

Hi Jurek,

Did you take a look with MQTT Explorer already?  
This way you can monitor all MQTT messages and values, and what happens real time, and what does _not_ happen.  
Do determine if the issues are with the sending, or with the receiving part.

Are the Daikins Homey devices? If true, did you use the custom settings as shown at the MQTT Hub part in the tutorial?

---

<div class="post-metadata">

**Author:** ![Jurek\_Chlebowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurek_chlebowski/32/111461_2.png) [@Jurek\_Chlebowski](https://community.homey.app/u/Jurek_Chlebowski)\
**Post date:** [September 23, 2024, 5:18am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/51 "2024-09-23T05:18:06Z")

</div>

Hi Peter,

Thanks a lot for your suggestions. I will give MQTT Explorer a try.

Yes, Daikins are perfectly integrated with Homey and work flawlessly and yes, I have followed the instruction strictly…

I will work on this and Coe back if I have further questions.

Again, many thanks for your kind patience…

Have a great week

J.

Jurek Chlebowski

---

<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:** [September 25, 2024, 11:52am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/52 "2024-09-25T11:52:47Z")

</div>

What does not communicate back? Only the mode or also the target temperature?  
Temperature should be synced back to Homey via Mqtt.  
Modes are different between HA and Homey, especially if the Homey app uses custom modes. I had to create HA automations and virtual devices in HA to get the modes synced from Homey to HA and back (translated between HA modes and Homey capability values).

If nothing synces back, it seems the connection is lost (the Mqtt topic listener in Homey). Restart Homey MqttHub app (restart app or restart Hub in app settings). That should rebuild the Mqtt connection. This happens if Homey or HA is restarted. In most cases, the MqttHub needs a restart after HA was restarted. I use a the HA Mqtt status topic to start a Homey flow on HA online message. Then the flow restarts the MqttHub.  
I use a variable toi check the state because the topic trigger can be executed also if the topic is updated with the same value.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4cf6be245296f42f6cb9f3bd7408cc89016f2aaf.png)  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e72ff42ada20ef0e40f64a08adff069f358ba707.png)

---

<div class="post-metadata">

**Author:** ![Jurek\_Chlebowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurek_chlebowski/32/111461_2.png) [@Jurek\_Chlebowski](https://community.homey.app/u/Jurek_Chlebowski)\
**Post date:** [September 29, 2024, 8:06am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/53 "2024-09-29T08:06:09Z")

</div>

Thanks a million, I am sorry for late reply, had quite a busy week… no time for my toys 🙂

TBH I have solved the issue in a simple way - just added a hacs integration of Daikin devices in HA and disconnected both from MQTT - HA link…

This works perfectly now, I have DAIKINS integrated independently on both hubs… 🙂

But I will take the advice into my head as per restarting MQTT after HA restart. May be useful for other devices too…

Many many thanks!!!

J.

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 30, 2024, 1:22pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/54 "2024-09-30T13:22:47Z")

</div>

@robertklep, as the restart of HomeAssistant works, how do I ask from homey a restart for a specific integration (In this case the zigbee home automation integration)?

Service is still restart  
Domain?  
and how to use the Data field?

Sorry for the basic questions, anywhere I can read up on this?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 30, 2024, 1:53pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/55 "2024-09-30T13:53:20Z")

</div>

I have no idea if this is possible, you’d have to ask on the Home Assistant forum (but I don’t think it’s possible, there are no “restart” actions [mentioned here](https://www.home-assistant.io/integrations/zha/#actions)). But why would you want this anyway?

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 30, 2024, 2:10pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/56 "2024-09-30T14:10:17Z")

</div>

I continuously have a Tuya unit, which currently is in HA that cannot communicate with Homey. If I reset both the service and HA, the communication comes back. That is not to say I think it is due to HA (as I really don’t know where the challenge is) but it works.

By the way I also have a service checking my solar panels and it also gets stuck once every so often (every other day), and also there a restart of both works (also here not sure if it is HA or the APsystems unit I have, as I also restart the smart plug connected to it). after that it works again some time…

So maybe the correct question, any idea what to do here to trouble shoot what is wrong?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 30, 2024, 2:11pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/57 "2024-09-30T14:11:57Z")

</div>

With Home Assistant you actually have log files 😉

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [September 30, 2024, 2:12pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/58 "2024-09-30T14:12:47Z")

</div>

just turned on the debug logging. lets see what comes out

---

<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:** [September 30, 2024, 2:41pm UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/59 "2024-09-30T14:41:09Z")

</div>

It can reload integrations.  
On my systems, sometimes Tuya, Growatt & Matter need an automatic reload to fix “unavailable” devices issues.

What I do, is create an action in f.i. an automation,  
and then I enable YAML mode:

> ![1000035313](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/33a1cd0bd07901c69db7c8cbdde5fb2e0b9e1488.jpeg)

This reads

```auto
data: {}
target:
  entity_id:
    - light.lamp_hal
    - switch.lamp_toilet_switch_1
action: homeassistant.reload_config_entry

```

Now it should work with the flowcard like this, and reload the integration for this particular light

> ![1000035317](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2ea0e7174d33bda72d2246eeb9bb70ca12bbed70.jpeg)

---

<div class="post-metadata">

**Author:** ![Frickadillus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frickadillus/32/69500_2.png) [@Frickadillus](https://community.homey.app/u/Frickadillus)\
**Post date:** [October 18, 2024, 10:38am UTC](https://community.homey.app/t/tutorial-pro-how-to-integrate-home-assistant-with-homey-pro-and-v-v/92641/60 "2024-10-18T10:38:09Z")

</div>

Hello all,

Can two Homeys share its devices with one HA instance? How to avoid devices with same name conflicting?

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

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