-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yeelight add support for MiBedsideLamp2 (MJCTD02YL) #24018
Comments
What happens now ? Looks like its detected, what doesn't work ? Try declaring it as color2 or ceiling4, it might work. |
The lamp isn't added to HA. I just did
Then I got a notification that I can enter the PIN for both devices which is displayed on the bottom of the lamp and that worked.
So I need to force the auto discovery? I still would expect that the Yeelight component would pick it up instead of the HomeKit. Confusing... |
Hey there @rytilahti, mind taking a look at this issue as its been labeled with a integration ( This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people. |
Hey there @Jc2k, mind taking a look at this issue as its been labeled with a integration ( This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people. |
Does it work if you define it manually as yeelight? https://www.home-assistant.io/components/yeelight/ has the documentation for manual configuration. Maybe it advertises homekit support, so that's why homekit integration picks it up, unfortunately I have no idea about its details. |
Don't know for sure anymore since I enabled homekit support manually in the config as you can see and finally was able to configure it within HA with the right PIN. The Yeelight app can control the BedSide2 lamps without a problem. It advertises homekit support indeed but doesn't 'load' correctly within HA with 'standard' autodiscovery. I think personally that it is a homekit since auto discovery is giving the message and not yeelight. |
Hi! From a HomeKit point of view everything looks like it is working as expected. On 0.94 the homekit discovery will be enabled by default so it wouldn't have needed enabling manually. 0.94 will switch over to config entries too, and not depend on discovery at start up (theres a 30s delay after restarts on < 0.94 thats a bit annoying). It's normal for some devices to have multiple control APIs - e.g. we have a few climate devices I have been looking at that can either be controlled via their cloud API or via homekit and homekit is the only viable "local" internetless API. So that bit is normal as well. It's weird that the native client hasn't detected it but unless there are features not exposed to the HomeKit API I guess its fine to use the HomeKit API. |
In that case I'll wait for that update and remove the discovery entry for homekit. Hopefully it will detect it then automatically and add it to HA. When I remove it now, the lamps are gone again. |
Cool - we are still working out some of the finer details of the switchover but if it doesnt work the things to check will be - is the |
Hi @pascalsaul and @Jc2k, I finally got mine lamp working after manually forcing homekit to discover but now the only feature controllable it's the brightness, (NOT RGB color) as it should be, so does you know how to handle other configs? Should I create a custom sensor with yeelight? |
I think it might be same error as described here: #23871 Try this code from pending PR, it might fix it: |
@zewelor thanks, fixed! |
I don't know what the update to 0.94 breaks but now are both lights not detected at all... https://www.home-assistant.io/blog/2019/06/05/release-94/ I did use the default configuration but probably things are changed during the versions and by adding those two directives it is working. |
You need to make sure the zeroconf component is turned on, it’s a breaking change listed in the release notes. |
Ah I replied before I saw your edit |
Have you managed to add Bedside Lamp 2 to HA somehow guys? Trying to manual connection via Yeelight component with no luck. |
Home Assistant release with the issue:
0.93.1
Last working Home Assistant release (if known):
n/a
Operating environment (Hass.io/Docker/Windows/etc.):
docker
Component/platform:
https://www.home-assistant.io/components/homekit_controller/
Description of problem:
Unsupported device
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):discovery:
Traceback (if applicable):
Additional information:
The new Bedside Lamp 2 is supported in the Xiaomi Home and Google Home app.
The text was updated successfully, but these errors were encountered: