J. Nick Koston
971e954a54
follow logging guidelines
2025-06-23 11:59:07 +02:00
J. Nick Koston
170869b7db
preen
2025-06-23 11:39:25 +02:00
J. Nick Koston
5dc54782e5
preen
2025-06-23 11:38:30 +02:00
J. Nick Koston
97b26fbefe
preen
2025-06-23 11:38:10 +02:00
J. Nick Koston
686cc58d6c
preen
2025-06-23 11:37:59 +02:00
J. Nick Koston
76a59759b2
preen
2025-06-23 11:37:27 +02:00
J. Nick Koston
93245a24b5
preen
2025-06-23 11:36:54 +02:00
J. Nick Koston
6a22ea1c7d
preen
2025-06-23 11:35:41 +02:00
J. Nick Koston
56a02409c8
preen
2025-06-23 11:34:11 +02:00
J. Nick Koston
edeafd5a53
preen
2025-06-23 11:31:38 +02:00
J. Nick Koston
20405c84ac
preen
2025-06-23 11:10:07 +02:00
J. Nick Koston
e8c250a03c
more api loop reductions
2025-06-23 10:59:00 +02:00
J. Nick Koston
8ec998ff30
more api loop reductions
2025-06-23 10:52:34 +02:00
J. Nick Koston
5697d549a8
Use scheduler for api reboot
2025-06-22 23:44:08 +02:00
J. Nick Koston
43c677ef37
Optimize API server performance by using cached loop time ( #9104 )
2025-06-19 12:12:14 +12:00
Clyde Stubbs
261b561bb2
[binary_sensor] Add action to invalidate state and pass to HA ( #8961 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-06-12 09:16:20 +10: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
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
J. Nick Koston
9cc2a04d54
Implement proper API connection teardown before deep sleep/reboot ( #9008 )
2025-06-09 10:29:26 +12:00
J. Nick Koston
fd72a64053
Redundant Log Messages Cleanup ( #8944 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-05-29 09:36:23 +00:00
J. Nick Koston
43e88af28a
Optimize socket operations by checking readiness in the main loop ( #8918 )
2025-05-28 18:16:37 -05:00
Keith Burzinski
b6fa4f641d
Streamline setup() logging (a, b) ( #8924 )
2025-05-28 22:53:51 +12:00
J. Nick Koston
f4eb75e4e0
Avoid iterating clients twice in the api_server loop ( #8733 )
2025-05-12 17:29:50 -05: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
Jesse Hills
2b25daa199
[api] Add new flag to request state/attribute once from HA only ( #7258 )
2024-08-13 17:12:06 +12:00
Jesse Hills
3cd2fb0843
[core] Update Entities ( #6885 )
2024-06-12 09:57:36 +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
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
d4d49e38fc
Fix device not requesting Home Assistant time at the update interval ( #6022 )
2023-12-28 14:51:00 +11: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
55ec082628
Only request VA port from first client that is subscribed ( #4747 )
2023-04-27 04:22:12 +00:00
Jesse Hills
4cea74ef3b
Call on_error if no api client connected that handles voice ( #4709 )
2023-04-19 20:56:37 +00: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
J. Nick Koston
9ee661c1e4
Add ability to clear the gatt cache ( #4621 )
...
* Add ability to clear the gatt cache
With BlueZ we can fully clear the cache when something goes wrong with the services, however since this is also a cache on the ESP32 we need to be able to clear the on device cache as well for the proxies since if something goes wrong with the service resolution it can cache the bad resolution on NVS forever.
Our current client implementation is limited to clearing the memory cache in Home Assistant 89355e0879/homeassistant/components/esphome/bluetooth/client.py (L512)
related issue https://github.com/esphome/issues/issues/4156
https://github.com/esphome/aioesphomeapi/pull/410
* naming
* lint
* lint
* naming
* naming
* naming
* 88 now that 87 is taken
* make const
* Update esphome/components/api/api_frame_helper.cpp
2023-03-26 21:48:56 +00:00
Jesse Hills
d42f35de5d
Wrap ipv6 code a bit more ( #4574 )
...
* Wrap ipv6 code a bit more for when ipv6 support should not be compiled in
* More checks
* More uses
* Fix
2023-03-21 20:24:14 +00:00
Fredrik Gustafsson
29571a1acd
implement pairing for bluetooth proxy ( #4475 )
...
* default to just-works encryption
This patch will turn on encryption when making active connections in order to comply with just-works BLE encryption.
* Revert "default to just-works encryption"
This reverts commit 05bc9e9f1c
.
* implement pair method
* adhere to clang formatter
* fix oopsie
* bump bluetooth_proxy_version
* add auth callback
* generate new protos
* fix another oopsie
* add pairing status to connection
* clear paired on connect()
* lint
* add unpair ("forget") ble method
* compile protos
* fix oopsie
* add missing unpairing method
* add unpairing
* fix get_paired return type
* remove unused memcpy
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* change to is_paired
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* Update bluetooth_proxy.cpp
* actually add missing method
* send auth cb on set_encryption failure
* cleanup from havin the worst test setup
* lint
* match auth events to bd_addr
* add second addr check to auth cb
* add addr check to third auth cb
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-06 18:04:35 +00:00
Jesse Hills
b34d24735a
Send GATT error events to HA ( #3884 )
2022-10-12 22:22:07 +13:00