my C7 hub keeps going offline within the hour it turned on. I can't recall when it started happening, but I know I didn't change any HE settings, only updated firmware (not sure if it was before or after). I recently changed my ISP plan and got Huawei HG8145V5 which the hub is directly connected to. I was thinking, maybe it is something with the router and it's IP assigning, but don't know. The hub has DHCP Static IP set on the router.
To turn the hub on, I have to unplug and replug it from the power. When the hub is offline, it is inaccessible from the pc browser on the same LAN, it's IP doesn't appear when network scanning, in router gui it says device offline, hub's green led is still on.
I have read a couple of older posts, didn't help.
Maybe it is something with the new ISP network device, i didn't have this problem before, but if it is, I don't know how to solve it.
Things I've tried:
changing the ethernet cable
reboot + rebuild database + load backup
can't reach port 8081 when offline
nothing in the logs
turning DHCP Static IP off
Switching to static IP thru Hubitat (no cloud connection)
holding the button on the hub does nothing while offline
Ethernet speed is set to 100 fixed
safe mode
soft reset (default settings, no apps, no devices, no rules)
What I haven't tried:
add a switch and connect to it (don't have a spare switch)
Since you have a green light you may want to set up a rule to be notified of an IP Address change too. Shouldn’t normally happen if you’re using a DHCP reservation or a Static IP but….
If you are using a Static IP is it out of the DHCP range? If not you may be getting an address conflict from another device.
The last big change is often the best suspect...have you confirmed that the router IP reservation for the hub is outside your DHCP range?
There is a new platform version, 2.3.8.117 - you should update to that version so you're on the latest.
After you update your hub, there is a network reset button on the bottom of the hub...under the one round hole. Press that button for 7-10s and the hubs network settings will be reset to default and the hub will reboot.
As noted it's an option on routers, access points (APs), or switches - if you aren't familiar with MTU settings and haven't changed settings on your networking gear it's probably not an issue for you. If you have or can download the user manual for your router you can search in it for MTU settings - if MTU is greater than 1500 on it or other networking devices then that can cause disconnect problems the HE hub.
@thebearmay has a cool driver that allows you to monitor your hub info, including IP address. Once you install and setup his driver (create a virtual device using his driver) you can then create automations based on the states it tracks...i.e., a rule that says if ip address changes, send notification to me/turn a light red, etc.
OK, after power reset, soft reset and network reset, I installed HPM and Hub Information Driver and just when I wanted to apply the new rule, it went down (lasted 38 min).
Frustrating.
Power reset again, created a rule once again and applied. Now waiting.
How can I set up a rule to reboot the hub when it's IP changes? I went through the provided actions but can't find how to reboot or restart the hub.
Update:
The hub went down and I didn't receive the notification for the IP change.
I would not set that up to run reboot/rebuild every time...I'd have the normal reboot in the rule, and use the reboot w/rebuild option when you do a reboot manually.