Hubitat C-7 hanging every 1-2 days

Hello,

Iā€™ve been using Hubitat for a couple weeks now, and one of my 2 devices (Iā€™m using mesh mode) hangs every day or two. Thereā€™s nothing special in the logs other than an occasional NullPointerException from the Wemo Connect app. Iā€™ve kept both devices up to date with matching versions. Any ideas? How do I troubleshoot this?

When you say it's hanging, is the light still green when this happens? And are automations continuing to run? In other words is the hub hanging or is it just falling off the network? What do you do to it to get it back up and running? And is it a C7 on the most current version of the platform? Assuming so if it's new.

If it appears to be just falling off the network, make sure you have the hub set for DHCP and a DHCP reservation on your router so the address won't change. It may also help to have auto-reconnect enabled.

If it's really hanging make sure you have jumbo frames disabled on your network. There's something about the network stack on the hub that really does not respond kindly to a jumbo frame. I would also at least temporarily disable any third-party or community-supported integrations. Not to knock our great developer community but occasionally one slips by.

There's a great little driver called Hub Info written by @thebearmay which, along with its companion app or on its own, can be used to keep track of hub KPIs. In particular low memory might cause your issue but it would surprise me if it happened once every couple days.

The next time it happens you could also try going to the hub diagnostics page at port 8081 and see if you can either get there,

7 Likes

Thanks for the tips! Iā€™ll try those. Yes, it hangs, accepting connections but not displaying the web page and not running automations.

Can you PM me the hub's UID? I can take a look at the engineering logs.

2 Likes

I have similar problem, can you help?

Are you running Jumbo frames?
Do you have any devices power reporting?
Do you have any zooz 4-in-1 sensors?
Can you post a screen shot of your z-wave details page?

(join the owners group here to get permission to post pics. Hub owners - Hubitat )

1 Like

And is it the hub hangs and all automations stop, or is it that you can't access it via the network?

1 Like

No jumbo frames, no zooz 4-in-1 sensors. I do have sense energy monitor if thatā€™s what you mean power reporting device. Currently only two zwave devices are paired with hub.

Thanks!

When I said hub hangs it means all automations stop, can't access hub via the network.

Can you ping it by any chance? Or get to the diagnostics page at port 8081?

1 Like

No, I need to unplug the power and plug it back. But after awhile it hangs again. I thought may be itā€™s because I enabled HomeKit, even I disable the homekit, hub still hangs after awhile.

Ok, so jumbo frames aren't enabled on your router... hmm.. (it sounds like sympom of that is all)

Ok, I want you to do two things. See that firmware update button on your z-wave details page? Click it. Wait till it's done. (It will take a few mins)

Then go to settings>>backup and restore, Click download at the bottom. Do this from a pc/mac web browser not your phone. This will save the database to your PC/mac. Then go to yourhubip:8081 and do a soft reset. Upon reboot restore the db you downloaded to your pc/mac. This will ensure a clean DB. Then shut down. Unplug your hub for a few minutes (at the wall not the hub) and power back up and see how it behaves.

I have eero pro 6, I never enabled jumbo frames. I checked the settings again, didnā€™t see any related to jumbo frames. Will try soft reset tonight when I get home.

Thanks!

1 Like

Also what do your logs have to say?

My hub has hung twice more. Hereā€™s some more info:

  • no jumbo frames
  • hub is accessible via diagnostics page, which I used to reboot
    -Hardware rev C-7
  • Firmware 2.3.4.148
  • automations no longer run when hung

It seems to be hanging parsing sensor results, first from an Aeotec motion sensor and then from an Aeotec multisensor. Here are logs from the latest:

dev:92023-02-11 05:41:00.493 AMwarnmethod parse of device Kids bath multisensor ran for 2,893,974ms

dev:92023-02-11 05:41:00.499 AMwarnmethod parse of device Kids bath multisensor ran for 2,894,501ms

dev:92023-02-11 05:41:00.391 AMwarnmethod parse of device Kids bath multisensor ran for 3,809,113ms

[ā€¦snipā€¦]

dev:162023-02-11 04:26:03.764 AMinfofreeMemory : 575928KB

dev:162023-02-11 04:26:03.741 AMinfodbSize : 3MB

dev:162023-02-11 04:26:03.693 AMinfocpuPct : 1.0%

dev:162023-02-11 04:26:03.688 AMinfocpu5Min : 0.04

Not that this should cause the system to hang completely but the eero pro (at least some of them) comes configured for a /22 subnet with a mask of 255.255.252. Is yours configured that way? If so, it may cause issues for the hub.

2 Likes

Soft reset seems to fix the problem for me so far.

1 Like

If that's the case you likely had some corruption in your database.

Me, too.

I got another hang. It seems to be mostly in parsing a particular (zigbee) motion sensor. Iā€™ve disabled it to see if that helps.

1 Like