Using Hubitat without internet?

Once a hub is setup with the latest updates can it then be moved to a location without any internet and function pretty much normally?

I'm asking because I bought the C-7 hub and I have the old hub which I would like to use in my travel trailer mostly for security purposes using contact sensors, motion sensors, cameras, and a siren.

It worked when my internet was out for a couple of days.

The Hub has no battery backed up Time-of-Day (aka Real Time Clock) and as a result time will drift without a NTP source. The default is for the Hub to visit the internet for time, The second is you can match the time from within your browser. The Third is to deploy an Virtual Device that updates the Hub from some LAN time source.

It would need to be from some always-On computer or equiv (NAS maybe) that can be an NTP source.

You copy/paste the driver into the Hub and then create a virtual driver that uses the Driver. Fill in the blanks on the Device Info page and... Bob's Your Uncle :smiley:

1 Like

Or don't use any time dependent rules.

Maintenance and DB Backup occur based on time too... I'm sure Murphy's Law dictates that within 2 weeks of going NTP'less, those events will occur at whatever the worst possible time is. :smiley:

1 Like

It's mostly for security anyways would probably be better if it did drift since people tend to break into vacant property between 2 and 4 am. And maintenance seems to happen around 2:15am.

Would it be a bad assumption that you also take a laptop when in your RV? With that you could connect the hub directly to it by using a hard-coded IP address and update the hub's time via the laptop browser. Without occasionally connecting your laptop to WiFi and getting its clock synced they could both be off by some nominal amount of time but who cares?

And how much can the hub's clock drift anyway? It would need setting on each power-up but I can't imagine it goes off the rails in a day or three.

I left out something very important. I won't have a router in my trailer so there will be no WiFi network. My laptop does have an ethernet connection for connecting to the hub. When camping outside of RV parks (boondocking) there is rarely WiFi. Even in RV parks WiFi is spotty.

Also I'll only be using it when I'm traveling and away from the trailer. Not when I'm present or the trailer is in storage.

If you have cell service your phone can be used in several ways to connect anything to the Internet.

You might enjoy a read of this Topic...


You can plug an RJ45 cable directly from laptop to hub. You just need to manually assign IP addresses to both, putting them on the same network. We use to need a cross over cable to do this, now every NIC can detect a direct connect and do the cross over for you. Connect, open browser, punch in hub IP address, open settings, click hub details, and update time from browser time.

1 Like

True. My truck is also capable of being a WiFi hotspot. However I want to know if I can do this totally without an internet connection or WiFi.

How long ago? My laptop is several years old.

[quote="[PROJECT] Smart RV (with photos) Lounge, post:1, topic:10542"]
Warning... This is a long post! As much as I like playing around with technology,

Thanks. Interesting thread which I'm still reading.

I think it doesn't matter as long as one end is new enough to do the auto-negotiation.

1 Like

15 years or more. You should be ok unless it's running Windows 98 or ME.

Maybe something like this?? An ntp time server using satellites.

I have NO idea how well these work.. maybe also try and find a WWVB to NTP device but I think those are rather more expensive.

Also maybe this for the Raspberry PI:

1 Like

You could probably do it with an Arduino, given the very light load.

I have not tried these.. just pointing out the idea isn't new.


Has anyone taken the time to see what a typical clock drift might be? I would guess the processor has some counter that might be off a bit (assuming no 32768 crystal) but I would think it is pretty stable.

I think the bigger issue will be the mobility of the hub. You'll need to keep updating the location to keep sunset/sunrise close to accurate. The clock will drift by seconds, the location may change by time zones.