หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ IoT Device Access/ FAQs/ Products Models

Products Models

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

This section describes the problems that may occur when you use product models and the solutions.

How Can I Develop a Product Model?

The IoT platform supports online and offline development of product models. For details, see Developing a Product Model Online and Developing a Product Model Offline.

How Do I Select a Data Type When Developing a Product Model Online?

The rules for configuring the data type are as follows:

  • int: If the reported data is an integer or Boolean value, set the data type to int. The plug-in can be of the int or array type.
  • decimal: If the reported data is a decimal, set the data type to decimal. The plug-in can be of the string, int, or array type.
  • string: If the reported data is a string, enumerated value, or Boolean value, set the data type to string. If enumerated or Boolean values are reported, use commas (,) to separate the values. The plug-in can be of the string or array type.
  • dateTime: If the reported data is a date, set the data type to dateTime. The plug-in can be of the string or array type.
  • jsonObject: If the reported data is in JSON structure, set the data type to jsonObject. The plug-in can be of the string or array type.

Should the Values of serviceId and serviceType in a Product Model Be the Same?

Not necessary. For offline codec development, the values of serviceId and serviceType can be different. One serviceType can correspond to multiple serviceId values. For online codec development, to simplify the development process and make it easy for users to understand, serviceType is set to the same value as serviceId. The value should be consistent with the service type on the platform.

Why Does a Child Device Added Through the Gateway Not Belong to Any Product?

When a child device is added by calling an AgentLite API, the device information carried in the request must be consistent with the product model defined on the IoT platform for the child device. Otherwise, the child device cannot match with the product. Delete the child device that does not belong to any product and add it again. Ensure that the device information is correct.

How Can I Upload a Product Model with a Codec on the IoTDA Console?

IoTDA does not support the upload of product models with codecs.

If you want to use product models with codecs, develop or import product models and codecs on the IoTDA console.

Why Is the Upload Button Unavailable When I Want to Upload a Product Model to the IoTDA Console?

Description:

On the product details page, you upload a product model file, but cannot click OK.

Figure 1 Uploading a model file

Possible Causes:

  1. The file name does not meet requirements.
  2. The uploaded file is not in ZIP format.

Solutions:

  1. Check whether the name of the product model is in the format of deviceType_manufacturerId_model.zip and whether the values of deviceType, manufacturerId, and model are the same as those defined in the devicetype-capability.json file.
  2. Check whether the product model is compressed to a ZIP file. If it is compressed as something else, decompress the file, compress it as a ZIP file, and upload it.

What Should I Do If the File Format Was Incorrect When I Was Uploading a Product Model to the IoTDA Console?

Description:

On the product details page, you upload a product model file, and a message is displayed, indicating that the file format is incorrect.

Possible Causes:

  1. The JSON file format is incorrect.
  2. The value of commands/properties in the servicetype-capability.json file is not in array format.
  3. The package contains unrelated files.

Solutions:

  1. Check the format of each JSON file by using a format verification tool.
  2. Check whether the values of commands and properties in the servicetype-capability.json file are in the array format (the value should be enclosed in brackets).
  3. Check whether the compressed package contains unrelated files or hidden files. If yes, delete them and upload the package again.

Why Was a Message Displayed Indicating the Manufacturer ID and Device Model Exist When I Was Uploading a Product Model to the IoTDA Console?

Description:

On the product details page, you upload a product model file, and a message is displayed, indicating that the manufacturer ID and device model exist.

Possible Causes:

The product model and plug-in of the same device model and manufacturer ID already exist on the IoT platform.

Solutions:

  1. Delete the plug-in and product model of another product or account (delete the plug-in first), and then import the product model.
  2. Modify the device model and manufacturer ID, and then import the product model.

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback