Betree / magicblue

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

loss of connection after 10-15 minutes #49

Open luxex opened 5 years ago

luxex commented 5 years ago

hi, I am super grateful for Your work, it made my work sooooo much easier, but: I wrote script which continuously controls state of a bulb according to outside data. To do this, it needs to connect to bulb every few minutes, update it's color and disconnect. Everything works fine for first 10-15 minutes. after that script does not connect to the bulb. sometimes it gives "bluetooth stack (comerr)" error.

Anyone has any idea how to solve this problem?

Betree commented 5 years ago

Hello @luxex sorry for the late reply. I don't have the bulbs with me at the time (I moved country and still waiting to get my stuff back) which make it hard for me to try stuff and debug.

Have you tried with a different bluetooth adapter? Maybe updating bluepy could help too, they usually solve a lot of bugs in newer versions.

luxex commented 5 years ago

Have not tried updating bluepy, I’ll give it shot.

Best regards luxex


Od: Benjamin Piouffle notifications@github.com Wysłane: Saturday, June 29, 2019 12:43:24 PM Do: Betree/magicblue DW: luxex; Mention Temat: Re: [Betree/magicblue] loss of connection after 10-15 minutes (#49)

Hello @luxexhttps://github.com/luxex sorry for the late reply. I don't have the bulbs with me at the time (I moved country and still waiting to get my stuff back) which make it hard for me to try stuff and debug.

Have you tried with a different bluetooth adapter? Maybe updating bluepy could help too, they usually solve a lot of bugs in newer versions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Betree/magicblue/issues/49?email_source=notifications&email_token=ACGLJNPGFZTVKBRERHMAN63P444EZA5CNFSM4HMMSYYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3WQEI#issuecomment-506947601, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACGLJNIPEE35PPN7X72ZZCTP444EZANCNFSM4HMMSYYA.