Commit Graph

110 Commits (e4c610af62f6cd7daea999f725fcea8025e087e2)

Author SHA1 Message Date
J. Nick Koston 070aa714a0
Switch to a different local Bluetooth adapter when one runs out of connection slots (#84331) 2022-12-23 08:58:33 -10:00
J. Nick Koston 88ef8cc51a
Bump bluetooth-data-tools to 0.3.1 (#84258)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.3.0...v0.3.1
2022-12-19 22:45:39 +02:00
J. Nick Koston c70faeae96
Bump bluetooth-auto-recovery to 1.0.3 (#84075)
* Bump bluetooth-auto-recovery to 1.0.1

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v1.0.0...v1.0.1

Handles the case were the adapter gets a new hci number
after a usb reset.

* one more

* bump again
2022-12-16 09:25:23 -05:00
J. Nick Koston 7c6806e75d
Fix bleak-retry-connector get_device hang with HAOS 9.4 and only proxies (#83879)
The bleak connection setup to dbus hangs forever instead of errors if
there are no local bluetooth adapters and we are using remote proxies.

The library now times out when this happens instead of hanging
forever.

changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.10.1...v2.10.2
2022-12-12 21:29:39 -05:00
J. Nick Koston 876258e68a
Bump bluetooth-auto-recovery to 1.0.0 (#83800)
fixes https://github.com/home-assistant/core/issues/83673
2022-12-12 11:49:57 +01:00
J. Nick Koston 9008006ac8
Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
J. Nick Koston df0f694b01
Bump dbus-fast to 1.82.0 (#83682)
performance improvements for HAOS 9.4 passive monitoring

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.80.0...v1.82.0
2022-12-09 20:55:20 -05:00
J. Nick Koston 558dceac42
Bump dbus-fast to 1.80.0 (#83601)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.79.0...v1.80.0

performance improvements
2022-12-09 05:03:09 +01:00
J. Nick Koston 52f754e83d
Bump bluetooth-auto-recovery to 0.5.5 (#83597)
changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.5.4...v0.5.5

fixes #78036
2022-12-08 20:29:14 -05:00
J. Nick Koston 8193ddf61a
Bump dbus-fast to 1.79.0 (#83598)
HA OS 9.4 adds support for passive scanning, however
a different path is used in dbus-fast to get the passive
results which was never optimized which caused passive
scanning to use more cpu time than active scanning.

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.75.0...v1.79.0
2022-12-08 20:28:52 -05:00
J. Nick Koston 1ee9c0cb8d
Fix bluetooth device connection failure when device is seen by dbus but not bleak (#83281) 2022-12-05 22:34:21 -05:00
J. Nick Koston 955d4abf13
Fix missing services with esp32 proxies (#83192) 2022-12-03 13:50:59 -05:00
J. Nick Koston 6651dfaf9b
Bump bluetooth-auto-recovery to 0.5.4 (#83155)
changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.5.3...v0.5.4
2022-12-02 19:48:06 -05:00
J. Nick Koston 144f1b918b
Fix logging the wrong bluetooth adapter while connecting and out of slots (#83158) 2022-12-02 13:24:12 -10:00
J. Nick Koston ccb5910db0
Bump bleak-retry-connector to 2.8.7 (#83095)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.6...v2.8.7
2022-12-02 08:08:56 +01:00
J. Nick Koston d620b199fc
Bump bleak-retry-connector to 2.8.6 (#83011) 2022-11-30 23:10:06 +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 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 6662dbf3c8
Bump bluetooth-auto-recovery to 0.5.2 (#82768) 2022-11-27 14:27:59 -05: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
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 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 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 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 b7533aff48
Replace led-ble util with bluetooth-data-tools (#81093) 2022-11-08 07:26:16 -06: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
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 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
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