benallard / galileo

GNU Lesser General Public License v3.0
14 stars 2 forks source link

Unable to establish a connection with Charge 2 tracker #4

Open philippludwig opened 2 years ago

philippludwig commented 2 years ago

I tried to sync my Charge 2 via galileo, but sadly it can’t establish a connection. Here is the output:

/mnt/data/install/galileo/galileo/config.py:351: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(f)
2022-07-17 12:16:39,154:DEBUG: Configuration: {'rcConfigName': None, 'dumpDir': '~/.galileo', 'daemonPeriod': 15000, 'includeTrackers': {'D78C9C50C2F3'}, 'excludeTrackers': set(), 'logLevel': 10, 'bluetoothConn': <class 'galileo.ble.pydbus.PyDBUS'>, 'forceSync': True, 'keepDumps': True, 'doUpload': True, 'database': <class 'galileo.databases.rest.RemoteRESTDatabase'>, 'httpsOnly': True, 'fitbitServer': 'client.fitbit.com', 'logSize': 10, 'syslog': False, 'mode': 'sync', 'hardcoded_ui': {}}
2022-07-17 12:16:39,154:DEBUG: run initialising
2022-07-17 12:16:39,159:INFO: Found 1 adapters: [('/org/bluez/hci0', {'Address': '00:1A:7D:DA:71:14', 'AddressType': 'public', 'Name': 'philbox', 'Alias': 'philbox', 'Class': 2883844, 'Powered': True, 'Discoverable': False, 'DiscoverableTimeout': 180, 'Pairable': True, 'PairableTimeout': 0, 'Discovering': True, 'UUIDs': ['0000110e-0000-1000-8000-00805f9b34fb', '0000110a-0000-1000-8000-00805f9b34fb', '00001200-0000-1000-8000-00805f9b34fb', '0000110b-0000-1000-8000-00805f9b34fb', '00001108-0000-1000-8000-00805f9b34fb', '0000110c-0000-1000-8000-00805f9b34fb', '00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '0000180a-0000-1000-8000-00805f9b34fb', '00001112-0000-1000-8000-00805f9b34fb'], 'Modalias': 'usb:v1D6Bp0246d0537', 'Roles': ['central', 'peripheral']})]
2022-07-17 12:16:39,159:INFO: Using: /org/bluez/hci0
2022-07-17 12:16:39,175:INFO: Discovering trackers to synchronize
2022-07-17 12:16:39,561:DEBUG: Discovered: ('/org/bluez/hci0/dev_67_DD_02_7C_C9_B2', {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Address': '67:DD:02:7C:C9:B2', 'AddressType': 'random', 'Name': 'LE-P-Bose QC Earbuds', 'Alias': 'LE-P-Bose QC Earbuds', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -26, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7427: [82, 40, 42, 51, 191, 115, 83, 179, 157, 13, 165]}, 'TxPower': -10, 'ServicesResolved': False}, 'org.freedesktop.DBus.Properties': {}})
2022-07-17 12:16:39,599:DEBUG: Discovered: ('/org/bluez/hci0/dev_77_7B_D8_5F_76_81', {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Address': '77:7B:D8:5F:76:81', 'AddressType': 'random', 'Name': 'LE-Bose QC Earbuds', 'Alias': 'LE-Bose QC Earbuds', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -30, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7171: [82, 8, 247, 100, 187, 37, 151, 152, 106, 154, 237]}, 'TxPower': -10, 'ServicesResolved': False}, 'org.freedesktop.DBus.Properties': {}})
2022-07-17 12:16:41,336:DEBUG: Discovered: ('/org/bluez/hci0/dev_80_FB_F1_1A_85_32', {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Address': '80:FB:F1:1A:85:32', 'AddressType': 'public', 'Alias': '80-FB-F1-1A-85-32', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -44, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7684: [51, 55, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0]}, 'ServicesResolved': False}, 'org.freedesktop.DBus.Properties': {}})
2022-07-17 12:16:41,849:DEBUG: Discovered: ('/org/bluez/hci0/dev_F3_C2_50_9C_8C_D7', {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Address': 'F3:C2:50:9C:8C:D7', 'AddressType': 'random', 'Name': 'Charge 2', 'Alias': 'Charge 2', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -72, 'Connected': False, 'UUIDs': ['adabfb00-6e7d-4601-bda2-bffaa68956ba'], 'Adapter': '/org/bluez/hci0', 'ServiceData': {'0000180a-0000-1000-8000-00805f9b34fb': [22, 4, 49, 42, 3]}, 'TxPower': 5, 'ServicesResolved': False}, 'org.freedesktop.DBus.Properties': {}})
2022-07-17 12:16:43,178:INFO: Discovery done, found 4 trackers
2022-07-17 12:16:43,187:INFO: Found: {'Address': 'F3:C2:50:9C:8C:D7', 'AddressType': 'random', 'Name': 'Charge 2', 'Alias': 'Charge 2', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -72, 'Connected': False, 'UUIDs': ['adabfb00-6e7d-4601-bda2-bffaa68956ba'], 'Adapter': '/org/bluez/hci0', 'ServiceData': {'0000180a-0000-1000-8000-00805f9b34fb': [22, 4, 49, 42, 3]}, 'TxPower': 5, 'ServicesResolved': False}
2022-07-17 12:16:43,187:INFO: Found: {'Address': '80:FB:F1:1A:85:32', 'AddressType': 'public', 'Alias': '80-FB-F1-1A-85-32', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -44, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7684: [51, 55, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0]}, 'ServicesResolved': False}
2022-07-17 12:16:43,187:ERROR: bluez version too old (no ServiceData from advertisement)
2022-07-17 12:16:43,187:INFO: Found: {'Address': '77:7B:D8:5F:76:81', 'AddressType': 'random', 'Name': 'LE-Bose QC Earbuds', 'Alias': 'LE-Bose QC Earbuds', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -31, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7171: [82, 8, 247, 100, 187, 37, 151, 152, 106, 154, 237]}, 'TxPower': -10, 'ServicesResolved': False}
2022-07-17 12:16:43,187:ERROR: bluez version too old (no ServiceData from advertisement)
2022-07-17 12:16:43,187:INFO: Found: {'Address': '67:DD:02:7C:C9:B2', 'AddressType': 'random', 'Name': 'LE-P-Bose QC Earbuds', 'Alias': 'LE-P-Bose QC Earbuds', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -37, 'Connected': False, 'UUIDs': ['0000febe-0000-1000-8000-00805f9b34fb'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {7427: [82, 40, 42, 51, 191, 115, 83, 179, 157, 13, 165]}, 'TxPower': -10, 'ServicesResolved': False}
2022-07-17 12:16:43,188:ERROR: bluez version too old (no ServiceData from advertisement)
2022-07-17 12:16:43,188:INFO: 1 trackers discovered
2022-07-17 12:16:43,188:DEBUG: Discovered tracker with ID D78C9C50C2F3
2022-07-17 12:16:43,188:INFO: Attempting to synchronize tracker D78C9C50C2F3
2022-07-17 12:16:43,188:DEBUG: Connecting to Fitbit server and requesting status
2022-07-17 12:16:43,188:DEBUG: Skipping status request
2022-07-17 12:16:43,188:DEBUG: Establishing link with tracker
2022-07-17 12:16:43,189:INFO: Connecting to tracker
2022-07-17 12:16:45,722:DEBUG: Waiting for service discovery
2022-07-17 12:16:46,327:DEBUG: Fetching the communication Characteristics
2022-07-17 12:16:46,330:DEBUG: write is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service001c/char001d
2022-07-17 12:16:46,330:DEBUG: read is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service000c/char0014
2022-07-17 12:16:46,331:DEBUG: write is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service000c/char0011
2022-07-17 12:16:46,331:DEBUG: write is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service000c/char000f
2022-07-17 12:16:46,332:DEBUG: write is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service000c/char000d
2022-07-17 12:16:46,332:DEBUG: write is: /org/bluez/hci0/dev_F3_C2_50_9C_8C_D7/service0001/char0002
2022-07-17 12:16:46,333:DEBUG: Installing my read handler.
2022-07-17 12:16:46,542:DEBUG: => [ C0 0A 0A 00 06 00 06 00 00 00 C8 00 ] - 12
2022-07-17 12:16:46,544:WARNING: Unable to connect with tracker D78C9C50C2F3. Skipping
2022-07-17 12:16:46,547:DEBUG: No Value received
2022-07-17 12:16:46,547:DEBUG: No Value received
2022-07-17 12:16:46,548:INFO: Disconnecting from tracker D78C9C50C2F3
Tracker: D78C9C50C2F3: Unable to establish a connection.
benallard commented 1 year ago

Yes, My Charge 5 is not working either. They seemed to have changed UUIDs, at least.