MQTT and Network Configuration
Configure MQTT, NTP, and static IP settings, and understand Hybrid Mode buffering and broker-reconnect behavior.
Web Portal Configuration Guide
Applies to: H3, H5 Lite, H5 Pro, H6 Lite, and H6 Pro.
1. Hybrid Mode Settings
1.1 Access Configuration Page
- Open browser and navigate to:
http://<hub ip>/ - Select Hub Operation Mode
- Select Hybrid Mode
1.2 MQTT Configuration
| Configuration Item | Type | Default | Description |
|---|---|---|---|
| Server Address | Required | - | MQTT server address |
| Port | Required | 1883 | MQTT port number |
| Username | Optional | - | MQTT username |
| Password | Optional | - | MQTT password |
Note: If your MQTT broker or platform requires a Client ID, use the Hub SN.
The Hub uses its SN as the MQTT Client ID automatically, so there is no separate Client ID field on the Hub configuration page.
1.3 Backfill After Broker Reconnect
This behavior applies to all MOCREO Smart Hubs. In Hybrid Mode, the Hub has two paths:
- A direct MQTT connection from the Hub to your broker
- A connection from the Hub to the MOCREO cloud
Backfill behavior:
- If only the MQTT connection drops while the Hub-to-cloud connection stays up, that data is not buffered for MQTT and is not backfilled when MQTT reconnects.
- If both paths go down at the same time, the Hub buffers data locally and backfills it once either path comes back.
In short, as long as one path stays up, nothing is queued for MQTT. Only a full outage of both paths triggers local buffering.
1.4 NTP Configuration
| Configuration Item | Type | Description |
|---|---|---|
| Use Custom Source | Toggle | Whether to use custom NTP source |
| Server Address | Optional | Custom NTP server address [Multiple addresses separated by ;] |
2. Static IP Settings
2.1 Access Configuration Page
- Open browser and navigate to:
http://<hub ip>/ - Select Static IP Settings
2.2 Configuration Options
| Configuration Item | Type | Description |
|---|---|---|
| Enable Static IP | Toggle | Whether to enable static IP configuration |
| IP Address | Required | Static IP address |
| Subnet Mask | Required | Subnet mask |
| Router | Required | Gateway address |
| DNS Server | Required | DNS server address |
Important Notes
- Static IP configuration requires ensuring the IP address is unique within the local network
- MQTT configuration requires ensuring the server address and port are correct
- If your MQTT broker requires a Client ID, use the Hub SN