Set properties |
Set the properties of a physical device from the cloud. After the device receives
the command, the device sets its properties and reports the property values to IoT
Platform.
- Click Property Debugging.
- From the Debug Feature list, select the property to debug and set the method to Set.
The format for the property data is automatically displayed in the text box, for example,
{"Temperature":0} .
- Set a value for the property and click Send Command.
|
Get properties |
Obtain the property values of the device.
- Click Property Debugging.
- From the Debug Feature list, select the property to debug and set the method to Get.
- Click Send Command.
Note When you try to obtain the property of the device, you do not need to enter data in
the text box.
After you dispatch the command, the text box automatically shows the latest data of
the property. If the device does not have a value for the property, the data is empty.
|
Call services |
- Click Service Calls.
- From the Debug Feature list, select the service to debug.
- In the text box, enter the input parameters for the service, and click Send Command.
The input parameters must be in JSON format, for example, {"Switch":0} .
|