Hub does not need Internet for some rules to work. SmartLighting with motion can work offline.
I talked about this in another thread:
if wifi is up then other PCs can talk to the router. You may be able to may be able to use a script like the one discussed here, running on a rasperrypi or another always on PC: