# Losing connection to homeassistant?

**URL:** <https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794>\
**Category:** General\
**Tags:** docker, home-assistant\
**Created:** [25 August 2023 11:49 UTC](https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794 "2023-08-25T11:49:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bplatypus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bplatypus/32/16434_2.png) [@bplatypus](https://discourse.nodered.org/u/bplatypus)\
**Post date:** [25 August 2023 11:49 UTC](https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794/1 "2023-08-25T11:49:58Z")

</div>

Hi!  
I recently updated to the latest version 3.0.2 and from then (but not sure because I moved and didn't use node-red the last 3 months), I have connection(?) issues with HA (homeassistant).

I'm running node-red (and HA) in docker, with separate docker-compose (but this was already the case before without any issues).

I tried to check the node-red logs but nothing special...  
24 Aug 18:44:47 - [info] Starting flows  
24 Aug 18:44:47 - [info] Started flows  
24 Aug 18:44:47 - [info] [server:Home Assistant] Connecting to [https://IP](https://IP)  
24 Aug 18:44:47 - [info] [server:Home Assistant] Connected to [https://IP](https://IP)

This was yesterday, when I last clicked on 'Deploy' in node-red... and everything was working ok until later where it stopped working. No issue with HA, which is available and working fine for the last 10 days now...

To make it work again, I just have to click on 'Deploy' in node-red.

Any idea what the issue could be?  
Thanks

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [25 August 2023 14:18 UTC](https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794/2 "2023-08-25T14:18:59Z")

</div>

> [@bplatypus](#):
>
> it stopped working

> [@bplatypus](#):
>
> To make it work again, I just have to click on 'Deploy' in node-red

These 2 statements are somewhat conflicting.

It suggests Node-RED is actually still running (because you can click the deploy button) BUT _something_ was not working. Can you clarify "later where it stopped working."?

TBH: It sounds like an issue with the home assistant nodes (these are not written by the Node-RED team) - so it may be worth popping over to the HA forum to see if this is a known issue.

---

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [25 August 2023 16:47 UTC](https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794/3 "2023-08-25T16:47:05Z")

</div>

Just to give you some pointers on where to look

- What do the HA nodes in your NR streams say?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/63af75c07a7519b6a0056d46b57a7d149e9338b4.png)
- And on the other hand, what does the HA log say?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c36ca8b6aba31f13d07277f61b59cf9251cf3255.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/76963e101a73d66a8ec01074172a1bda43e6e0d7.png)

- Any notifications from HA?

- Any slowness noticed on your machine at certain times?

- Has there been a recent Linux update?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 October 2023 16:48 UTC](https://discourse.nodered.org/t/losing-connection-to-homeassistant/80794/4 "2023-10-24T16:48:00Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
