Updated on 2024-10-31 GMT+08:00

IoT Device SDK (Python)

The IoT Device SDK (Python) provides abundant demo code for devices to communicate with the platform and implement device, gateway, and Over-The-Air (OTA) services. For details, see IoT Device SDK (Python) Development Guide.

Requirements

  • Python 3.11.4 has been installed.
  • The third-party class library paho-mqtt 2.0.0 has been installed (mandatory).
  • The third-party class library schedule 1.2.2 has been installed (mandatory).
  • The third-party class library apscheduler 3.10.4 has been installed (mandatory).
  • The third-party class library requests 2.32.2 has been installed (optional, used in the demo of gateway and child device management).
  • The third-party class library tornado 6.3.3 has been installed (optional, used in the demo of gateway and child device management).

For details about how to install the components, see IoT Device SDK (Python) Usage Guide.

Change History

Table 1 Change history

Version

Change

Description

1.2.0

New function

Added the functions of rule engine, device provisioning, customized reconnection upon disconnection, and component version upgrade.

1.1.4

New function

Supported gateway mode for OTA upgrade.

1.1.3

Function enhancement

Updated the CA certificate for the server.

1.1.2

New function

Supported micropython and the corresponding demo, OTA downloading from OBS, and description documents.

1.1.1

New function

Provided capabilities for connections to the Huawei Cloud IoT platform to facilitate service scenarios such as secure access, device management, data collection, and command delivery.