Compare commits

..

1 Commits

Author SHA1 Message Date
tiancheng91
b1e76f836f fix: support fan p5c fan-level 2025-06-29 11:43:50 +08:00
2 changed files with 21 additions and 57 deletions

View File

@ -1,29 +1,4 @@
{
"urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf:1": [
{
"iid": 4,
"type": "urn:miot-spec-v2:service:environment:0000780A:090615-ktf:1",
"description": "Environment",
"properties": [
{
"iid": 2,
"type": "urn:miot-spec-v2:property:temperature:00000020:090615-ktf:1",
"description": "Temperature",
"format": "float",
"access": [
"read",
"notify"
],
"unit": "celsius",
"value-range": [
-30,
100,
1
]
}
]
}
],
"urn:miot-spec-v2:device:airer:0000A00D:hyd-lyjpro:1": [
{
"iid": 3,
@ -44,32 +19,6 @@
]
}
],
"urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1": [
{
"iid": 8,
"type": "urn:miot-spec-v2:service:fan:00007802:dmaker-p5c:1",
"description": "Fan",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:fan-level:00000001:dmaker-p5c:1",
"description": "Fan Level",
"format": "uint8",
"access": [
"read",
"write",
"notify"
],
"value-range": [
1,
100,
1
],
"gatt-access": []
}
]
}
],
"urn:miot-spec-v2:device:thermostat:0000A031:tofan-wk01:1:0000C822": [
{
"iid": 2,
@ -268,5 +217,23 @@
}
]
}
],
"urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1": [
{
"iid": 8,
"type": "urn:miot-spec-v2:service:fan:00007802:dmaker-p5c:1",
"description": "Fan",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:fan-level:00000001:dmaker-p5c:1",
"description": "Fan Level",
"format": "uint8",
"access": ["read", "notify", "write"],
"value-range": [1, 100, 1],
"gatt-access": []
}
]
}
]
}

View File

@ -1,6 +1,3 @@
urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf:
services:
- '4'
urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ma4:
properties:
- 9.*
@ -18,9 +15,6 @@ urn:miot-spec-v2:device:curtain:0000A00C:lumi-hmcn01:
- '4'
- '7'
- '8'
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
services:
- '8'
urn:miot-spec-v2:device:gateway:0000A019:xiaomi-hub1:
events:
- '2.1'
@ -54,3 +48,6 @@ urn:miot-spec-v2:device:thermostat:0000A031:tofan-wk01:
services:
- '2'
- '4'
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
services:
- '8'