pylgbst icon indicating copy to clipboard operation
pylgbst copied to clipboard

Can't connect boost

Open SvyatoslavNovikov opened this issue 3 years ago • 6 comments

Hi there. I try connect lego boost on my Mac using Bluetooth ASUS USB-BT400 and next code

`from pylgbst.hub import MoveHub from pylgbst import get_connection_bleak

conn = get_connection_bleak(hub_mac='my:hub's:mac') hub = MoveHub(conn)

for device in hub.peripherals: print(device)`

so, I have next stack trace

Got only these devices: (None, None, None, None, None, None, None) Exception in thread Thread-1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/Users/novikovs/PycharmProjects/tryPylgbst/venv39/lib/python3.9/site-packages/pylgbst/comms/cbleak.py", line 50, in <lambda> self._connection_thread = threading.Thread(target=lambda: asyncio.run(self._bleak_thread())) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/Users/novikovs/PycharmProjects/tryPylgbst/venv39/lib/python3.9/site-packages/pylgbst/comms/cbleak.py", line 60, in _bleak_thread await bleak.connect(self.hub_mac, self.hub_name) File "/Users/novikovs/PycharmProjects/tryPylgbst/venv39/lib/python3.9/site-packages/pylgbst/comms/cbleak.py", line 157, in connect raise ConnectionError('Device not found.') ConnectionError: Device not found.

While code is work I turn on boost hub twice, but device doesn't connect. What I do wrong?

SvyatoslavNovikov avatar Sep 05 '21 14:09 SvyatoslavNovikov

Looks like no communication comes back from the device. Might be caused by BLE adapter, libraries problem or anything else. Possible way to get more info is to enable DEBUG level logging and see if anything relevant is printed into console log

undera avatar Sep 05 '21 15:09 undera

Interesting I have a similar problem using the Bluetooth chip built into my iMac. It does not report any devices. However I also noticed if I first connect to the hub using scratch then close the scratch app and then try to connect with pylgbst (before the hub automatically turns off) it works:

1367 INFO comms Found LEGO Move Hub at 41051A14-C962-4E6F-9A1B-77CEA31F90DB 1367 INFO comms-bleak Device matched: 41051A14-C962-4E6F-9A1B-77CEA31F90DB: LEGO Move Hub 1877 INFO hub Attached peripheral: EncodedMotor on port 0x0 1888 INFO hub Attached peripheral: EncodedMotor on port 0x1 1898 INFO hub Attached peripheral: EncodedMotor on port 0x2 1909 INFO hub Attached peripheral: VisionSensor on port 0x3 1919 INFO hub Attached peripheral: EncodedMotor on port 0x10 1930 INFO hub Attached peripheral: LEDRGB on port 0x32 1941 INFO hub Attached peripheral: TiltSensor on port 0x3a 1951 INFO hub Attached peripheral: Current on port 0x3b 1962 INFO hub Attached peripheral: Voltage on port 0x3c 1972 WARNING hub Have no dedicated class for peripheral type 0x42 (UNKNOWN) on port 0x46 1973 INFO hub Attached peripheral: Peripheral on port 0x46 2170 INFO hub b'LEGO Move Hub' on b'001653ac3f59' 2282 INFO hub Voltage: 78% 2377 INFO race_car Setting LED color to: PINK 2676 INFO race_car Setting LED color to: PURPLE 2888 INFO race_car Setting LED color to: BLUE 3084 INFO race_car Setting LED color to: LIGHTBLUE 3280 INFO race_car Setting LED color to: CYAN 3488 INFO race_car Setting LED color to: GREEN 3690 INFO race_car Setting LED color to: YELLOW 3888 INFO race_car Setting LED color to: ORANGE 4103 INFO race_car Setting LED color to: RED 4303 INFO race_car Setting LED color to: WHITE 4504 INFO race_car Setting LED color to: NONE 4721 INFO race_car Setting LED color to: BLACK

Any idea how I could further debug the issue?

macOS Big Sur, bleak 0.12.1 and pylgbst 1.2.2

geekynils avatar Sep 19 '21 13:09 geekynils

I have a same problem using Linux 5.13.0-23-generic #23~20.04.2-Ubuntu with ASUSTek Computer, Inc. bluetooth device.

$ lsusb -d 0b05:179c -v

Bus 001 Device 009: ID 0b05:179c ASUSTek Computer, Inc.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x179c
  bcdDevice            0.01
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1

Here is demo.py output with logging level set DEBUG:

[2022-01-14 13:54:56] 17	INFO	root	Trying get_connection_bluepy
[2022-01-14 13:54:56] 18	DEBUG	root	Failed: Traceback (most recent call last):
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 68, in get_connection_auto
[2022-01-14 13:54:56]     return fn(controller, hub_mac, hub_name)
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 35, in get_connection_bluepy
[2022-01-14 13:54:56]     from pylgbst.comms.cbluepy import BluepyConnection
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cbluepy.py", line 5, in <module>
[2022-01-14 13:54:56]     from bluepy import btle
[2022-01-14 13:54:56] ModuleNotFoundError: No module named 'bluepy'
[2022-01-14 13:54:56] 
[2022-01-14 13:54:56] 18	INFO	root	Trying get_connection_bluegiga
[2022-01-14 13:54:56] 19	DEBUG	root	Failed: Traceback (most recent call last):
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 68, in get_connection_auto
[2022-01-14 13:54:56]     return fn(controller, hub_mac, hub_name)
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 11, in get_connection_bluegiga
[2022-01-14 13:54:56]     from pylgbst.comms.cpygatt import BlueGigaConnection
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cpygatt.py", line 3, in <module>
[2022-01-14 13:54:56]     import pygatt
[2022-01-14 13:54:56] ModuleNotFoundError: No module named 'pygatt'
[2022-01-14 13:54:56] 
[2022-01-14 13:54:56] 19	INFO	root	Trying get_connection_gatt
[2022-01-14 13:54:56] 19	DEBUG	root	Failed: Traceback (most recent call last):
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 68, in get_connection_auto
[2022-01-14 13:54:56]     return fn(controller, hub_mac, hub_name)
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/__init__.py", line 23, in get_connection_gatt
[2022-01-14 13:54:56]     from pylgbst.comms.cgatt import GattConnection
[2022-01-14 13:54:56]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cgatt.py", line 6, in <module>
[2022-01-14 13:54:56]     import gatt
[2022-01-14 13:54:56] ModuleNotFoundError: No module named 'gatt'
[2022-01-14 13:54:56] 
[2022-01-14 13:54:56] 20	INFO	root	Trying get_connection_bleak
[2022-01-14 13:54:56] 84	DEBUG	asyncio	Using selector: EpollSelector
[2022-01-14 13:54:56] 84	INFO	comms-bleak	Discovering devices... Press green button on Hub
[2022-01-14 13:54:56] 85	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:56] 92	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:54:56] 185	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:56] 286	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:56] 386	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:56] 486	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:56] 586	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 687	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 787	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 887	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 987	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1088	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1098	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:54:57] 1105	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:54:57] 1188	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1288	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1388	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1489	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:57] 1589	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 1689	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 1790	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 1890	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 1990	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2090	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2109	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:54:58] 2114	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:54:58] 2191	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2291	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2391	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2492	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:58] 2592	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 2692	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 2792	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 2893	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 2993	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3093	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3120	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:54:59] 3124	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:54:59] 3193	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3294	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3394	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3494	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:54:59] 3594	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 3695	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 3795	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 3895	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 3995	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4096	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4129	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:00] 4134	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:00] 4196	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4296	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4397	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4497	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:00] 4597	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 4697	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 4797	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 4898	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 4998	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5098	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5139	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:01] 5144	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:01] 5199	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5299	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5399	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5499	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:01] 5600	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 5700	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 5800	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 5900	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6001	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6101	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6151	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:02] 6157	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:02] 6201	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6302	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6402	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6502	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:02] 6602	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 6703	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 6803	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 6903	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7003	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7104	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7162	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:03] 7167	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:03] 7204	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7304	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7404	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7505	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:03] 7605	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 7705	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 7806	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 7906	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8006	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8106	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8172	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:04] 8179	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:04] 8207	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8307	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8407	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8507	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:04] 8607	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 8708	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 8808	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 8908	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9008	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9109	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9184	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:05] 9189	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:05] 9209	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9309	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9409	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9510	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:05] 9610	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 9710	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 9810	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 9911	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 10011	DEBUG	hub	Waiting for builtin devices to appear: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 10111	WARNING	hub	Got only these devices: (None, None, None, None, None, None, None)
[2022-01-14 13:55:06] 10111	DEBUG	hub	Send message: MsgHubProperties({'payload': b'', 'needs_reply': False, 'property': 1, 'operation': 5, 'parameters': b''})
[2022-01-14 13:55:06] 10112	DEBUG	hub	Waiting for sync reply to MsgHubProperties({'payload': b'0105', 'needs_reply': True, 'property': 1, 'operation': 5, 'parameters': b''})...
[2022-01-14 13:55:06] 10194	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:06] 10198	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:07] 11204	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:07] 11211	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:08] 12217	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:08] 12224	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:09] 13231	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:09] 13237	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:10] 14242	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:10] 14247	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:11] 15253	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:11] 15259	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:12] 16265	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:12] 16270	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:13] 17276	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:13] 17282	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:14] 18287	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:14] 18293	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:15] 19301	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:15] 19311	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:16] 20316	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:16] 20321	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:17] 21329	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:17] 21335	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:18] 22341	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:18] 22346	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:19] 23351	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:19] 23358	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:20] 24363	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:20] 24368	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:21] 25374	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:21] 25380	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:22] 26386	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:22] 26392	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:23] 27397	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:23] 27403	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:24] 28408	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:24] 28418	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:25] 29424	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:25] 29431	DEBUG	bleak.backends.bluezdbus.scanner	cached devices: {'/org/bluez/hci0/dev_7C_B0_C2_A8_0F_AB': {'Address': '7C:B0:C2:A8:0F:AB', 'AddressType': 'public', 'Name': 'HP', 'Alias': 'HP', 'Class': 3932160, 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -71, 'Connected': False, 'UUIDs': ['00001104-0000-1000-8000-00805f9b34fb', '00001105-0000-1000-8000-00805f9b34fb', '00001106-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '0000110e-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb', '0000111e-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb', '00001132-0000-1000-8000-00805f9b34fb', '00001133-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00005005-0000-1000-8000-0002ee000001'], 'Modalias': 'usb:v1D6Bp0246d0535', 'Adapter': '/org/bluez/hci0', 'TxPower': 9, 'ServicesResolved': False}}
[2022-01-14 13:55:26] 30436	DEBUG	comms-bleak	Devices: []
[2022-01-14 13:55:26] Exception in thread Thread-1:
[2022-01-14 13:55:26] Traceback (most recent call last):
[2022-01-14 13:55:26]   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
[2022-01-14 13:55:26]     self.run()
[2022-01-14 13:55:26]   File "/usr/lib/python3.8/threading.py", line 870, in run
[2022-01-14 13:55:26]     self._target(*self._args, **self._kwargs)
[2022-01-14 13:55:26]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cbleak.py", line 50, in <lambda>
[2022-01-14 13:55:26]     self._connection_thread = threading.Thread(target=lambda: asyncio.run(self._bleak_thread()))
[2022-01-14 13:55:26]   File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
[2022-01-14 13:55:26]     return loop.run_until_complete(main)
[2022-01-14 13:55:26]   File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
[2022-01-14 13:55:26]     return future.result()
[2022-01-14 13:55:26]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cbleak.py", line 60, in _bleak_thread
[2022-01-14 13:55:26]     await bleak.connect(self.hub_mac, self.hub_name)
[2022-01-14 13:55:26]   File "/home/d/projects/elevator/venv/lib/python3.8/site-packages/pylgbst/comms/cbleak.py", line 157, in connect
[2022-01-14 13:55:26]     raise ConnectionError('Device not found.')
[2022-01-14 13:55:26] ConnectionError: Device not found.

azazar avatar Jan 14 '22 08:01 azazar

It seems that in my case the problem is a lack of Bluetooth LE support from my USB dongle. Which is a different issue.

azazar avatar Jan 14 '22 11:01 azazar

on mac os x scratch works fine, but the library does not find the boost. Do you have any idea?

ludi81 avatar Jan 16 '22 17:01 ludi81

I think I have a similar issue, as new to Python and this kind of project, I have trouble finding an entry point for my search for the cause. The Move hub connects to my Bluetooth on the Laptop (some mediocre Lenovo laptop with Windows 10). Starting the Move Hub pressing green button and running demo.py results (always) in this:

Traceback (most recent call last):
  File "C:\Users\jakob.preisenberger\PycharmProjects\pylgbst\examples\demo.py", line 259, in <module>
    hub = MoveHub(**parameters)
  File "C:\Users\jakob.preisenberger\PycharmProjects\pylgbst\pylgbst\hub.py", line 252, in __init__
    self._report_status()
  File "C:\Users\jakob.preisenberger\PycharmProjects\pylgbst\pylgbst\hub.py", line 269, in _report_status
    name = self.send(MsgHubProperties(MsgHubProperties.ADVERTISE_NAME, MsgHubProperties.UPD_REQUEST))
  File "C:\Users\jakob.preisenberger\PycharmProjects\pylgbst\pylgbst\hub.py", line 96, in send
    self.connection.write(self.HUB_HARDWARE_HANDLE, msgbytes)
  File "C:\Users\jakob.preisenberger\PycharmProjects\pylgbst\pylgbst\comms\cbleak.py", line 101, in write
    raise ConnectionError('Something went wrong, communication threads not functioning.')
ConnectionError: Something went wrong, communication threads not functioning.

Process finished with exit code 1

sunnyfanuffel avatar Feb 17 '22 07:02 sunnyfanuffel

Hi, does anyone have an update on this issue?

fekete-robert avatar Dec 02 '22 16:12 fekete-robert

I think this issue happens to a very specific software and hardware combination. We need somebody who has that issue to do a deeper troubleshooting to find the root cause and fix.

undera avatar Dec 02 '22 19:12 undera

Thanks for replying!

I'm happy to help, but probably need some directions to do so :)

Our current situation is: We had an older version of pylgbst using a pygatt and an usb bluetooth dongle working with a classic lego boost move hub that was running an old firmware. This setup was working on a linux machine.

Now we have:

  • updated the move hub to the latest firmware (it's working fine from the lego app and scratch)
  • the latest pylgbst with bleak, with the same dongle, and trying to get it work on a windows box

The program conntects to the hub (the led turns to blue) but after a few seconds it disconnects and throws this error: Have no dedicated class for peripheral type 0x42 (UNKNOWN) on port 0x46 error. We use a simple test code (see below) with the specific address of the move hub.

from pylgbst.hub import MoveHub
from pylgbst import get_connection_bleak

conn = get_connection_bleak(hub_mac='00:16:53:A2:22:59')

hub = MoveHub(conn)

fekete-robert avatar Dec 03 '22 08:12 fekete-robert

The last code snippet is the right place to start from.

If you still have access to Linux machine, it would be good to make the piece of code to work on it, then look what is the difference on Windows. Version of the Python, Bleak might matter.

The message about no dedicated class is kind of harmless, but may point to a problem. In the sources, there is indeed no device type is defined for 0x46 (66 decimal). I wonder if it is because of the latest firmware, or do you have any peripheral connected to Hub, or it's a different kind of Hub.

Last thing you can try is to change MoveHub class into more generic Hub, and add time.sleep(30) at the end of code snippet. The generic Hub would not expect any devices, and you'll be able to see only the initialization sequence. Couple it with debug logging enabled and post here the output - I'll be able to understand your situation better.

undera avatar Dec 03 '22 11:12 undera

Hi, many thanks for your reply, and sorry for not getting back earlier. The problem has mysteriously disappeared: the next time I tried to use the Boost from the Windows machine (using the same code) it worked without any problems. We still got the no device type defined message. but didn't seem to cause any problems now.

¯_(ツ)_/¯

fekete-robert avatar Dec 16 '22 14:12 fekete-robert