Jesse Hills
a62c7a03dd
[api] Add support for getting action responses from home-assistant ( #10948 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-10-08 20:47:36 +13:00
J. Nick Koston
7b48fc292f
[api] Consolidate fatal error logging to reduce flash usage ( #11015 )
2025-10-05 09:56:30 -04:00
J. Nick Koston
f2aa5a754c
[api] Remove ClientInfo::get_combined_info() to eliminate heap fragmentation ( #10970 )
2025-10-02 12:44:30 +13:00
Jesse Hills
63326cbd6d
[api] Rename HomeassistantServiceResponse to HomeassistantActionRequest ( #10839 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-09-23 17:58:24 -05:00
Keith Burzinski
fad0ec7793
[zwave_proxy] New component ( #10762 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-09-18 15:43:14 -05:00
J. Nick Koston
ff2df278d6
[api] Rename ConnectRequest/Response to AuthenticationRequest/Response ( #10726 )
2025-09-18 07:42:37 +12:00
J. Nick Koston
459ef7f262
[api] Exclude ConnectRequest/Response when password is disabled ( #10704 )
2025-09-14 20:45:28 -05:00
J. Nick Koston
bb6be9c939
[api] Revert unneeded GetTime bidirectional support added in #9790 ( #10702 )
2025-09-15 09:52:19 +12:00
J. Nick Koston
3fd469cfe8
[esp8266][api] Store error strings in PROGMEM to reduce RAM usage ( #10568 )
2025-09-05 18:16:43 -05:00
J. Nick Koston
a92a08c2de
[api] Fix string lifetime issue in fill_and_encode_entity_info for dynamic object_id ( #10482 )
2025-08-28 18:40:36 +00:00
J. Nick Koston
5a1533bea9
[api] Avoid object_id string allocations for all entity info messages ( #10260 )
2025-08-20 14:28:13 +12:00
J. Nick Koston
efaeb91803
[api] Mark APIConnection as final for compiler optimizations ( #10279 )
2025-08-18 16:01:45 -05:00
J. Nick Koston
5fa84439c2
[api] Optimize message buffer allocation and eliminate redundant methods ( #10231 )
2025-08-14 20:26:09 -05:00
J. Nick Koston
d69e98e15d
[api] Fix OTA progress updates not being sent when main loop is blocked ( #10049 )
2025-08-04 00:23:45 +00:00
J. Nick Koston
28b277c1c4
[bluetooth_proxy] Optimize UUID transmission with efficient short_uuid field ( #9995 )
2025-07-31 16:20:53 -05:00
J. Nick Koston
1d0a38446f
[api] Reduce flash usage through targeted optimizations ( #9979 )
2025-07-30 20:10:23 -05:00
J. Nick Koston
59d466a6c8
[api] Remove unnecessary string copies from optional access ( #9897 )
2025-07-29 08:55:41 +12:00
J. Nick Koston
05f6d01cbe
[api] Add conditional compilation for Home Assistant service subscriptions ( #9900 )
2025-07-27 18:35:35 -10:00
J. Nick Koston
a9d6ece752
[api] Add conditional compilation for Home Assistant state subscriptions ( #9898 )
2025-07-26 01:28:44 -05:00
J. Nick Koston
da491f7090
[api] Add missing USE_API_PASSWORD guards to reduce flash usage ( #9899 )
2025-07-26 01:21:09 -05: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