Commit Graph

65 Commits (8167cd615a32c4e9a37b38616d9aaf71e86e64d3)

Author SHA1 Message Date
GitHub Action a4dcb3a9c1 [ci skip] Translation update 2022-08-24 00:27:09 +00:00
J. Nick Koston c975146146
Reduce discovery integration matching overhead (#77194) 2022-08-23 10:35:20 -04:00
J. Nick Koston c76dec138a
Discover new bluetooth adapters when they are plugged in (#77006) 2022-08-22 15:45:08 -10:00
GitHub Action 0f0e398945 [ci skip] Translation update 2022-08-23 00:32:02 +00:00
J. Nick Koston 3938015c93
Add support for scanners that do not provide connectable devices (#77132) 2022-08-22 14:02:26 -04:00
J. Nick Koston f3e432c9c7
Reduce bluetooth logging noise when an adapter is recovered (#77109) 2022-08-21 12:03:14 -10:00
GitHub Action 296e52d918 [ci skip] Translation update 2022-08-21 00:24:25 +00:00
J. Nick Koston 2d0b11f18e
Add a new constant for multiple bluetooth watchdog failure hits (#77081) 2022-08-20 13:41:25 -10:00
J. Nick Koston 0bd4973134
Bump bluetooth-auto-recovery to 0.2.2 (#77082) 2022-08-20 13:41:09 -10:00
J. Nick Koston ced8278e32
Auto recover when the Bluetooth adapter stops responding (#77043) 2022-08-20 11:58:14 -10:00
J. Nick Koston 18246bb8c8
Improve bluetooth logging when there are multiple adapters (#77007) 2022-08-20 13:22:42 -04:00
GitHub Action 21cd2f5db7 [ci skip] Translation update 2022-08-20 00:23:43 +00:00
J. Nick Koston cd59d3ab81
Add support for multiple Bluetooth adapters (#76963) 2022-08-18 21:41:07 -04:00
J. Nick Koston 071cae2c0b
Implement auto switching when there are multiple bluetooth scanners (#76947) 2022-08-17 12:38:04 -10:00
J. Nick Koston 7bf13167d8
Prevent bluetooth scanner from being shutdown by BleakClient not using BLEDevice (#76945) 2022-08-17 11:42:12 -10:00
J. Nick Koston 3bcc274dfa
Rework bluetooth to support scans from multiple sources (#76900) 2022-08-17 10:51:56 -10:00
J. Nick Koston 6f3cdb6db1
Reorganize bluetooth integration to prepare for remote and multi-adapter support (#76883) 2022-08-16 14:52:53 -10:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
J. Nick Koston 4890785299
Fix bluetooth callback registration not surviving a reload (#76817) 2022-08-15 10:19:37 -10:00
J. Nick Koston eeb9a9f058
Make sure all discovery flows are using the helper (#76641) 2022-08-12 09:25:23 -04:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
Jc2k 0639681991
Add new Bluetooth coordinator helper for polling mostly passive devices (#76549) 2022-08-10 18:56:34 +01:00
Jc2k 7d427ddbd4
Allow parsing to happen in PassiveBluetoothProcessorCoordinator (#76384) 2022-08-09 06:36:39 +01:00
J. Nick Koston 1fe44d0997
Ensure bluetooth recovers if Dbus gets restarted (#76249) 2022-08-07 11:03:56 -04:00
Joakim Plate cdde4f9925
Add bluetooth API to allow rediscovery of address (#76005)
* Add API to allow rediscovery of domains

* Switch to clearing per device

* Drop unneded change
2022-08-05 14:49:34 +02:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
J. Nick Koston 5d7cef6416
Fix race in bluetooth async_process_advertisements (#76176) 2022-08-04 17:58:15 +02:00
J. Nick Koston 34b0e0d062
Bump bleak to 0.15.1 (#76136) 2022-08-03 07:46:54 -10:00
J. Nick Koston bf931f1225
Handle additional bluetooth start exceptions (#76096) 2022-08-02 13:46:43 -10:00
J. Nick Koston 56050e9fbe
Lower bluetooth startup timeout to 9s to avoid warning (#76050) 2022-08-02 08:46:22 +02:00
J. Nick Koston 33651d14df
Bump bluetooth-adapters to 0.1.3 (#76052) 2022-08-02 08:36:27 +02:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
Franck Nijhof fc399f21e9
Guard imports for type hinting in Bluetooth (#75984) 2022-08-01 17:54:06 +02:00
GitHub Action 5bb5920697 [ci skip] Translation update 2022-08-01 00:28:32 +00:00
J. Nick Koston 80a9659524
Update to bleak 0.15 (#75941) 2022-07-29 17:53:33 -07:00
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
J. Nick Koston 702cef3fc7
Add startup timeout to bluetooth (#75848)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-28 11:14:13 -10:00
Jc2k 10356b9379
Fix Xiaomi BLE not detecting encryption for some devices (#75851) 2022-07-28 19:10:37 +01:00
GitHub Action 33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
J. Nick Koston 1e85ddabfd
Fix startup race in BLE integrations (#75780) 2022-07-26 09:29:23 -10:00
GitHub Action 9c725bc106 [ci skip] Translation update 2022-07-26 00:26:43 +00:00
J. Nick Koston a813cf987b
Add bluetooth options flow to pick the adapter (#75701) 2022-07-25 16:52:35 +02:00
GitHub Action 4a50010458 [ci skip] Translation update 2022-07-25 00:25:55 +00:00
J. Nick Koston 22ca28b93d
Ensure bluetooth can be reloaded when hot plugging a bluetooth adapter (#75699) 2022-07-24 19:23:23 -05:00
J. Nick Koston bbb9443b00
Fix bluetooth integration matching with service_data_uuids and service_uuids (#75687)
* Fix bluetooth integration with service_data and service_uuids

We would only dispatch a new flow when the address was seen for
the first time or the manufacturer_data appeared in a followup
advertisement. Its also possible for the service_data and
service_uuids to appear in a followup advertisement so we
need to track these as well

* improve logging to avoid overly large messages

* improve logging to avoid overly large messages

* adjust

* adjsut

* split

* coverage

* coverage

* coverage

* coverage

* fix matcher

* more coverage

* more coverage

* more coverage

* revert switchbot changes and move to seperate PR
2022-07-24 16:39:53 -05:00
J. Nick Koston da131beced
Split bluetooth coordinator into two classes (#75675) 2022-07-23 19:33:47 -05:00
GitHub Action 19f82e5201 [ci skip] Translation update 2022-07-24 00:28:19 +00:00
J. Nick Koston c5afaa2e6a
Refactor PassiveBluetoothDataUpdateCoordinator to support multiple platforms (#75642) 2022-07-23 13:03:01 -05:00
J. Nick Koston 240bbfa080
Retry later if bluetooth fails to start (#75647) 2022-07-23 12:00:34 -05:00
Franck Nijhof 8d6247446b
Automatically set up Bluetooth during onboarding (#75658) 2022-07-23 10:47:12 -05:00