J. Nick Koston
86119c3439
Merge branch 'get_peername_stack_save_ram' into integration
2025-12-18 22:18:00 -10:00
J. Nick Koston
cf404c34d0
[api] Use stack buffers for peername logging to reduce per-connection memory
2025-12-18 22:13:27 -10:00
J. Nick Koston
ce1c6721b1
Merge branch 'union_iter' into integration
2025-12-18 16:55:06 -10:00
J. Nick Koston
a7f82f5201
state machine
2025-12-18 16:50:41 -10:00
J. Nick Koston
38afc5149a
[api] Use union for iterators to reduce APIConnection size by ~16 bytes
2025-12-18 16:18:45 -10:00
9de7df7b5b
Add build info to image ( #12425 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 00:06:52 +00:00
J. Nick Koston
1fb89e5223
Merge branch 'buildinfo' into integration
2025-12-17 13:27:58 -10:00
David Woodhouse
ffbbf37fc2
Revert "Revert API compilation_time to old locale-dependent format"
...
This reverts commit d2b5398fad .
2025-12-15 23:12:21 +00:00
David Woodhouse
d2b5398fad
Revert API compilation_time to old locale-dependent format
...
Keep the API DeviceInfo compilation_time field using the old
get_compilation_time_ref() format for backward compatibility.
The text sensor build_time_str continues to use the new ISO 8601 format.
2025-12-15 21:01:15 +00:00
David Woodhouse
fd32139d89
Use new ISO format for compilation_time in API DeviceInfo
...
Change the API's DeviceInfo response to use the new ISO 8601 format
with timezone for compilation_time field by calling get_build_time_string()
instead of get_compilation_time_ref().
Update the placeholder build_info_data.h to match the new format.
Update integration test to expect the new format for compilation_time.
2025-12-15 17:44:35 +00:00
David Woodhouse
c451fbd697
Postpone breaking changes for another PR
...
I think we need to put a little more thought into whether we really
want the build time in each of these, or whether it should be just
the config_hash (perhaps extended with version, and in some cases
the component's own serial number or other identifier).
So put the old compilation_time_ and its access methods back, so
this PR only adds the *new* fields. We can migrate users over and
then remove the compilation_time_ separately.
2025-12-15 16:26:15 +00:00
J. Nick Koston
bb35ed5f53
tidy
2025-12-13 09:54:07 -06:00
J. Nick Koston
dce5face4e
simplify more
2025-12-13 09:01:39 -06:00
J. Nick Koston
1543f56f70
simplify approach
2025-12-13 08:53:51 -06:00
J. Nick Koston
2d3ccab0b3
[api] Add zero-copy support for noise encryption key requests
2025-12-10 12:48:04 +01:00
J. Nick Koston
fdd560b165
[fan] Add zero-copy support for API preset mode commands
2025-12-10 12:40:35 +01:00
J. Nick Koston
3cd14fa39d
[climate] Add zero-copy support for API custom fan mode and preset commands
2025-12-10 10:45:07 +01:00
J. Nick Koston
567e82cfec
[api] Fix potential buffer overflow in noise PSK base64 decode ( #12395 )
2025-12-10 04:20:23 +01:00
J. Nick Koston
03c391bd43
[light] Add zero-copy support for API effect commands ( #12384 )
2025-12-10 04:19:29 +01:00
J. Nick Koston
72c74bc0b3
[api] Store Home Assistant state subscriptions in flash instead of heap ( #12008 )
2025-12-09 16:26:11 +01:00
J. Nick Koston
e1afd65fae
[api] Store device info strings in flash on ESP8266 ( #12173 )
2025-12-09 15:59:27 +01:00
J. Nick Koston
801d1135ab
[select] Add zero-copy support for API select commands ( #12329 )
2025-12-08 10:37:51 -05:00
f20aaf3981
[api] Device defined action responses ( #12136 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-12-06 09:47:57 -06:00
J. Nick Koston and Copilot
27fcff2092
[api] Simplify MessageCreator to trivially copyable type ( #12295 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-05 10:27:41 -06:00
J. Nick Koston
fb82362e9c
[api] Eliminate rx_buf heap churn and release buffers after initial sync ( #12133 )
2025-11-28 12:13:29 -06:00
J. Nick Koston
697c5f424e
[api] Use const char* pointers for light effects to eliminate heap allocations ( #12090 )
2025-11-25 08:17:53 +00:00
J. Nick Koston
c888becfa7
[api] Optimize APINoiseContext memory usage by removing shared_ptr overhead ( #11981 )
2025-11-25 06:52:15 +13:00
J. Nick Koston
056b4375eb
[api] Reduce heap allocations in DeviceInfoResponse ( #11952 )
2025-11-24 10:21:47 -06:00
Jesse Hills
a5751b294f
[api] Rename USE_API_SERVICES to USE_API_USER_DEFINED_ACTIONS ( #12029 )
2025-11-24 08:13:23 +13:00
J. Nick Koston
735bf9930a
[light] Fix dangling reference in compute_color_mode causing memory corruption ( #11868 )
2025-11-13 13:41:28 +13:00
J. Nick Koston
859101ddc9
[api][event] Send events immediately to prevent loss during rapid triggers ( #11777 )
2025-11-13 12:42:50 +13:00
J. Nick Koston
5a550cc579
[api] Eliminate heap allocations when transmitting Event types ( #11773 )
2025-11-12 14:26:36 -06:00
Ludovic BOUÉ
1dabe83d04
[nrf52] api ( #11751 )
2025-11-10 11:48:33 +13:00
J. Nick Koston
c77bb3b269
[event] Store event types in flash memory ( #11767 )
2025-11-07 15:46:16 -06:00
J. Nick Koston
6f7e54c3f3
[select] Refactor to index-based operations for immediate and future RAM savings ( #11623 )
2025-11-05 11:33:01 +13:00
J. Nick Koston
885508775f
[fan] Remove duplicate preset mode storage to save RAM ( #11632 )
2025-11-05 10:55:37 +13:00
J. Nick Koston
42833c85f5
[climate] Replace std::vector<std::string> with const char* for custom fan modes and presets ( #11621 )
2025-11-02 23:16:39 -06:00
J. Nick Koston
3f05fd82e5
[fan] Use std::vector for preset modes, preserve config order ( #11483 )
2025-11-03 14:18:59 +13:00
J. Nick Koston
7ed7e7ad26
[climate] Replace std::set with FiniteSetMask for trait storage ( #11466 )
2025-10-29 08:46:44 +13:00
J. Nick Koston
d23e25f099
[api] Fix clang-tidy modernize-use-emplace warning for light effects ( #11490 )
2025-10-22 21:31:51 -05:00
Jesse Hills
2c1927fd12
[api] Allow clearing noise psk if dynamically set ( #11429 )
2025-10-22 14:24:56 +13:00
J. Nick Koston
fdecda3d65
[light] Use bitmask instead of std::set for color modes ( #11348 )
2025-10-20 07:48:14 +13:00
J. Nick Koston
5db07c2d70
[api][time] Refactor timezone update logic for cleaner code ( #11327 )
2025-10-20 07:31:40 +13:00
Keith Burzinski
590f6ff70b
[api] Update to use new climate API ( #11357 )
2025-10-19 06:20:11 +00:00
Keith Burzinski and J. Nick Koston
236ca12d3e
[api, climate, thermostat] Implement feature_flags for climate ( #10987 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-15 21:59:55 -05:00
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
Keith Burzinski
cfd241ff29
[zwave_proxy] Send HomeID upon client connect ( #11037 )
2025-10-06 03:47:55 +00: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
b1859c50bd
[api] Simplify message reading conditional ( #11016 )
2025-10-04 21:42:21 -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