merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
395 stars 63 forks source link

yeelink.light.color5 control doesn't work #158

Closed MonStar1 closed 2 years ago

MonStar1 commented 2 years ago

Give me know could I get additional info to help you fix it

merdok commented 2 years ago

You would need to provide the homebridge debug log and your config, without there is no way for me to know that your issue is.

MonStar1 commented 2 years ago

homebridge.log (1).txt

I have at least two devices. They dont work. Lamp doesn't work all the time. Dreame L10 Pro stopped work some days ago

merdok commented 2 years ago

For the lamp, it is probably a micloud only device. For that you would need to try to specify your micloud credentials in the config with the forceMiCloud parameter set to true and then try it.

As for the vacuum, it seems that either the token or device ip changed since a connection cannot be established to that device.

MonStar1 commented 2 years ago

https://github.com/CorsairCat/homebridge-mi-philips-light The plugin homebridge-mi-philips-light lets me turn on, turn off and dimming the lamp. Here is my config for the plugin Think some part of API is similar, because coloring doesn't work { "type": "MiPhilipsSmartBulb", "ip": "192.168.31.175", "token": "023ad7d67207e446f****", "lightName": "ColorLamp", "lightDisable": false }

merdok commented 2 years ago

Sorry, I do not understand what you mean an what the other plugin has to do with this. You should try the suggestions which I gave you and let me know if that fixes your problem.

MonStar1 commented 2 years ago

I mean it is not Micloud only device and it is possible control device localy, because it works for other plugin

Force micloud option works for the lamp, but still doesn't work for the vacuum cleaner [12/22/2021, 2:11:41 PM] [miot] [cleaner] Error: Could not connect to device, handshake timeout [12/22/2021, 2:11:41 PM] [miot] [cleaner] Could not connect to the device! Retrying in 42 seconds!

merdok commented 2 years ago

When forceMiCloud works for the lamp then it is a miot device which only works with micloud. The other plugin uses the older miio protocol which this plugin does not support, hence micloud is required!

For the vacuum your issue is different, your specified token or ip is incorrect!