-
Notifications
You must be signed in to change notification settings - Fork 15
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
Very unstable and slow connection #13
Comments
It takes time to connect, not 5 seconds with the light I have, but it is not instantaneous, so you could try to stay connected so you don't have to reconnect after each command. |
Hi, thanks for the reply ! Yea it's around 5 seconds everytime I try to issue a command. How can I keep connected to avoid reconnecting each time ?
The commands work fine when it connects but I'm calling the script directly from cmd line , didn't try in interactive mode yet . This is the only lamp of this format (G95) which I was able to find worldwide with smart features so I'm really hoping I can make it work reliably . The huge delays and constant failures to connect made it pretty much unusable for me so far . |
This was done over a period of 30 seconds after successfully turning the light on : `root@raspberrypi:/home/python-awox-mesh-light# python3 -i turnoff.py root@raspberrypi:/home/python-awox-mesh-light# python3 -i turnoff.py root@raspberrypi:/home/python-awox-mesh-light# python3 -i turnoff.py Here's the turnoff script :
|
Sorry for the multiple posts but I have an update : Adding disconnect command to the end of every script fixed the connecting issues . Now the only problem left to deal with is the delay which flutuates between 3 and 6 seconds, maybe if I can keep it connected while avoiding the previous connection issues that would sort it out . |
Yes, you must disconnect before you can connect again. |
Hello!
I have recently installed your repo in order to integrate for my home assistant but so far it's been extremely unreliable .
I only have 1 bluetooth lamp (Eglo 11569 g95) and when the commands work it usually takes about 5 seconds ornso to respond .
Often they don't work at all as the script fails to connect , especially if I just ran a command in the last 10 seconds (but not limited to this)
I am running on a rpi3 with ubuntu and using the rpi3 built in bluetooth .
Any clue?
Thanks!
The text was updated successfully, but these errors were encountered: