About this Guide

This guide is designed for integrating SG50 and UG63 gateways with third-party platforms through MQTT and HTTP protocols. It describes the communication formats, data structures, API interfaces, and message flows for uplink data forwarding, downlink commands, gateway information reporting, and device management.

Readers

This guide is intended for system integrators, IoT solution providers, software developers, and network administrators responsible for integrating, configuring, or managing data communication between SG50/UG63 gateways and third-party platforms.

Copyright Statement

This guide may not be reproduced in any form or by any means to create any derivative such as translation, transformation, or adaptation without the prior written permission of Xiamen Milesight IoT Co., Ltd (Hereinafter referred to as Milesight).

reserves the right to change this guide and the specifications without prior notice. The latest specifications and user documentation for all Milesight products are available on our official website http://www.milesight.com

Revision History

Release Date Applicable Firmware Version Description
Apr. 12, 2025 64.0.0.3/50.0.0.4 Initial version
May 19, 2025 64.0.0.3-r1/50.0.0.4-r1 Add gateway info
July 16, 2025 64.0.0.3-r2/50.0.0.4-r2 Add wildcards to MQTT topics
Aug. 21, 2026 64.0.0.5/50.0.0.6
  1. Add gateway event type data (SG50).
  2. Add battery information to gateway info data (SG50).
  3. Add advanced parameters for devices.