# HUB randomly disconnect

**URL:** <https://community.smartthings.com/t/hub-randomly-disconnect/249811>\
**Category:** General Discussion\
**Tags:** edge-device\
**Created:** [October 13, 2022, 6:43am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811 "2022-10-13T06:43:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 6:43am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/1 "2022-10-13T06:43:31Z")

</div>

Hi  
In past two weeks or so my hub makes randomly disconnects and then it tries to connect again, sometimes it comes online again, but sometimes it won’t, so i have to unplug the hub and replug it and it comes back online (rebooting HUB from IDE is not accessible during this)  
Conditions:  
HUB firmware 44.00009  
For the last month i changed most of my connected devices to beta edge drivers.  
Earlier this month i changed zigbee channel from 23 to 20 because of some pairing problems with IKEA 10W LED driver would’t pick up the edge driver.  
HUB has been working flawlessly for past three years.

Others with this issue and managed to solved it?

Here disconnect from last night

 ![Unavngivet](https://global.discourse-cdn.com/smartthings/original/3X/9/4/9421a45b2b622ae483abca5889a5314aa2ede08c.jpeg)

---

<div class="post-metadata">

**Author:** ![ShoreRam](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@ShoreRam](https://community.smartthings.com/u/ShoreRam)\
**Post date:** [October 13, 2022, 8:05am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/2 "2022-10-13T08:05:29Z")

</div>

I can’t offer a solution but I’m seeing similar issue, it disconnects maybe once or twice a day, started about a week ago, mine does reconnect though.

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [October 13, 2022, 11:27am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/3 "2022-10-13T11:27:33Z")

</div>

I’ve seen two different causes for this:

- There’s a problem with the hub’s internet connection
- The hub is out of memory and is crashing

What model hub (v2, v3, Aeotec) do you have? How many Edge drivers are you running (not just installed, but actually in use by devices)?

Removing power to the hub for a few seconds will likely get it back up and running, though you might see this happen again.

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 11:32am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/4 "2022-10-13T11:32:04Z")

</div>

New incident on my HUB  
As of writing this my HUB has just been trough 13 disconnections in 35 minutes and then came online for 7 minutes and now disconnect loop again 🤬  
What is hapening?  
Is something on my mesh network is because of Samsung experiments on something before the great transistion. All their systems seems to work

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [October 13, 2022, 12:00pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/5 "2022-10-13T12:00:27Z")

</div>

I’m guessing v3 hub since you said you’ve had it 3 years. How many running drivers?

> [@rubberduck72](#):
>
> As of writing this my HUB has just been trough 13 disconnections in 35 minutes and then came online for 7 minutes and now disconnect loop again 🤬

My experience with this from having logcat up while it happens, documented in part in the topic below, is that the hub is running out of memory and processing is slowing to a crawl. Eventually driver events begin to process very rapidly but then slow down again.

> [@Hub goes active and inactive](https://community.smartthings.com/t/hub-goes-active-and-inactive/243604):
>
> This morning my hub started to bounce between active and inactive states. Android app is not responsive. I can’t control any of the devices or scenes, although I can see the states of the devices. Very strange behavior for the last 30 mins. IDE Event List shows constant change between states and weird register event every 5 minutes. I rebooted hub once but no effect. Edit: This loop lasted about an hour. Now everything seems to work. Anyone else having problems?

---

<div class="post-metadata">

**Author:** ![Sakari](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@Sakari](https://community.smartthings.com/u/Sakari)\
**Post date:** [October 13, 2022, 12:15pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/6 "2022-10-13T12:15:00Z")

</div>

This makes sense. I just had problems with low memory and now that you mentioned this I can see these two things having connection. My hub could easily be “full”. 🤔

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 12:22pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/7 "2022-10-13T12:22:13Z")

</div>

Hi @philh30

> [@philh30](#):
>
> There’s a problem with the hub’s internet connection

The hub is hard wired to a Netgear ORBI satellite that hard wired to the Netgear ORBI router

> [@philh30](#):
>
> The hub is out of memory and is crashing

Is there a cure for this?

It’s a v3 samsung hub  
21 Edge drivers installed from 13 different channels.  
I have a total of 188 devices (that includes virtual switches)  
14 custom DTH left that can’t survive the transistion.

> [@philh30](#):
>
> Removing power to the hub for a few seconds will likely get it back up and running, though you might see this happen again.

exactly

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 12:33pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/8 "2022-10-13T12:33:08Z")

</div>

> [@philh30](#):
>
> My experience with this from having logcat up while it happens, documented in part in the topic below, is that the hub is running out of memory and processing is slowing to a crawl. Eventually driver events begin to process very rapidly but then slow down again.

Yeah this makes sense, is it maybe too many edge drivers installed or will the transistion begining saturday maybe free up some memory in the hub because of the DTH and Smartapps not supported ?

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [October 13, 2022, 1:01pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/9 "2022-10-13T13:01:04Z")

</div>

I have around 125 devices on a v3 hub. I’m not sure how much load each device adds versus extra drivers, or whether the efficiency of the driver matters much.

On FW 44.x, my hub was completely unstable with 29 running drivers, going into that failure state 2+ times per day. I reduced to between 19 and 23 and it was stable.

I’m on the firmware beta, and FW 45.x adds an attempt to proactively free up memory by restarting drivers when memory in use exceeds some threshold. This is only visible in logcat, but could lead to timer resets or missed events. With 17+ drivers I saw this happening routinely. I currently have 16 running and seem to be stable, but will likely reduce further for breathing room.

So there are definitely limits to what the v3 can handle. I haven’t seen any official public guidance from ST though so it’s all guesswork to figure out when you’ve crossed the line. The v2 hub has twice the memory, and from what I’ve seen others post may actually be able to handle 50 running drivers.

> [@rubberduck72](#):
>
> Is there a cure for this?

Remove some drivers, consolidating where you can to have a single driver run more devices. Buy another hub and distribute load between them (I’m not crazy about this idea - both the v2 and v3 are getting to be old models).

---

<div class="post-metadata">

**Author:** ![BlackRose67](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/blackrose67/32/154747_2.png) [@BlackRose67](https://community.smartthings.com/u/BlackRose67)\
**Post date:** [October 13, 2022, 1:01pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/10 "2022-10-13T13:01:32Z")

</div>

As part of the latest beta, SmartThings employees found a configuration issue related to V3/Aeotec hub memory that has been adressed in the beta.

That will be rolled out to everyone once the beta is completed.

---

<div class="post-metadata">

**Author:** ![Sakari](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@Sakari](https://community.smartthings.com/u/Sakari)\
**Post date:** [October 13, 2022, 1:50pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/11 "2022-10-13T13:50:51Z")

</div>

Thanks for the info. Because of these limitations, 200 devices, 50 drivers etc, I’ve been thinking about using Home Assistant to relief some of the burden.

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [October 13, 2022, 2:16pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/12 "2022-10-13T14:16:41Z")

</div>

Same. 15 drivers on the v3 isn’t enough. It’ll be even worse for non-developers considering that manufacturers like Aeotec are releasing individual drivers for each of their devices. If there were a v4 hub on the horizon that was designed to support local execution then I would go that route.

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 5:57pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/13 "2022-10-13T17:57:38Z")

</div>

Thankyou @philh30 for your constructive response.  
I will first experiment with reducesing installed drivers as you state.

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 13, 2022, 6:43pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/14 "2022-10-13T18:43:02Z")

</div>

Looking forward to that firmware (0.45.9) starting rolling out monday apparently

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 14, 2022, 6:54am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/15 "2022-10-14T06:54:22Z")

</div>

Update !!  
Uninstalled about 10 edge drivers yesterday, no hub disconnects so far for the first time in 14 days. 🤞  
So for my case, thats the solution

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 21, 2022, 8:26am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/16 "2022-10-21T08:26:02Z")

</div>

Here we go again  
Just as my HUB updated to 45.00009 yesterday  
Disconnects started again 😒  
My past solution of uninstalling unused egde drivers and consolidate drivers was a solid solution, because i have not changed anything else since last incident than HUB is updated.  
Disconnects seems to be random as before, but with longer interval, but shorter period

 ![disconnect](https://global.discourse-cdn.com/smartthings/original/3X/6/7/6721194098534fb9779c54bde7217c8e784f929e.jpeg)

> [@BlackRose67](#):
>
> As part of the latest beta, SmartThings employees found a configuration issue related to V3/Aeotec hub memory that has been adressed in the beta.
> 
> That will be rolled out to everyone once the beta is completed.

This seems not to have a good effect on my issue.

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [October 21, 2022, 11:56am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/17 "2022-10-21T11:56:52Z")

</div>

Was it just a few disconnects around the time of the firmware update, or are they ongoing? If you haven’t already, I would power cycle the hub so it’s starting fresh. You should also post about your experience in the [firmware update topic](https://community.smartthings.com/t/aeotec-smart-home-hub-2018-2015-model-hub-firmware-release-notes-0-45-9/249911) since ST staff are more likely to be monitoring that.

The 45.x firmware institutes a new (lower) cap on memory usage by edge drivers, and restarts one driver per minute when you exceed that cap. It probably helps if a driver has a memory leak or randomly spikes in memory usage, but I’m not convinced it helps in cases like yours where the baseline is at that cap. Meanwhile, the cap is lower, so you’re likely to start having problems with fewer drivers/devices than what was stable on fw 44.x.

With the new firmware, you should now see a memory warning or hard stop message if you try to add a z-wave or zigbee device by brand. To my knowledge, it’s the only way to check how close you are to the cap. Below is the warning. My hub is generally running ok at this level, though I occasionally see drivers restart. If you get the hard stop message saying that your hub is full then you’re probably still in the danger zone and need to lighten the load on the hub. I think 10-15 running drivers is a safe level with firmware 45.x, but the number and mix of devices probably makes a difference.

 ![Screenshot_20221021-074819](https://global.discourse-cdn.com/smartthings/original/3X/9/d/9da669036b186129f1dc6394d507b51b6ff4a072.png)

---

<div class="post-metadata">

**Author:** ![OferDV](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/oferdv/32/126482_2.png) [@OferDV](https://community.smartthings.com/u/OferDV)\
**Post date:** [October 22, 2022, 4:30am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/18 "2022-10-22T04:30:55Z")

</div>

Same problem. I reset the hub (v3), and add about 100 devices and it disconected for ever…

---

<div class="post-metadata">

**Author:** ![rubberduck72](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rubberduck72](https://community.smartthings.com/u/rubberduck72)\
**Post date:** [October 22, 2022, 11:39am UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/19 "2022-10-22T11:39:59Z")

</div>

> [@philh30](#):
>
> Was it just a few disconnects around the time of the firmware update, or are they ongoing? If you haven’t already, I would power cycle the hub so it’s starting fresh. You should also post about your experience in the [firmware update topic](https://community.smartthings.com/t/aeotec-smart-home-hub-2018-2015-model-hub-firmware-release-notes-0-45-9/249911) since ST staff are more likely to be monitoring that.

Hi @philh30  
It is ongoing, but not as often as before firmware update. After a power cycle HUB is stable for a while. As of writing this The HUB has just disconnected for tree minutes since last incident for 14 hours ago.

> [@philh30](#):
>
> 45.x firmware institutes a new (lower) cap on memory usage by edge drivers, and restarts one driver per minute when you exceed that cap. It probably helps if a driver has a memory leak or randomly spikes in memory usage, but I’m not convinced it helps in cases like yours where the baseline is at that cap. Meanwhile, the cap is lower, so you’re likely to start having problems with fewer drivers/devices than what was stable on fw 44.x

Maybe when all leftover old smartapps and DTH’s stops working in the near future, that will free up some memory. I have still about 12 smartapps and a few DTH’s. Maybe I should just quit those smartapps anyway

I think if the cab is lower I will test by trying to remove some devices with corresponding egde drivers to see if it gives more stabillity  
And I haven’t seen that memory warning yet

---

<div class="post-metadata">

**Author:** ![jpvaughn](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jpvaughn/32/12735_2.png) [@jpvaughn](https://community.smartthings.com/u/jpvaughn)\
**Post date:** [October 27, 2022, 8:25pm UTC](https://community.smartthings.com/t/hub-randomly-disconnect/249811/20 "2022-10-27T20:25:17Z")

</div>

Hub has been in a disconnected state since the upgrade. ☹ power down and then back on again maybe reconnects everything for a couple minutes, but then right back to where it was. Any ideas? Firmware v 000.045.00009

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/1/9/19f14335660df832dc28e82b58eec7a3c035204f.jpeg)

[Next page](https://community.smartthings.com/t/hub-randomly-disconnect/249811.md?page=2)
