merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
364 stars 62 forks source link

Support for yeelink.light.color7 #503

Closed yogesh-bansal closed 11 months ago

yogesh-bansal commented 11 months ago

Device model yeelink.light.color7

Device name Mi LED Smart Control Bulb (B22)

Does the device require a MiCloud connection? Yes Most devices which were introduced to the market in 2020 and later does not require MiCloud.

Anything special about the device? The light turning ON/OFF doesn't work, Neither do any other features associated with the light

[7/22/2023, 12:28:30 PM] [miot] [Light] Device found! Setting up miot device from local connection! [7/22/2023, 12:28:30 PM] [miot] [Light] Connected to device: yeelink.light.color7 [7/22/2023, 12:28:30 PM] [miot] [Light] Doing initial property fetch. [7/22/2023, 12:28:42 PM] [miot] [Light] Starting property polling. [7/22/2023, 12:29:34 PM] [miot] [Light] Poll failed 4 times in a row! Stopping polling and trying to reconnect! Reason: Error: Call to device timed out

merdok commented 11 months ago

Ip or token is invalid or you did not setup your micloud account correctly in the plugin. Please recheck that!

yogesh-bansal commented 11 months ago
image

It has all the settings like IP and token etc but still turning on and off the light is not working. Plus when I add devices a Mi 360° Home Security Camera 2K Pro camera is also added from my micloud account which i am able to turn on and off without any issue.

merdok commented 11 months ago

Then as already mentioned, you did not properly setup the micloud credentials in the plugin and also you need to enable the forceMiCloud property.

yogesh-bansal commented 11 months ago

Thanks, apparently I had the username with phone number and I was selecting in as the country for India and it was i2