Open cnliri1 opened 7 years ago
do you know what the exact model of the plug is? like does it have a usb port on it? does it work instantly when you use the Mi Home app from Xiaomi to control it, or is there a delay before it reacts?
Thanks for your quick reply.The model is chuangmi plug v1,it work perfectly with mi home app
Also from the log you can find the first three status keeps to 1.in this period no reacts act on the plug.
Today i test another mi plug,the type is chuangmi-plug-m1_miio,without usb port, work perfectly.
@cnliri1 I'm the author of the miio
library that homebridge-miio
uses. I'm very interested in fixing the issues with your plug.
Could I ask you to follow the instructions under "Something with your device does not work" at https://github.com/aholstenson/miio/blob/master/docs/reporting-issues.md? Feel free to open an issue in that repository and I'll see what we can do about fixing the support for your device.
Thanks!
miio
version 0.12.0 contains some changes that hopefully fixes plugs with model id chuangmi.plug.v1
.
The API for the plugs changed sometime between version 0.7.0 and this latest release so there are some changes needed in homebridge-miio
to be able to use this release (hopefully some of the last breaking changes before 1.0.0 of miio
).
Hi The same problem with my chiangmai-plug-v1 with USB plug discovered, but token: '00000000000000000000000000000000', chiangmai-plug-m1 is ok Thanks for your job! Waiting for next release with this fix
Hello,
Yesterday after install the miio,i kept my mi-plug on and start the homebridge but it can not fetch the real status and keeps off. I tried to switch on the plug by the app, the icon active then 2s later switch off, during that nothing change on the real plug. i repeat it 3 times,no any response from the plug.
When i tried the fourth time,it works.but 10s later the icon switched off and plug keeps on.
any suggestion on it?
below is the record log,