Betree / magicblue

💡 Unofficial Python API to control Magic Blue bulbs over Bluetooth
MIT License
100 stars 23 forks source link

Magic Blue Version 10 #14

Closed ronesim closed 7 years ago

ronesim commented 7 years ago

I have a bulb version 10 and I wasn't able to connect it ("Failed to connect to peripheral f8:1d:78:60:2a:5a, addr type: random"). I have found that addr_type should be public so I added the version 10 in the "if" statement.

17580204_1514292525279968_1326844116_n

Betree commented 7 years ago

Thanks for the report ! Did setting the address type to public fixed the problem ? Have you tried running magicblueshell with just -b 9 to set the bulb version to 9 and see if it was compatible ?

Betree commented 7 years ago

Oh I just saw your pull request, thank you for that :smiley: