Offline Cache
Contact SupportWhen an H3, H5, or H6 Hub stays powered but loses the Internet, it caches up to 200 readings per Sensor and uploads them after it reconnects. NS1/NS2/NS3 cache readings while offline, and MS3 and SD1 store readings on the Sensor.
Hub cache
Applies to: H3, H5 Lite, H5 Pro, H6 Lite, and H6 Pro.
When the Hub loses the Internet
If the Hub stays powered but cannot reach the MOCREO cloud, for example during a Wi-Fi or Internet outage, it keeps receiving data from its Sensors and caches it locally.
- Capacity: The Hub keeps the most recent 200 readings for each Sensor. When a Sensor's cache is full, the oldest reading is overwritten.
- How long that covers: It depends on how often each Sensor reports. See Sensor Monitoring Data Update Rules.
- After the Internet returns: The Hub uploads the cached readings with their original timestamps. Upload for a Sensor starts when the Hub receives that Sensor's next new reading, so cached data may not appear right after the Hub comes back online.
When the Hub loses power
The cache is lost if the Hub loses power during the outage. Readings taken while the Hub is powered off are not received and cannot be recovered.
To keep data during a power outage, power the Hub from a UPS or a USB power bank. The Hub then keeps caching while the Internet is down.
Hybrid Mode
In Hybrid Mode the Hub caches only when both the MQTT connection and the MOCREO cloud connection are down. See MQTT and Network Configuration.
NS1 / NS2 / NS3 offline cache
NS1, NS2, and NS3 connect to the MOCREO cloud over Wi-Fi directly, without a Hub. If the device stays powered but cannot reach the cloud, it saves readings that fail to upload and uploads them with their original timestamps after it reconnects.
- Capacity: Up to 100 pending readings. When the cache is full, the oldest reading is dropped.
- Power loss: Readings already cached are kept through a power loss or restart and are uploaded after the device reconnects. The device does not take readings while it is powered off, so that period stays empty in the history and is not filled in later.
- Power returns while the network is still down: After a restart, the device needs the Internet to set its clock. Until it reconnects, new readings are not cached and cannot be recovered.
- Unbinding: Removing the device from your account clears its cache.
Sensor storage
Most Smart Sensors do not store readings themselves. If they cannot reach the Hub, for example while the Hub is powered off, readings taken during that time are lost. The models below are the exceptions.
| Model | Storage on the device | When it is full | After reconnecting |
|---|---|---|---|
| MS3 | Up to 4,080 readings, about 7–14 days | The oldest readings are erased | The Hub retrieves the stored readings and uploads them |
| SD1 | Up to 2,040 readings, about 4.7–7 days | The oldest readings are erased | The Hub retrieves the stored readings and uploads them |
- MS3 and SD1: Stored readings are erased when the Sensor powers up, for example after a battery replacement, and when its recording interval is changed.
- ST8: In the Smart System, the ST8 does not provide data caching. Readings taken while it cannot reach the Hub are not uploaded later.
Sensor Monitoring Data Update Rules
Rules that determine when supported MOCREO Smart System Sensors report monitoring data.
How to factory reset my Hub
Factory reset erases Hub settings. If you only need to reconnect the Hub to a new Wi-Fi network, enter Setup mode instead. See Wi-Fi/Router Changed - How to Reconnect.