vacuum-status
本页由
olink/mapping/system/schemas/enums自动生成,请勿手改。源文件:schemas/enums/vacuum-status.toml。
规范值(Olink schema)
| value | name |
|---|---|
0 | Idle |
1 | Running |
2 | Paused |
3 | Error |
4 | GoCharging |
5 | Charging |
6 | Upgrading |
7 | Emptying |
8 | Washing |
Input 映射
路径:inputs.<integration>.<service>;可选 models."<model>" 整表覆盖。to:厂商码 → schema;from:schema → 厂商码。
inputs.dreame.vacuum
| to_default | from_default |
|---|---|
3 | — |
to(厂商 → schema)
| 键 | 值 |
|---|---|
0 | 0 |
1 | 2 |
2 | 1 |
3 | 4 |
4 | 1 |
5 | 1 |
6 | 5 |
7 | 6 |
12 | 3 |
13 | 1 |
14 | 0 |
17 | 0 |
18 | 1 |
19 | 1 |
20 | 1 |
21 | 1 |
22 | 1 |
23 | 1 |
24 | 1 |
25 | 1 |
26 | 1 |
from(schema → 厂商)
| 键 | 值 |
|---|---|
| — | — |
inputs.mijia.vacuum
| to_default | from_default |
|---|---|
3 | 2 |
to(厂商 → schema)
| 键 | 值 |
|---|---|
1 | 0 |
2 | 0 |
3 | 0 |
5 | 1 |
6 | 4 |
7 | 1 |
8 | 5 |
10 | 2 |
11 | 1 |
12 | 3 |
14 | 6 |
15 | 4 |
16 | 1 |
17 | 1 |
18 | 1 |
22 | 7 |
23 | 8 |
26 | 4 |
29 | 1 |
from(schema → 厂商)
| 键 | 值 |
|---|---|
0 | 2 |
1 | 5 |
2 | 10 |
3 | 12 |
4 | 6 |
5 | 8 |
6 | 14 |
7 | 22 |
8 | 23 |
inputs.mijia.vacuum.models."ijai.vacuum.v2"
| to_default | from_default |
|---|---|
3 | — |
to(厂商 → schema)
| 键 | 值 |
|---|---|
0 | 0 |
1 | 0 |
2 | 2 |
3 | 4 |
4 | 5 |
5 | 1 |
6 | 1 |
7 | 1 |
8 | 6 |
from(schema → 厂商)
| 键 | 值 |
|---|---|
| — | — |
inputs.roborock.vacuum
| to_default | from_default |
|---|---|
3 | — |
to(厂商 → schema)
| 键 | 值 |
|---|---|
1 | 0 |
2 | 0 |
3 | 0 |
4 | 1 |
5 | 1 |
6 | 4 |
7 | 1 |
8 | 5 |
9 | 3 |
10 | 2 |
11 | 1 |
12 | 3 |
13 | 0 |
14 | 6 |
15 | 4 |
16 | 1 |
17 | 1 |
18 | 1 |
22 | 7 |
23 | 8 |
26 | 4 |
100 | 5 |
101 | 3 |
from(schema → 厂商)
| 键 | 值 |
|---|---|
| — | — |
Output 映射
路径:outputs.<domain>(如 hap / matter)。键 = schema value,值 = 协议侧码。
outputs.matter
schema → 协议
| 键 | 值 |
|---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 64 |
5 | 65 |
6 | 0 |
7 | 67 |
8 | 68 |