Hi.
I’ve just bought the Xiaomi Mi LED WiFi model MJDP02YL light bulb (not yeelight, the xiaomi one, this one ) and I havent been able to integrate them since the Yeelight APP won’t recognize them and the Xiaomi APP does not have the enable LAN option available.
I have another one identical from Yellight and I have been able to integrate it successfully in the past, but this ones from Xiaomi are impossible.
Can some one tell me how to integrate them?
Thanks and kind regards
1 Like
Same issue here…
The documentation (https://www.home-assistant.io/integrations/yeelight/ ) is mentioning that MJDP02YL can be integrated
but I see no way of enabling the LAN option for this bulb as it’s only recognized by the Xiaomi App and not the Yeelight one.
1 Like
please see this.
Also i was able to get the bulb token, using a node js script, that connects to the mi cloud server.
so using with node, install
npm install node-mihome
const mihome = require('node-mihome');
const username = 'your mi email';
const password = 'your mi pass';
mihome.miioProtocol.init();
//Europe uses the "de" country server.
mihome.miCloudProtocol.login(username, password).then(res=>{
mihome.miCloudProtocol.getDevices(null, {country:"de"}).then(out=>
console.log(out));
});
execute:
node main.js
Find the token of the device you want, then use the device to set the dev to true
example_
miiocli yeelight --ip 192.168.1.68 --token 20586nj8a6417f725163818da41935feae set_developer_mode 1
Also thanks to:
After I got token I used
miiocli yeelight --ip 192.168.x.x --token <token> set_developer_mode 1
to set developer mode on. After that I just used latest Mi Home app to add bulb to my wifi. Developer mode was still set to on and finally I could add it to Home Assistant
2 Likes