MOCREO Smart System
MOCREO Smart SystemReferenceIntegrations

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

  1. Open browser and navigate to: http://<hub ip>/
  2. Select Hub Operation Mode
  3. Select Hybrid Mode

1.2 MQTT Configuration

Configuration ItemTypeDefaultDescription
Server AddressRequired-MQTT server address
PortRequired1883MQTT port number
UsernameOptional-MQTT username
PasswordOptional-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 ItemTypeDescription
Use Custom SourceToggleWhether to use custom NTP source
Server AddressOptionalCustom NTP server address [Multiple addresses separated by ;]

2. Static IP Settings

2.1 Access Configuration Page

  1. Open browser and navigate to: http://<hub ip>/
  2. Select Static IP Settings

2.2 Configuration Options

Configuration ItemTypeDescription
Enable Static IPToggleWhether to enable static IP configuration
IP AddressRequiredStatic IP address
Subnet MaskRequiredSubnet mask
RouterRequiredGateway address
DNS ServerRequiredDNS 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

On this page