J. Nick Koston
b12903e2e7
Refactor zeroconf code to avoid creating instances when one is unneeded ( #643 )
2023-11-17 13:11:36 -06:00
J. Nick Koston
c1a0500ecb
Update some legacy python code to python 3.9 ( #635 )
2023-11-11 14:19:04 -06:00
J. Nick Koston
b227f79dad
Refactor bluetooth client functions to reduce duplicate code ( #629 )
2023-11-10 17:14:00 -06:00
J. Nick Koston
a15b96c76b
Send hello and login asynchronously to speed up connecting ( #628 )
2023-11-09 19:17:53 -06:00
J. Nick Koston
ef9f9bf136
Ensure an empty noise_psk or expected_name is treated as None ( #623 )
2023-11-08 18:00:28 -06:00
J. Nick Koston
7ac7742c91
Ensure passed params are always a str ( #622 )
2023-11-08 17:26:51 -06:00
Daniel Dunn
5a8c0d8e23
Updated fork of PR for Text input components ( #532 )
...
Co-authored-by: Maurits <maurits@vloop.nl>
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-25 15:35:04 +13:00
J. Nick Koston
f34bfb5d1c
Simplify raw ble advertisements callbacks ( #594 )
2023-10-20 17:34:05 -10:00
J. Nick Koston
d950d90245
Improve consistency of name logging ( #577 )
2023-10-14 17:04:27 -10:00
J. Nick Koston
b7449d4ded
Split connection process to enable faster reconnects ( #576 )
2023-10-14 16:03:12 -10:00
Jesse Hills
a17dc3c380
Add voice assistant audio settings ( #556 )
2023-09-27 08:34:07 +13:00
J. Nick Koston
11a19438cb
Avoid a few calls to fetch loop time ( #533 )
2023-09-04 12:56:23 -05:00
J. Nick Koston
4c992365e0
Increase default bluetooth disconnect timeout to 20s ( #528 )
2023-09-03 08:28:39 -05:00
J. Nick Koston
eebc7d99f2
Make entity info and state mappings constants ( #523 )
2023-08-15 22:19:46 -05:00
Jesse Hills
2c7b2ed1a0
Add wake word capability to voice assistant ( #519 )
2023-08-10 16:03:15 +12:00
J. Nick Koston
90cb44224a
Reduce memory churn by avoiding reprocessing BluetoothLERawAdvertisement ( #507 )
2023-07-27 08:17:40 -05:00
J. Nick Koston
3432477c20
Avoid some data Bluetooth data conversions ( #501 )
2023-07-21 03:33:07 -05:00
J. Nick Koston
82ab7e489d
Add messages to all task cancels ( #497 )
2023-07-19 15:37:59 -05:00
J. Nick Koston
d63b9bbf5d
Upgrade python code to 3.9 ( #496 )
2023-07-19 15:33:28 -05:00
J. Nick Koston
2d89b9e267
Cleanup bluetooth connection failure code ( #495 )
2023-07-19 14:25:32 -05:00
J. Nick Koston
541ce059c0
Add slots to all models when using py3.10 or later ( #459 )
2023-07-18 17:23:07 -05:00
J. Nick Koston
8060c3c99d
Small speed up to bluetooth message wrapper ( #490 )
2023-07-18 14:11:06 -05:00
J. Nick Koston
92ec96469d
Remove memoryview wrapping for cameras ( #484 )
2023-07-17 09:47:06 -10:00
J. Nick Koston
6aeea79884
Speed up BLE connections ( #482 )
2023-07-15 11:16:44 -10:00
J. Nick Koston
ed0a611994
Improve error reporting for authenticated vs non-authenticated requests ( #481 )
2023-07-15 10:34:46 -10:00
J. Nick Koston
9112a68bf9
Guard a few frequently called instance checks with if TYPE_CHECKING ( #469 )
2023-07-15 07:55:07 -10:00
J. Nick Koston
8ac62a321f
Improve performance of converting raw BLE advertisements ( #462 )
2023-07-09 13:06:06 -10:00
J. Nick Koston
d53ab5d5bb
Use memoryview for camera images ( #456 )
2023-07-03 18:26:52 -05:00
J. Nick Koston
34f6badcde
Use slots for APIConnection and APIClient ( #453 )
2023-07-01 16:31:58 -05:00
Graham Brown
a79da42aaf
Add support for alarm_control_panel entities ( #427 )
2023-06-12 10:39:49 +12:00
Jesse Hills
44f0b8027d
Add raw ble advertisements support ( #439 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-07 00:42:57 -05:00
Jesse Hills
8340d2a6b8
Add use_vad flag to VA start request ( #438 )
2023-05-30 14:17:55 +12:00
Jesse Hills
b1bfabacc7
Add conversation_id to VA start request ( #437 )
2023-05-30 11:18:28 +12:00
J. Nick Koston
7b8ed9fd03
Fix BLE connection timing out on failure instead of raising ( #429 )
2023-05-07 09:05:51 -05:00
J. Nick Koston
de9b7266f1
Refactor reconnect logic to reduce complexity ( #426 )
2023-04-25 16:11:40 -04:00
J. Nick Koston
3f29ac92ad
Hold strong references to voice assistant tasks ( #424 )
2023-04-20 14:30:28 -10:00
Jesse Hills
15846c5896
Add initial voice assistant support ( #412 )
2023-04-11 15:57:35 +12:00
Jesse Hills
d7ae431c59
Disable pylint too-many-lines ( #413 )
2023-04-03 16:53:43 +12:00
J. Nick Koston
d6fd9b6cfd
Add the ability to clear the cache to the API ( #410 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-27 10:47:21 +13:00
richardhopton
4bb8fbbed1
feat: Unsubscribe from BLE advertisements fully on unsub ( #409 )
2023-03-27 09:35:11 +13:00
Fredrik Gustafsson
2041d747cb
add pairing methods ( #390 )
2023-03-07 07:07:58 +13:00
J. Nick Koston
0327f75414
Adjust ping timeout to prevent premature disconnections ( #395 )
2023-03-05 18:56:22 -10:00
J. Nick Koston
51d581dd9c
Cooldown before reconnecting on expected disconnect ( #397 )
2023-03-05 18:54:54 -10:00
Fredrik Gustafsson
3e60332a71
Fix bluetooth_device_connect returning prematurely from a disconnect ( #391 )
2023-02-24 08:31:24 -06:00
J. Nick Koston
f99db3577c
Remove useless on_msg function in subscribe_logs ( #380 )
2023-02-13 11:42:14 +13:00
J. Nick Koston
284b767d8d
Refactor cleanup to be a normal function ( #355 )
2023-01-06 21:42:39 -05:00
J. Nick Koston
2886d361f0
Simplify connection flow with an asyncio.Protocol ( #352 )
2023-01-05 23:24:10 -05:00
J. Nick Koston
049dc8bb56
Speed up parsing/conversion of BluetoothLEAdvertisement ( #353 )
2023-01-05 21:23:40 -05:00
J. Nick Koston
b34664e44c
Fix failure to reconnect when the process task raises an exception during decoding a protobuf message ( #339 )
2022-12-13 10:31:12 -10:00
J. Nick Koston
577868a84c
Add method to cancel bluetooth_gatt_start_notify upon ble device disconnect ( #329 )
2022-12-02 09:51:03 -10:00