
My Python code is now: from gattlib import GATTRequester > connect A0:E6:F8:49:E2:93 throws "connection successful". The command sudo hcitool -i hci0 lescan shows, when the motor is in pairing mode, the output A0:E6:F8:49:E2:93 LPF2 Smart Hub 2 I. hci0 is the dongle, and hci1 the internal one.

I read a lot about the specific BLED112 USB dongle, which is also recommended by Lego, but I currently just have a generic Bluetooth 4.0 USB dongle.


The Lego WeDo 2.0 "hub" uses a bluetooth low energy technology, and to it, a motor is connected via cable, that I want to spin. I am trying to control the motor of a Lego Wedo 2.0 set via Python from an ubuntu distribution.
