Compare commits

...

2 Commits

Author SHA1 Message Date
天成
3116e3bf8a
Merge b1e76f836f into 664787ca58 2025-06-29 03:50:47 +00:00
tiancheng91
b1e76f836f fix: support fan p5c fan-level 2025-06-29 11:43:50 +08:00
3 changed files with 24 additions and 0 deletions

View File

@ -242,5 +242,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

@ -51,3 +51,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'

View File

@ -87,6 +87,9 @@ urn:miot-spec-v2:device:fan:0000A005:dmaker-p33:1:
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5:1:
prop.2.4:
name: fan-level-a
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
prop.2.2:
name: fan-level-a
urn:miot-spec-v2:device:fan:0000A005:xiaomi-p43:1:
prop.2.2:
name: fan-level-a