GitHub Action
197e71203b
[ci skip] Translation update
2022-11-30 00:26:16 +00:00
epenet
e6333c15eb
Use SchemaOptionsFlowHandler in bluetooth ( #82900 )
2022-11-29 13:36:50 +01:00
J. Nick Koston
d885e45ebb
Bump bluetooth-auto-recovery to 0.5.3 ( #82909 )
2022-11-29 12:50:54 +01:00
J. Nick Koston
46b18367f7
Send back BLE address type when connecting via esphome proxies ( #82890 )
2022-11-28 18:54:53 -10:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00
J. Nick Koston
d6e287f47a
Add manufacturer and model to bluetooth adapter device ( #82769 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-11-27 15:44:44 -05:00
J. Nick Koston
f0ae1cc6ce
Add bluetooth diagnostics to esphome ( #82761 )
2022-11-27 14:59:37 -05:00
J. Nick Koston
6662dbf3c8
Bump bluetooth-auto-recovery to 0.5.2 ( #82768 )
2022-11-27 14:27:59 -05:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00
GitHub Action
33d391a110
[ci skip] Translation update
2022-11-24 00:26:32 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
J. Nick Koston
a7caa038be
Accept advertisements from alternate scanners when a scanner stops scanning ( #82448 )
2022-11-21 21:23:07 -05:00
GitHub Action
0be2a3f182
[ci skip] Translation update
2022-11-22 00:26:32 +00:00
GitHub Action
3bea04e387
[ci skip] Translation update
2022-11-21 00:26:41 +00:00
J. Nick Koston
3f5649092e
Break out bluetooth apis into api.py ( #82416 )
...
* Break out bluetooth apis into api.py
Like #82291 this is not a functional change.
* cleanups
2022-11-20 12:33:03 -05:00
J. Nick Koston
7801cd96de
Split bluetooth models into base_scanner and wrappers ( #82291 )
2022-11-20 08:44:28 -06:00
J. Nick Koston
9add474c45
Bump bleak-retry-connector to 2.8.5 ( #82387 )
...
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.4...v2.8.5
from: https://github.com/esphome/esphome/pull/4049
2022-11-19 19:46:06 -05:00
GitHub Action
5119005a8d
[ci skip] Translation update
2022-11-18 00:29:16 +00:00
J. Nick Koston
f28d9285bf
Bump dbus-fast to 1.75.0 ( #82289 )
2022-11-17 23:02:35 +01:00
J. Nick Koston
47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters ( #82196 )
...
* Offload platform specific bluetooth code to bluetooth-adapters
* adjust
* fix some more patch targets
* more test fixes
* almost there
* may not be setup yet
* more fixes
* fixes
* fix test
* fix merge
2022-11-17 14:34:19 -05:00
J. Nick Koston
0aa5610d88
Add bluetooth loggers to manifest.json ( #82276 )
2022-11-17 11:06:21 -06:00
J. Nick Koston
08398370c5
Bump dbus-fast to 1.74.1 ( #82202 )
2022-11-16 11:26:47 -06:00
J. Nick Koston
1f0691bf18
Bump bluetooth-auto-recovery to 0.4.0 ( #82195 )
2022-11-16 17:07:01 +01:00
J. Nick Koston
682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth ( #82064 )
2022-11-15 14:00:52 -06:00
J. Nick Koston
f497b989b9
Bump dbus-fast to 1.74.0 ( #82107 )
...
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.73.0...v1.74.0
2022-11-15 15:27:54 +01:00
J. Nick Koston
f584efa0c2
Move bluetooth remote scanner implementation into a base class ( #82012 )
2022-11-13 14:18:36 -06:00
J. Nick Koston
e4ecaa433a
Update bluetooth util for upcoming bleak ( #82020 )
...
Fixes
```
Nov 08 21:41:14 homeassistant homeassistant[474]: /usr/src/homeassistant/homeassistant/components/bluetooth/util.py:39: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead
Nov 08 21:41:14 homeassistant homeassistant[474]: rssi=history.device.rssi,
```
2022-11-13 11:28:49 +01:00
J. Nick Koston
62bd692a58
Bump bluetooth-data-tools to 0.3.0 ( #82016 )
...
prep work for #82007
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.2.0...v0.3.0
2022-11-13 09:47:24 +01:00
J. Nick Koston
de48ae2e53
Bump dbus-fast to 1.73.0 ( #81959 )
...
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.72.0...v1.73.0
2022-11-11 23:22:22 +01:00
J. Nick Koston
89959e7cda
Reduce complexity of bluetooth scanners for local adapters ( #81940 )
...
This is a small refactor to align the bluetooth scanner class
to the same design used in the esphome scanner to pass the
callback for new service infos in the constructor.
The original thinking was that multiple callbacks would
be needed to send the service infos to different paths,
however with the creation of a central manager, this
designed turned out to not be needed and can be
simplified
2022-11-11 14:59:06 +01:00
J. Nick Koston
777bf27dda
Bump bleak-retry-connector to 2.8.4 ( #81937 )
...
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.3...v2.8.4
reduces the risk that the operation will fail because the adapter
temporarily runs out of connection slots
2022-11-11 08:51:58 +01:00
J. Nick Koston
78180b2ad8
Fix bluetooth adapters with missing firmware patch files not being discovered ( #81926 )
2022-11-10 14:14:37 -06:00
J. Nick Koston
b7533aff48
Replace led-ble util with bluetooth-data-tools ( #81093 )
2022-11-08 07:26:16 -06:00
J. Nick Koston
3184c8a526
Fix use of deprecated device.rssi in bluetooth scanner ( #81690 )
2022-11-07 12:06:38 +01:00
J. Nick Koston
9c3bd22e77
Bump bleak to 0.19.2 ( #81688 )
2022-11-06 19:07:21 -06:00
J. Nick Koston
c3946159d8
Bump bleak-retry-connector to 2.8.3 ( #81675 )
...
Improves chances of making a BLE connection with the ESP32s
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.2...v2.8.3
2022-11-07 00:45:53 +01:00
J. Nick Koston
b18a1e6d7c
Bump dbus-fast to 1.72.0 ( #81574 )
2022-11-06 08:12:58 -06:00
J. Nick Koston
089c4a7da2
Bump bluetooth-adapters to 0.7.0 ( #81576 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/releases/tag/v0.7.0
2022-11-05 10:44:05 +01:00
GitHub Action
0311063c44
[ci skip] Translation update
2022-11-05 00:28:23 +00:00
J. Nick Koston
ca905a8c05
Bump dbus-fast to 1.71.0 ( #81541 )
...
performance improvements
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.67.0...v1.71.0
2022-11-04 15:29:15 +01:00
J. Nick Koston
93072d8ac5
Bump dbus-fast to 1.67.0 ( #81517 )
...
Bump dbus to 1.67.0
The bleak BlueZ clients use the negotiate_unix_fd path
which was not optimized but is now. (The scanners already
used a fast path)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.64.0...v1.67.0
2022-11-04 06:34:23 +01:00
J. Nick Koston
905005e1e8
Bump dbus-fast 1.64.0 ( #81462 )
...
- Performance improvements
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.61.1...v1.64.0
2022-11-03 12:51:38 +01:00
J. Nick Koston
10aa1d386a
Bump dbus-fast to 1.61.1 ( #81386 )
2022-11-01 20:52:13 -04:00
J. Nick Koston
54df052699
Bump bleak-retry-connector to 2.8.2 ( #81370 )
...
* Bump bleak-retry-connector to 2.8.2
Tweaks for the esp32 proxies now that we have better error
reporting. This change improves the retry cases a bit with
the new https://github.com/esphome/esphome/pull/3971
* empty
2022-11-01 21:49:05 +01:00
J. Nick Koston
5b09ab93dc
Immediately prefer advertisements from alternate sources when a scanner goes away ( #81357 )
2022-11-01 13:07:03 -04:00
J. Nick Koston
1589c06203
Significantly reduce clock_gettime syscalls on platforms with broken vdso ( #81257 )
2022-10-31 09:35:08 -04:00
J. Nick Koston
8416cc1906
Try to switch to a different esphome BLE proxy if we run out of slots while connecting ( #81268 )
2022-10-31 09:27:04 -04:00
J. Nick Koston
5ba3b499fe
Bump dbus-fast to 1.60.0 ( #81296 )
2022-10-31 09:18:49 -04:00
J. Nick Koston
1bdd8fff44
Bump bleak-retry-connector to 2.8.1 ( #81285 )
...
* Bump bleak-retry-connector to 2.8.1
reduces logging now that we have found the problem
with esphome devices not disconnecting ble devices
after timeout
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.0...v2.8.1
* empty
2022-10-31 00:28:38 -05:00
J. Nick Koston
1d94fbb176
Bump bleak-retry-connector to 2.8.0 ( #81283 )
2022-10-30 20:40:01 -05:00
J. Nick Koston
4fb6fa9cca
Bump bleak-retry-connector to 2.7.0 ( #81280 )
2022-10-30 19:24:32 -05:00
J. Nick Koston
1106df158d
Bump bleak-retry-connector to 2.6.0 ( #81270 )
2022-10-30 17:38:09 -05:00
J. Nick Koston
d9d6902803
Bump dbus-fast to 1.59.1 ( #81229 )
...
* Bump dbus-fast to 1.59.1
fixes incorrect logging of an exception when it was already handled
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.59.0...v1.59.1
* empty
2022-10-30 11:32:57 +01:00
GitHub Action
1c7800c224
[ci skip] Translation update
2022-10-30 00:32:36 +00:00
J. Nick Koston
7f047cf95c
Bump dbus-fast to 1.59.0 ( #81215 )
...
* Bump dbus-fast to 1.59.0
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.58.0...v1.59.0
* empty
2022-10-29 15:06:17 -04:00
J. Nick Koston
ccfa314e87
Update to bleak 0.19.1 and bleak-retry-connector 2.5.0 ( #81198 )
2022-10-29 14:25:35 -04:00
J. Nick Koston
91efe68cdd
Bump dbus-fast to 1.58.0 ( #81195 )
2022-10-29 14:22:46 -04:00
J. Nick Koston
effe8d9207
Bump dbus-fast to 1.56.0 ( #81177 )
...
* Bump dbus-fast to 1.56.0
Addes optimized readers for manufacturer data
and interfaces added messages
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.55.0...v1.56.0
* empty
2022-10-29 09:40:40 +02:00
J. Nick Koston
e47f06fde8
Bump dbus-fast to 1.54.0 ( #81148 )
...
* Bump dbus-fast to 1.53.0
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.51.0...v1.53.0
* 54
2022-10-28 21:01:03 -04:00
J. Nick Koston
588277623f
Bump dbus-fast to 1.51.0 ( #81109 )
2022-10-27 15:38:53 -04:00
J. Nick Koston
2a6f2f431d
Bump dbus-fast to 1.49.0 ( #81043 )
2022-10-26 14:39:27 -05:00
J. Nick Koston
f61c010116
Bump bleak-retry-connector to 2.4.2 ( #80908 )
2022-10-24 14:27:04 -05:00
J. Nick Koston
9978296ae2
Bump bleak-retry-connector to 2.4.0 ( #80887 )
2022-10-24 09:28:59 -05:00
J. Nick Koston
95d6859cb7
Log bluetooth advertisement before firing bleak callbacks ( #80800 )
...
The debug log was confusing because the bleak callbacks
were firing before we were logging the advertisements
2022-10-23 11:34:03 +02:00
J. Nick Koston
b952797298
Bump bleak-retry-connector to 2.3.2 ( #80790 )
2022-10-22 16:14:11 -05:00
J. Nick Koston
91c5aac8ba
Add homekit notifications to the list of allowed apple bluetooth start bytes ( #80733 )
2022-10-21 13:54:02 -05:00
GitHub Action
0199e0a756
[ci skip] Translation update
2022-10-21 00:30:37 +00:00
J. Nick Koston
03362bec1c
Defer bluetooth scanner watchdog restart if one is already in progress ( #80679 )
2022-10-20 13:56:20 -05:00
J. Nick Koston
5589edd814
Fix bluetooth calls from automations in esphome ( #80683 )
2022-10-20 14:35:38 -04:00
J. Nick Koston
da14acb3b6
Speed up restart when bluetooth adapter is in a failed state ( #80640 )
2022-10-20 16:35:09 +02:00
J. Nick Koston
540d959dd2
Bump bluetooth-auto-recovery to 0.3.6 ( #80643 )
...
* Bump bluetooth-auto-recovery to 0.3.5
changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.4...v0.3.5
* bump again for more rfkill fixes
2022-10-20 07:13:41 +02:00
J. Nick Koston
2c36ee412a
Bump dbus-fast to 1.47.0 ( #80633 )
2022-10-19 16:52:19 -05:00
J. Nick Koston
a708fc9984
Bump bleak-retry-connector to 2.3.1 ( #80549 )
2022-10-18 11:48:52 -05:00
J. Nick Koston
1700da0ed3
Reduce chance of bluetooth devices going unavailable when adapter stops responding ( #80545 )
2022-10-18 11:23:15 -05:00
J. Nick Koston
f70f972d88
Fix connectable Bluetooth devices not being seen if the nearest scanner is non-connectable ( #80388 )
...
If we saw the non-connectable scanner advertisement first we would reject
the connectable scanner advertisement because it had worse signal strength.
In this case we need to check both
2022-10-17 21:13:26 -04:00
Joakim Plate
9eb4faf037
Fire bluetooth listener for all matching devices ( #80440 )
...
* Fire listener for all matching devices
* Add test case for seen device
* Avoid looping all data if we have address match
* Initialize to empty list
2022-10-16 21:49:12 +02:00
J. Nick Koston
3b31330882
Bump bleak-retry-connector to 2.3.0 ( #80397 )
2022-10-15 14:08:15 -10:00
J. Nick Koston
d12cbab6c4
Bump bleak to 0.19.0 ( #80349 )
2022-10-15 13:57:23 -04:00
J. Nick Koston
0c76e3a97e
Automatically determine the advertising interval for bluetooth devices ( #79669 )
2022-10-14 14:39:18 -04:00
J. Nick Koston
46c6043856
Bump dbus-fast to 1.45.0 ( #80289 )
...
significant performance improvements
https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.44.0...v1.45.0
2022-10-14 00:41:06 +03:00
J. Nick Koston
237b03150e
Bump dbus-fast to 1.44.0 ( #80149 )
2022-10-12 11:37:26 +02:00
J. Nick Koston
fe5534666d
Bump dbus-fast to 1.41.0 ( #80062 )
2022-10-10 18:52:44 -10:00
J. Nick Koston
ef719cf7ef
Bump bluetooth-auto-recovery to 0.3.4 ( #79971 )
2022-10-09 17:56:11 -10:00
J. Nick Koston
7a1939c608
Bump dbus-fast to 1.38.0 ( #79962 )
2022-10-09 14:07:22 -10:00
J. Nick Koston
2decb85ee6
Bump dbus-fast to 1.33.0 ( #79921 )
2022-10-08 15:51:45 -10:00
J. Nick Koston
fca8586fb6
Bump dbus-fast to 1.29.1 ( #79787 )
...
* Bump dbus-fast to 1.28.0
Performance improvements
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.26.0...v1.28.0
* bump again
* bump for cleanups
2022-10-07 23:50:50 +03:00
J. Nick Koston
9b4c7f5dc5
Bump dbus-fast to 1.26.0 ( #79684 )
2022-10-05 19:17:10 -10:00
J. Nick Koston
c798723c27
Fix bluetooth diagnostics on macos ( #79680 )
...
* Fix bluetooth diagnostics on macos
The pyobjc objects cannot be pickled which cases dataclasses
asdict to raise an exception when trying to do the deepcopy
We now implement our own as_dict to avoid this problem
* add cover
2022-10-06 04:32:29 +02:00
J. Nick Koston
89c4bf6536
Bump dbus-fast to 1.24.0 ( #79608 )
2022-10-04 08:55:28 -10:00
J. Nick Koston
a3989b90fe
Bump dbus-fast to 1.23.0 ( #79570 )
2022-10-03 16:44:54 -10:00
J. Nick Koston
2768b2445a
Remove call to deprecated bleak register_detection_callback ( #79558 )
2022-10-03 21:15:09 -04:00
J. Nick Koston
aa3aa91358
Bump dbus-fast to 1.22.0 ( #79527 )
...
Performance improvements
https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.21.17...v1.22.0
2022-10-03 15:11:51 +02:00
J. Nick Koston
da960f6ed4
Bump bluetooth dependencies ( #79514 )
2022-10-02 21:12:14 -04:00
J. Nick Koston
653620345c
Bump dbus-fast to 1.20.0 ( #79465 )
2022-10-02 12:46:01 -04:00
J. Nick Koston
8a73795f50
Bump bluetooth-adapters to 0.5.3 ( #79442 )
2022-10-01 21:27:44 -04:00
J. Nick Koston
d9191cf2f2
Bump dbus-fast to 1.18.0 ( #79440 )
...
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.17.0...v1.18.0
2022-10-01 14:45:01 -10:00
GitHub Action
bd5ec4e198
[ci skip] Translation update
2022-10-01 00:40:08 +00:00
GitHub Action
21b078eeb7
[ci skip] Translation update
2022-09-30 00:42:29 +00:00
GitHub Action
63f2c4ab98
[ci skip] Translation update
2022-09-29 00:36:54 +00:00
Marc Mueller
4a432db611
Remove type ignore from bluetooth ( #79146 )
2022-09-28 10:29:55 +02:00