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
6517e3e21e
Fix esphome bleak client seeing disconnects too late ( #81932 )
...
* Fix esphome bleak client seeing disconnects too late
Because allbacks are delivered asynchronously its possible
that we find out during the operation before the callback
is delivered telling us about the disconnected.
We now watch for error code -1 which indicates the connection
dropped out from under us
* debug logging
* cleanup comment
* Fix comment grammar
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-11 09:09:28 +01:00
J. Nick Koston
6495c65d10
Align esphome ble client notify behavior to match BlueZ ( #81463 )
2022-11-05 15:28:47 -05:00
J. Nick Koston
972b36b469
Adjust time to remove stale connectable devices from the esphome ble to closer match bluez ( #81356 )
2022-11-01 13:07:42 -04:00
J. Nick Koston
d87ca0b099
Improve esphome bluetooth error reporting ( #81326 )
2022-10-31 21:21:11 -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
8db7afb2e0
Include esphome device name in BLE logs ( #81284 )
...
* Include esphome device name in BLE logs
This makes it easier to debug what is going on when there
are multiple esphome proxies
* revert unintended change
2022-10-31 00:31:37 -05:00
J. Nick Koston
ccefc510c3
Do not fire the esphome ble disconnected callback if we were not connected ( #81286 )
2022-10-30 22:10:30 -05:00
J. Nick Koston
c8a3392471
Move esphome gatt services cache to be per device ( #81265 )
2022-10-30 18:02:54 -05:00
J. Nick Koston
11d7e1e45f
Provide a human readable error when an esphome ble proxy connection fails ( #81266 )
2022-10-30 17:43:09 -05:00
J. Nick Koston
27a61f5407
Raise exception when esphome ble client disconnects during operation ( #80885 )
2022-10-24 14:04:50 -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
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
07d4ac42d4
Fix Bluetooth failover when esphome device unexpectedly disconnects ( #79769 )
2022-10-06 16:40:40 -10:00
J. Nick Koston
dac60990ee
Ensure bluetooth disconnect callback fires if esphome config entry is reloaded ( #79389 )
2022-10-01 20:42:54 -04:00
J. Nick Koston
ca0cd19dc9
Switch to using new esphome bluetooth_proxy_version field ( #79331 )
2022-09-30 08:29:36 -04:00
J. Nick Koston
a01f18a3ac
Handle short local names from esphome proxies ( #79321 )
2022-09-29 14:37:31 -04:00
J. Nick Koston
0b5289f748
Wait for disconnect when we are out of connection ble slots in esphome ( #79246 )
2022-09-29 08:42:55 -04:00
J. Nick Koston
7042d6d35b
Add ESPHome BleakClient ( #78911 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-28 08:06:30 -10:00