chvolkmann / govee_btled

A Python wrapper for controlling a cheap Bluetooth RGB light bulb.
91 stars 14 forks source link

Windows #8

Open ErfolgreichCharismatisch opened 2 years ago

ErfolgreichCharismatisch commented 2 years ago

bt_backend_cls=pygatt.BGAPIBackend) does not work -> "pygatt.backends.bgapi.exceptions.BGAPIError: Unable to auto-detect BLED112 serial port"

Ideas?

jonahclarsen commented 2 years ago

I resolved this by changing line 40 of govee_btled/bluetooth_led.py from self._bt = bt_backend_cls() to self._bt = pygatt.BGAPIBackend(serial_port='COM1'). You should try everything from COM0 to COM10 if COM1 doesn't work.

However, this wasn't the end of the road: see #9.