# Number of concurrent open connectioins to Home /assistant

**URL:** <https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570>\
**Category:** General\
**Created:** [22 October 2021 11:51 UTC](https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570 "2021-10-22T11:51:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![usherwdp](https://avatars.discourse-cdn.com/v4/letter/u/ba8739/32.png) [@usherwdp](https://discourse.nodered.org/u/usherwdp)\
**Post date:** [22 October 2021 11:51 UTC](https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570/1 "2021-10-22T11:51:59Z")

</div>

HI,

Bit of a newbie question.

I can see on the node-red-log that there are a number of concurrent connections to Home Assistant

I'm guessing that each 'state node' opens up a connection and i've got a truck load of those.

Is there a better way of getting state, running HA stuff, etc without this one to one relationship?

Thank you

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [22 October 2021 12:07 UTC](https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570/2 "2021-10-22T12:07:58Z")

</div>

Yes, probably, Not alot of people here use HA, might be better to ask this on the HA forum. But you may be able to use one state node and have it receive all state changes, then in node-red filter/route the different device state changes.

---

<div class="post-metadata">

**Author:** ![usherwdp](https://avatars.discourse-cdn.com/v4/letter/u/ba8739/32.png) [@usherwdp](https://discourse.nodered.org/u/usherwdp)\
**Post date:** [22 October 2021 12:37 UTC](https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570/3 "2021-10-22T12:37:12Z")

</div>

Thats a great idea E1cid, thank you!

---

<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:** [21 December 2021 12:37 UTC](https://discourse.nodered.org/t/number-of-concurrent-open-connectioins-to-home-assistant/52570/4 "2021-12-21T12:37:22Z")

</div>

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