J. Nick Koston
0420bb3862
[api] Add conditional compilation for Home Assistant state subscriptions
2025-07-25 11:47:52 -10:00
J. Nick Koston
c74f12be98
[api] Use C++17 nested namespace syntax ( #9856 )
2025-07-24 07:15:42 +00:00
J. Nick Koston
a614a68f1a
[api] Implement zero-copy string optimization for outgoing protobuf messages ( #9790 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-22 07:33:03 -10:00
J. Nick Koston
5b5982cfdd
[api] Reduce memory usage by eliminating duplicate client info strings ( #9740 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-21 11:34:59 +12:00
J. Nick Koston
2540e7edb2
[api] Remove deprecated protobuf fields to reduce flash usage ( #9679 )
2025-07-21 10:35:53 +12:00
J. Nick Koston
5511d61dba
[api] Eliminate heap allocation in process_batch_ using stack-allocated PacketInfo array ( #9703 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-21 10:24:57 +12:00
J. Nick Koston
5b3d61b4a6
[api] Fix missing ifdef guards for field_ifdef fields in protobuf base classes ( #9693 )
2025-07-20 15:41:00 +12:00
J. Nick Koston
f5afe1145e
Refactor API send_message from template to non-template implementation ( #9561 )
2025-07-18 10:28:14 +12:00
J. Nick Koston
2c478efcba
Refactor API connection entity encoding to reduce code duplication ( #9505 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 07:54:49 +00:00
J. Nick Koston
3ab1ee7a04
Reduce binary size with field-level conditional compilation for protobuf messages ( #9473 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 18:36:26 +12:00
J. Nick Koston
40935f7ae4
Skip API log message calls for unsubscribed log levels ( #9514 )
2025-07-16 13:43:55 +12:00
J. Nick Koston
5c2dea79ef
Make API ConnectRequest optional for passwordless connections ( #9445 )
2025-07-16 13:14:43 +12:00
J. Nick Koston
dd5ba5a90c
Conditionally compile API user services to save 4.3KB flash (follow-up to #9262 ) ( #9451 )
2025-07-11 19:08:03 -10:00
J. Nick Koston
143bf694c7
Optimize API flash usage by storing message size at compile time ( #9447 )
2025-07-11 19:38:23 -05:00
J. Nick Koston
ee8ee4e646
Optimize logger callback API by including message length parameter ( #9368 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-07 22:00:03 +00:00
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