tencent cloud

문서IoT Hub

Scenario Overview

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-12-27 09:54:58

Operation Scenario

If you need to set a device target temperature and report device status information in a smart home scenario (this is not a real product but only used to demonstrate IoT Hub's capabilities), you can follow the steps in this document.


Setting Device Target Temperature


The management backend uses the cloud APIs provided by IoT Hub to update device shadow's configuration and registration parameters, and associate the corresponding callback function to update the configuration locally. For the implementation of relevant TencentCloud APIs for device shadow, please download iotcloud_RestAPI_python.zip. You need to configure your profile according to the RESTful API description. You can customize the features by modifying the parameters in airConditionerCtrl.py in the RestAPI folder.

Reporting Device Status Information


The device reports its own status data to the device shadow, and the home appliance management backend directly gets data from the device shadow through the RESTful API.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백