J. Nick Koston
42aee53dde
[bluetooth_proxy] Replace dynamic vector with fixed array for BLE advertisements ( #10174 )
2025-08-11 15:47:46 -05:00
J. Nick Koston and Jesse Hills
c0c0a42362
[api] Use static allocation for areas and devices in DeviceInfoResponse ( #10038 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-08-04 02:37:47 +00:00
J. Nick Koston
00d9baed11
[bluetooth_proxy] Eliminate heap allocations in connection state reporting ( #10010 )
2025-08-01 20:26:00 -10: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
71557c9f58
[bluetooth_proxy] Batch BLE service discovery messages for 67% reduction in API traffic ( #9992 )
2025-07-30 23:11:11 -05:00
79533cb0d7
media_player add off on capability ( #9294 )
...
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: J. Nick Koston <nick+github@koston.org >
2025-07-30 12:02:53 -10:00
J. Nick Koston
76d33308d9
[api] Eliminate heap allocations when populating repeated fields from containers ( #9948 )
2025-07-30 10:41:37 +12:00
a7dd849a8e
Media player API enumeration alignment and feature flags ( #9949 )
...
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 >
2025-07-29 07:00:47 -10:00
J. Nick Koston
2c9987869e
[api] Align ProtoSize API design with ProtoWriteBuffer pattern ( #9920 )
2025-07-29 10:28:32 +12:00
J. Nick Koston
68f388f78e
[api] Optimize protobuf empty message handling to reduce flash and runtime overhead ( #9908 )
2025-07-29 10:25:07 +12:00
J. Nick Koston
1702356fc8
[api] Fix string lifetime issue in Home Assistant service calls with templated values ( #9909 )
2025-07-28 16:39:25 +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
c74f12be98
[api] Use C++17 nested namespace syntax ( #9856 )
2025-07-24 07:15:42 +00:00
J. Nick Koston and Jesse Hills
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
ac08fb314f
[api] Optimize protobuf memory usage with fixed-size arrays for Bluetooth UUIDs ( #9782 )
2025-07-22 21:50:49 +12:00
J. Nick Koston
db62a94712
[api] Implement zero-copy for all protobuf bytes fields ( #9761 )
2025-07-22 09:38:39 +12:00
J. Nick Koston
305667b06d
[api] Sync uses_password field_ifdef optimization from aioesphomeapi ( #9756 )
2025-07-21 16:59:48 +12:00
J. Nick Koston
acca629c5c
[api] Fix missing ifdef guards for AreaInfo and DeviceInfo messages ( #9730 )
2025-07-20 23:05:53 +00: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
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
ec5a517a76
Fix bluetooth_proxy heap allocations during BLE scanning ( #9633 )
2025-07-18 16:24:29 +12:00
J. Nick Koston
15768ec00d
Reduce API proto vtable overhead by splitting decode functionality ( #9541 )
2025-07-16 20:46:04 +12:00
J. Nick Koston and pre-commit-ci-lite[bot]
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 and Jesse Hills
f3c0c0c00c
Remove legacy unique_id field from entities ( #9022 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-16 04:56:49 +00:00
J. Nick Koston
1fda40f0ce
Only generate protobuf encode/decode methods for the message direction they're used ( #9461 )
2025-07-13 10:58:57 +12:00
J. Nick Koston
8863188dd8
Apply existing protobuf buffer optimization to nested message encoding (~2.3x speed up) ( #9458 )
2025-07-13 06:55:32 +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
475fe60f27
Sync api.proto from aioesphomeapi ( #9393 )
2025-07-11 08:33:18 -10:00
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
4ef5c941c9
Fix missing ifdef guards in API protobuf generator ( #9296 )
2025-07-03 09:39:20 +12:00
J. Nick Koston
f029f4f20e
Fix missing protobuf message dump for batched messages with very verbose logging ( #9206 )
2025-06-26 13:57:41 +12:00
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
b7b1d17ecb
Remove empty generated protobuf methods ( #9098 )
2025-06-19 12:06:39 +12:00
Michael Hansen
cb8b0ec62e
Add intent progress event to voice assistant enum ( #9103 )
2025-06-17 13:05:06 -05: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
2ed5611a08
Replace API deferred queue with efficient message batching system ( #9012 )
2025-06-11 11:49:15 +12:00
Jesse Hills
730441c120
[api] Update api proto to add legacy value ( #8802 )
2025-05-14 21:26:21 -05:00
Jesse Hills
1da8e99d27
[api] Synchronise api.proto between repos ( #8720 )
2025-05-09 13:33:28 +12:00
J. Nick Koston
54ead9a6b4
Reserve buffer space to avoid frequent realloc when generating protobuf messages ( #8707 )
2025-05-07 21:56:54 -05:00
Jesse Hills
ecb91b0101
[bluetooth_proxy] Allow changing active/passive via api ( #8649 )
2025-04-29 12:43:55 +00:00
Keith Burzinski and Jesse Hills
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
Kevin Ahrendt
00000e0ea8
[api] add voice assistant announce to the api ( #8395 )
2025-03-12 14:35:10 -10:00
J. Nick Koston
63a7234767
Include the bluetooth mac address in the device info when proxy is enabled ( #8203 )
2025-02-27 13:37:11 +00:00
J. Nick Koston
dd18a219db
Include Bluetooth connection slot allocations in connections free message ( #8148 )
2025-01-28 06:57:52 +04:00
Michael Hansen and Jesse Hills
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
3835ad8c1f
Add voice assistant configuration messages ( #7445 )
2024-09-16 13:40:45 +12:00
Michael Hansen
857d79dc71
Add sample_bytes to media player supported format ( #7451 )
2024-09-15 23:46:54 +00:00