Commit Graph

192 Commits (0311063c4417e70b566eef8e4156c362fec1a199)

Author SHA1 Message Date
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