J. Nick Koston
206659ddb8
Refactor voice assistant API methods to reduce code duplication ( #9374 )
2025-07-08 09:15:49 +12:00
DT-art1
e49b89a051
Introduce base Camera class to support alternative camera implementations ( #9285 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-07-07 15:45:00 +12:00
J. Nick Koston
14d7c4bdbd
Add device_id to entity state messages for sub-device support ( #9304 )
2025-07-04 12:31:03 +12:00
J. Nick Koston
34db02661c
Allow disabling API batch delay for real-time state updates ( #9298 )
2025-07-02 21:50:53 -05:00
J. Nick Koston
0083abe3b5
Fix regression: BK7231N devices not returning entities via API ( #9283 )
2025-07-02 11:30:03 +12:00
J. Nick Koston
24bbfcdce7
Reduce API memory footprint through bitfield consolidation and type sizing ( #9252 )
2025-06-30 11:42:57 +12:00
J. Nick Koston
d78b720350
Remove single-use send_*_info wrappers in API connection ( #9255 )
2025-06-30 11:38:11 +12:00
J. Nick Koston
86c0fb48a3
Replace ping retry timer with batch queue fallback ( #9207 )
2025-06-29 09:08:30 +12:00
J. Nick Koston
13d4823db6
Fix buffer corruption in API message encoding with very verbose logging ( #9249 )
2025-06-29 08:04:42 +12:00
J. Nick Koston
79e3d2b2d7
Optimize API connection memory with tagged pointers ( #9203 )
2025-06-26 13:55:12 +12:00
DanielV
b18ff48b4a
[API] Sub devices and areas ( #8544 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-06-25 12:03:41 +00:00
J. Nick Koston
eeb0710ad4
Optimize API component memory usage by reordering class members to reduce padding ( #9111 )
2025-06-19 13:08:25 +12:00
J. Nick Koston
1dbebe90ba
Add common base classes for entity protobuf messages to reduce duplicate code ( #9090 )
2025-06-16 09:29:25 +12:00
J. Nick Koston
a1e4143600
Small optimizations to api buffer helper ( #9071 )
2025-06-15 14:55:03 +12:00
J. Nick Koston
e8aa7cff36
Improve shutdown reliability when tx buffer is full ( #9043 )
2025-06-11 22:08:23 +12:00
J. Nick Koston
2ed5611a08
Replace API deferred queue with efficient message batching system ( #9012 )
2025-06-11 11:49:15 +12:00
J. Nick Koston
5b552b9ec5
Fix API connection sending ping too early after connection establishment ( #8840 )
2025-05-19 15:22:36 +12:00
J. Nick Koston
b0c1e0e28c
Refactor API frame helpers to enable buffer reuse ( #8825 )
2025-05-19 09:05:20 +12:00
J. Nick Koston
bb1f24ab43
Avoid protobuf message construction when tx buffer is full ( #8787 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-14 21:25:44 -05:00
J. Nick Koston
9e64e71cdf
Require reserve_size in create_buffer to reduce realloc overhead ( #8715 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-08 05:50:20 +00:00
Jesse Hills
ecb91b0101
[bluetooth_proxy] Allow changing active/passive via api ( #8649 )
2025-04-29 12:43:55 +00:00
Keith Burzinski
2fd5f9ac58
[api] Allow noise encryption key to be set at runtime ( #7296 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-04-17 13:15:25 +12:00
Nick Kinnan
6aba1dbd73
[api] ensure fair network sharing + prevent lost state changes via deferred publish at high event load ( #7547 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-02-25 10:20:21 +11:00
tomaszduda23
cbc03aae80
[code-quality] fix clang-tidy api ( #7279 )
2024-10-07 11:55:11 +13:00
Michael Hansen
5a3e1d5792
Add voice assistant methods for configuration ( #7459 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-09-18 11:38:39 +12:00
Michael Hansen
8bd46a43b9
Add voice assistant announce ( #7377 )
2024-09-09 12:54:20 +12:00
Jesse Hills
3cd2fb0843
[core] Update Entities ( #6885 )
2024-06-12 09:57:36 +12:00
Jesse Hills
854d3f2e4a
[voice_assistant] Timers ( #6821 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2024-05-30 13:09:19 +12:00
Jesse Hills
8ef7b41c91
Add datetime entities ( #6513 )
2024-04-26 09:19:54 +12:00
David Friedland
c531a528f0
Event entity support ( #6451 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-24 14:35:26 +12:00
Keith Burzinski
eb89d99999
Add valve component ( #6447 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-23 16:47:03 +12:00
Jesse Hills
76c5337987
Add support for time entities ( #6399 )
...
* Add time entities
* Add tests
* Add myself to datetime codeowners
* Fix publishing times with 0 values
* Log performing TimeCall
* Implement `on_time` trigger
* Rename var
* Fix initial value for time
* Add arg name for clarity
* Remove useless checks
2024-04-08 20:46:35 -05:00
Jesse Hills
6f71363d9b
Send/Receive Voice Assistant audio via API ( #6471 )
...
Co-authored-by: Michael Hansen <mike@rhasspy.org >
2024-04-08 16:19:22 +12:00
RFDarter
1e96a19d09
Add datetime date entities ( #6191 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-03-11 07:52:22 +13:00
J. Nick Koston
4fb7e945f8
Fix unexpected disconnects when outgoing buffer is full during keepalive ( #5988 )
2023-12-22 11:59:24 +09:00
Jesse Hills
193bac94f4
Add on_client_connected and disconnected to voice assistant ( #5629 )
2023-10-30 17:16:42 -05:00
Jesse Hills
27b593ba85
Add connection triggers to api ( #5628 )
2023-10-29 21:02:49 -05:00
Daniel Dunn
e80bd8ed3d
Add text component ( #5336 )
...
Co-authored-by: Maurits <maurits@vloop.nl >
Co-authored-by: mauritskorse <mauritskorse@gmail.com >
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-10-25 22:00:32 +13:00
Jesse Hills
511af5845e
Remote wake word support for voice assistant ( #5229 )
2023-10-10 19:52:42 +13:00
Jesse Hills
417d45939f
Fix silence detection flag on voice assistant ( #5120 )
2023-07-19 11:38:47 +12:00
Graham Brown
54474e5b33
Add Alarm Control Panel ( #4770 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-06-15 12:34:39 +12:00
Jesse Hills
ce13979690
Bluetooth Proxy: Raw bundled advertisements ( #4924 )
2023-06-09 07:41:09 +12:00
Jesse Hills
1ea5d90ea3
Continuous voice_assistant and silence detection ( #4892 )
2023-05-31 16:30:53 +12:00
Jesse Hills
b60c08dd28
Add push to talk voice assistant ( #4648 )
...
* Add push to talk voice assistant
* Refactor most code into voice_assistant
* Make voice_assistant the component and remove push_to_talk (can be done in yaml)
* Fix component setup
* Always AF_INET to match serverside
* Fix microphone and media player co-existence
* Format
* Update codeowners
* Update test file
* Fix endifs
* nullptr not NULL
* clang-tidy
* Format
* fixup: Add VA event data
* Generate proto
* Parse and log events
* Add default to switch
* Fix
* Add mic/va to test5
2023-04-11 23:45:10 +00:00
Jesse Hills
a546ffd490
Add ifdef to new bt proxy unsubscribe ( #4634 )
...
* Add ifdef to new bt proxy unsubscribe
* Also add to subscribe message and wrap api conneciton code
* Format file
2023-03-30 01:08:51 +00:00
richardhopton
922344811f
feat: Add support to unsubscribe from BLE advertisements ( #4620 )
...
* feat: Add support to unsubscribe from BLE advertisements
* Fix tests & clang
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-28 08:54:58 +00:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Jesse Hills
ed443c6153
Bluetooth Proxy active connections ( #3817 )
2022-10-04 10:45:06 +13:00
Jesse Hills
b854e17995
Initial bluetooth_proxy support ( #3736 )
2022-08-25 07:13:44 +12:00
Jesse Hills
6221f6d47d
Implement Media Player and I2S Media player ( #3487 )
2022-06-02 17:00:17 +12:00