thanks for answer, but this line of code with your demo code with python is same logic and same syntax !
please help me if you can find out that what is the problem of my discover method that can not find any bulb with broadcast message !?!
The problem is your code didn’t get any response within 10 seconds and raise an exception. Are you sure you have opened the developer mode of the bulb?
You can use our demo to test, if our demo is working, it’s your code’s issue, otherwise, you need to find out why response is not received.
Exactly ! there is no developer option in my mi app !
I use your demo and result is same !
I think this is the problem, how can i enable developer mode when there is no option in my app ?
How can i reset to factory my bulb ?
Yap ! this is original app ! but the QR code in bulb catalog download mi app for me !
Thanks. problem solved perfectly and solution is download “Yeelight” app in App store and activate developer mode from settings.