Hi,
First, thank you for creating this library for accessing the GOVEE BT LED bulbs!
I am in process of writing a wrapper on a Raspberry pi 4 for this bulb that sends mqtt messages for use in Home assistant (home-assistant.io).
I do have all of the functionality working from within Home Assistant with regards to controlling the GOVEE bulb.
However, randomly, after 10 or 20 commands sent to the bulb, I get errors connecting. as follows:
raise ConnectionTimeout(self.mac, err)
govee_btled.errors.ConnectionTimeout: Failed connecting to XX:XX:XX:XX:XX:XX
Any ideas come to mind to fix this? For each call from Home assistant, the wrapper initializes the bulb, and then deletes the connection.
I have tried both the gattinfo as well as the BGAPI version in the pygatt library.
I also tried the following timeout change, with no change.
echo 1000 > /sys/kernel/debug/bluetooth/hci0/supervision_timeout
Thanks in advance!
Hi,
First, thank you for creating this library for accessing the GOVEE BT LED bulbs!
I am in process of writing a wrapper on a Raspberry pi 4 for this bulb that sends mqtt messages for use in Home assistant (home-assistant.io).
I do have all of the functionality working from within Home Assistant with regards to controlling the GOVEE bulb.
However, randomly, after 10 or 20 commands sent to the bulb, I get errors connecting. as follows:
raise ConnectionTimeout(self.mac, err)
govee_btled.errors.ConnectionTimeout: Failed connecting to XX:XX:XX:XX:XX:XX
Any ideas come to mind to fix this? For each call from Home assistant, the wrapper initializes the bulb, and then deletes the connection.
I have tried both the gattinfo as well as the BGAPI version in the pygatt library.
I also tried the following timeout change, with no change.
echo 1000 > /sys/kernel/debug/bluetooth/hci0/supervision_timeout
Thanks in advance!