XiaomiGateway3
XiaomiGateway3 copied to clipboard
Add devices' support and change cover fix's parameter
I added support for Xiaomi Mesh Neutral Wire version wall switch and LS Smart Curtain Motor. And as is mention in https://github.com/AlexxIT/XiaomiGateway3/commit/fb0c0300f7a870ace672b22e92d63726d584c760 , set the parameter to 2 may be better 🤣
- I don't know if cover fix will be suitable for all users. Because it is global fix. Even for Zigbee models. But let it be this way.
device_faultcoverters don't show result anywhere.- Cover device shouldn't have separate on switch. What does this converter do with real device?
I don't know if cover fix will be suitable for all users. Because it is global fix. Even for Zigbee models. But let it be this way.
device_faultcoverters don't show result anywhere.Cover device shouldn't have separate on switch. What does this converter do with real device?
- I think this issue may happen on other curtain motors, such as Aqara Curtain Companion E1 (which cannot be added to MiHome). You can check it out in the comment area of https://www.bilibili.com/video/BV1PS4y1E7wk, which says "sometimes the curtain is 100% closed but after a while it turns to 1% open" (窗帘100%闭合后,过段时间会变成 1% 的打开状态). So I think it is a common issue. Ah..maybe there is a situation that someone just wants to set curtain to 98% open...
- Yes, you can just remove that and I really don't understand how to use
map😂. - This switch is to reverse the motor, which helps to fix the issue when "open" in apps leads to "close" in real. In MiHome app it is called reversed mode (反转模式)
.
I know what is motor reverse. I'm asking about "on" switch.
Converter("motor_reverse", "switch", mi="2.p.5", enabled=False),
BoolConv("on", "switch", mi="2.p.9"),
I know what is motor reverse. I'm asking about "on" switch.
Converter("motor_reverse", "switch", mi="2.p.5", enabled=False), BoolConv("on", "switch", mi="2.p.9"),
Sorry I misunderstood your question. This mesh device does have such switch in its spec which you can check on https://home.miot-spec.com. I was thinking this switch is not important and so set its enabled=false, but after that the curtain would not work at all. I think it is a switch deciding whether the curtain is enabled. If I don't add this spec in migateway3, will it work? I will check it later.
Anyway Thanks a lot!