Open fenglou777 opened 2 months ago
You have to try to add it yourself. It shouldn't be difficult. https://github.com/AlexxIT/XiaomiGateway3?tab=readme-ov-file#add-new-device
手工添加无法支持
参考一下,这个是三键的,一键两键删,四键六键八键加
{
16181: ["GIOT", "V5 Wireless Three Key Switch", "GIOT-V53KWM", "giot.remote.v53kwm"],
"spec": [
BaseConv("action", "sensor"),
MapConv("action", mi="2.e.1012.p.1", map={1: BUTTON_1_SINGLE, 2: BUTTON_2_SINGLE, 3: BUTTON_3_SINGLE}),
MapConv("action", mi="2.e.1013.p.1", map={1: BUTTON_1_DOUBLE, 2: BUTTON_2_DOUBLE, 3: BUTTON_3_DOUBLE}),
MapConv("action", mi="2.e.1014.p.1", map={1: BUTTON_1_HOLD, 2: BUTTON_2_HOLD, 3: BUTTON_3_HOLD}),
],
}
https://home.mi.com/views/introduction.html?region=cn&pdid=16191&model=giot.remote.v51kwm https://home.miot-spec.com/s/giot.remote.v51kwm