# Mẫu thiết bị

## Tổng quan

Mẫu thiết bị (templates) là một tập hợp các thuộc tính và hành vi mô tả một loại thiết bị cụ thể. Mẫu thiết bị cho phép người dùng dễ dàng tạo và quản lý các loại thiết bị khác nhau một cách hiệu quả và có tổ chức. Điều này giúp tăng tính linh hoạt và dễ dàng mở rộng hệ thống IoT của bạn trên Innoway.

## Tạo mẫu thiết bị

Từ tab Đám mây-> Mẫu thiết bị -> click "+" để tạo mới mẫu thiết bị.

<figure><img src="/files/cSzdbbmCV4nNm0eXtb2x" alt=""><figcaption><p>Giao diện quản lý mẫu thiết bị</p></figcaption></figure>

<figure><img src="/files/vm9fnY577kw2OWneHPXp" alt=""><figcaption><p>Tạo mới mẫu thiết bị</p></figcaption></figure>

Trong giao diện tạo mới mẫu thiết bị bao gồm các trường thông tin bao gồm :&#x20;

* Tên mẫu thiết bị  : là tên mà người dùng muốn đặt cho mẫu thiết bị mới, tên của mẫu thiết bị  mới **không** thể trùng với tên của các mẫu thiết bị đã có trước đó&#x20;
* Thông tin thuộc tính : Các thông tin cơ bản của một thuộc tính&#x20;
  * Tên thuộc tính : là tên mà người dùng muốn đặt cho thuộc tính mới
  * Loại giá trị : định nghĩa kiểu giá trị của thuộc tính mới
  * Giá trị mặc định : là giá trị ban đầu ngay sau khi tạo mới của thuộc tính, giá trị này phải có kiểu tương ứng với loại giá trị đã chọn bên trên&#x20;

Click ✓ để tạo mới bảng điều khiển.

<figure><img src="/files/NIfTgEYV5LrrzcD9lPKy" alt=""><figcaption><p>Thêm thuộc tính cho mẫu thiết bị</p></figcaption></figure>

Trong giao diện tạo mới mẫu thiết bị, click "+" để tạo thêm các thuộc tính mới cho mẫu thiết bị.

Click ✓ để tạo mới mẫu thiết bị.

<figure><img src="/files/40Fh3qAyyfATQy75ZFTY" alt=""><figcaption><p>Tạo mẫu thiết bị thành công</p></figcaption></figure>

## Sửa mẫu thiết bị

Chọn mẫu thiết bị muốn sửa -> Chọn "Sửa mẫu TB".

Click ✓ để lưu lại các thay đổi.

<div><figure><img src="/files/Mx23glMX48f0QKIxZYt1" alt=""><figcaption><p>Giao diện quản lý mẫu thiết bị</p></figcaption></figure> <figure><img src="/files/3pNnhoZRQkG5k8haDRf4" alt=""><figcaption><p>Sửa mẫu thiết bị</p></figcaption></figure> <figure><img src="/files/8zAzJ2jTRuhC4eF2ycaz" alt=""><figcaption><p>Sửa mẫu thiết bị</p></figcaption></figure></div>

## Xóa mẫu thiết bị

Chọn mẫu thiết bị muốn xóa -> Chọn "Xóa mẫu TB".

Click ✓ để xác nhận xóa mẫu thiết bị.

<div><figure><img src="/files/vEzeLNk0Q9V4N4fmWiLX" alt=""><figcaption><p>Giao diện quản lý mẫu thiết bị</p></figcaption></figure> <figure><img src="/files/togbAtjsIXMVqBMfopWX" alt=""><figcaption><p>Xóa mẫu thiết bị</p></figcaption></figure> <figure><img src="/files/bDbEdoGBXoxC4uELi92Y" alt=""><figcaption><p>Xác nhận xóa mẫu thiết bị</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://innoway.gitbook.io/innoway/tinh-nang/mau-thiet-bi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
