Homekit integration has some wrong colors when setting them through google home. Daylight for example is greenish and dim as the lamp doesn’t switch to “Temperature mode” which it should.
Here the same. Next step… in the bin.
The following way worked for me:
- Via Yeelight app on my [Android] phone, I added the lamp. [probably, you can skip this step and connect your lamp directly in the Mi Home app, but this didn’t work for me. And I have no clue why]
- The lamp has appeared in the Mi Home app.
- In the settings of the app (three dots on the upper-right corner) → Additional settings → Network info, I found the IP (I knew it) and token (that is what I was looking for).
- In the HA app → Settings → Devices & Services → Add integration → Miio for Yeelink → Enter a lamp IP and Token.
- Profit.
All in all, all this fun with Xiaomi-ish stuff, slowly but surely, is redirecting me towards more expensive but predictable smart home systems…
1 Like
The following worked for me (slight variation of previous post):
- Link lamp with Xiaomi Home app
- Get token + IP address via GitHub - PiotrMachowski/Xiaomi-cloud-tokens-extractor: This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
- Install yeelink custom component (e.g. via HACS) GitHub - al-one/hass-miio-yeelink: Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
- Settings > Integrations > Add Yeelink
8 Likes
Thx for your comment. Worked as expected!
1 Like