Gábor Poczkodi
6e4fd428e7
[helpers] Move Base64 string to cpp ( #6819 )
2024-05-28 08:19:22 +12:00
tomaszduda23
f1584205af
[core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE ( #6636 )
2024-05-06 07:52:47 +12:00
Evgeny
a7079f8fba
Added base64 helper ( #4866 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 15:07:07 +12:00
Kuba Szczodrzyński
a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) ( #3509 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
Co-authored-by: Sam Neirinck <git@samneirinck.com>
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com>
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com>
Co-authored-by: Sam Neirinck <github@samneirinck.be>
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com>
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com>
2023-09-05 10:16:08 +12:00
Mat931
98bf427600
Add standardized CRC helper functions ( #4798 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-30 21:45:56 +00:00
Jesse Hills
d238155640
Add size getter to CallbackManager ( #5129 )
2023-07-20 12:37:42 +12: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
Jesse Hills
a1eb3b8475
Swap curly brackets for round on LockGuard ( #4610 )
2023-03-22 07:56:02 +00:00
Jesse Hills
d70e7da0ef
rp2040: Use fake Mutex lock ( #4602 )
2023-03-21 20:25:19 +00:00
Oxan van Leeuwen
86c0e6114f
Lock scheduler items while modifying them ( #4410 )
...
* Cosmetic fixes to scheduler code
* Add generic Mutex API
* Lock scheduler items while modifying them
* Always defer MQTT callbacks on Arduino
2023-02-26 18:43:08 +00:00
Fabian
1a9141877d
use same heap_caps_malloc
parameter as ps_malloc
. ( #4484 )
...
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 18:42:29 +00:00
Jesse Hills
91925b1826
Update ESP-IDF and platform version ( #3565 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2022-11-23 09:54:55 +13:00
Jesse Hills
f97252b93a
Implement InterruptLock for RP2040 ( #3945 )
2022-10-26 16:41:51 +13:00
Jesse Hills
c317422ed7
Move crc16 to helpers ( #3780 )
2022-09-06 12:57:21 +12:00
anatoly-savchenkov
01a4443b6c
Webui small fixes ( #3713 )
2022-08-15 10:28:29 +12:00
André Klitzing
72cce391ab
Fix some typos found by codespell ( #3598 )
2022-06-27 18:02:46 -03:00
Benjamin Klotz
c8b58b5c23
Bugfix for ExternalRAMAllocator copy constructor ( #3571 )
2022-06-17 13:32:43 +12:00
Jesse Hills
da336247eb
Add Xiaomi RTCGQ02LM - Mi Motion Sensor 2 ( #3186 )
2022-04-12 16:19:16 +12:00
Jesse Hills
4525588116
Add helper overloads for hex print 16-bit ( #3297 )
2022-03-16 13:35:37 +13:00
Oxan van Leeuwen
976f5d91ed
Logically group and document helper functions ( #3112 )
2022-01-27 20:35:42 +13:00
Oxan van Leeuwen
4e6bdb31ac
Make CallbackManager invocable ( #3089 )
2022-01-25 08:57:26 +13:00
Oxan van Leeuwen
737188ae50
Fail hard if no random bytes available for encryption ( #3067 )
2022-01-18 14:29:57 +13:00
Oxan van Leeuwen
d9c938de33
Introduce big- and little-endian integer types ( #2997 )
2022-01-12 16:50:03 +13:00
Oxan van Leeuwen
6383eca54a
Clean-up random helper functions ( #3022 )
2022-01-10 13:50:26 +13:00
Sergey Dudanov
9a70bfa471
New Midea IR component, improvements and fixes ( #2847 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-10 11:47:19 +13:00
Oxan van Leeuwen
499625f266
Convert is_callable to a backport of std::is_invocable ( #3023 )
2022-01-10 11:07:37 +13:00
Oxan van Leeuwen
07e790f900
Drop uint{32,64}_to_string() helper functions ( #3009 )
2022-01-06 16:36:11 +01:00
Oxan van Leeuwen
640142fc0c
Introduce str_lower_case() and str_upper_case() helpers ( #3008 )
2022-01-06 16:35:59 +01:00
Oxan van Leeuwen
5c339d4597
Convert clamp() helper to backport of std::clamp() ( #3010 )
2022-01-07 00:56:10 +13:00
Oxan van Leeuwen
a4931f5d78
Clean-up reverse_bits helpers ( #3011 )
2022-01-07 00:54:58 +13:00
Oxan van Leeuwen
e5775cf812
Introduce bit_cast() backport ( #2991 )
2022-01-04 10:14:57 +01:00
Oxan van Leeuwen
5143a5b5c5
Use to_string() from STL when available ( #2992 )
2022-01-03 23:30:03 +01:00
Oxan van Leeuwen
dbc2812022
Improve PSRAM support ( #2884 )
2022-01-04 10:35:15 +13:00
Oxan van Leeuwen
beeb0c7c5a
Introduce hex parsing & formatting helper functions ( #2882 )
2021-12-13 09:15:23 +13:00
Oxan van Leeuwen
6df1d5222d
Drop unused xSemaphoreWait define ( #2888 )
2021-12-08 12:46:36 +13:00
Oxan van Leeuwen
6fe4ff7f85
Drop len parameter from parse_number() ( #2883 )
2021-12-08 08:46:25 +13:00
Jesse Hills
f0bcf81a98
Add a simple helper to remap values ( #2850 )
2021-12-02 09:23:11 +01:00
Oxan van Leeuwen
10a2a7e0fc
Fix parsing numbers in Anova ( #2816 )
2021-11-29 08:00:29 +13:00
Oxan van Leeuwen
3637be251e
Fix parsing numbers from null-terminated buffers ( #2755 )
2021-11-26 09:00:49 +13:00
Oxan van Leeuwen
897277992b
Introduce str_snprintf helper function ( #2780 )
2021-11-23 20:30:49 +13:00
Oxan van Leeuwen
5404163be0
Clean-up MAC address helpers ( #2713 )
2021-11-15 15:48:16 +01:00
Oxan van Leeuwen
99c775d8cb
Introduce encode_value/decode_value() template functions ( #2662 )
2021-11-10 19:44:01 +01:00
Oxan van Leeuwen
4d43396835
Clean-up string sanitation helpers ( #2660 )
2021-11-10 19:42:41 +01:00
Oxan van Leeuwen
c422b2fb0b
Introduce byteswap helpers ( #2661 )
...
* Backport std::byteswap() in helpers.h
* Introduce convert_big_endian() function
* Use convert_big_endian() in i2c byte swap functions
2021-11-10 19:40:18 +01:00
Oxan van Leeuwen
15f9677d33
Introduce parse_number() helper function ( #2659 )
2021-11-11 07:15:06 +13:00
Carlos Garcia Saura
875b803483
Remove "delay_microseconds_accurate()" and improve systemwide delayMicroseconds() ( #2497 )
2021-11-10 16:22:00 +13:00
Oxan van Leeuwen
c82d5d63e3
Move TemplatableValue helper class to automation.h ( #2511 )
2021-10-15 22:05:11 +02:00
Maurice Makaay
c89018a431
Option to ignore CRC for EFuse MAC address ( #2399 )
...
* Accept changes as proposed by black.
* Added test and implemented optional correctly.
* Disable PHY RF full calibration (because it calls the breaking MAC retrieval function).
* Disable CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE instead of enable, dummy!
* Rename CONF_IGNORE_EFUSE_MAC_CRC to CONF_ESP32_IGNORE_EFUSE_MAC_CRC.
* Removed unused import.
* Fix ordering of constants.
* Moved all MAC address logic to core helpers.
* Use pretty MAC address for the log.
* Use standard MAC formatter function for debug component.
* Fix clang-formatting.
* Fix clang-formatting.
* Brought wording of comments in line with other function-describing comments.
* Processed code review by @OttoWinter
* Add USE_ESP32_IGNORE_EFUSE_MAC_CRC to defines.h
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2021-09-30 18:08:15 +02:00
irtimaled
c39ac9edfe
Support HSV-based color support on tuya light ( #2400 )
...
* fix: stop tuya light state getting reset
* fix typo
* Support for HSV color in Tuya
* Clamp formatting
2021-09-28 22:19:17 +02:00
Oxan van Leeuwen
5596751c2c
Add str_sprintf function that returns std::string ( #2408 )
2021-09-28 10:24:55 +13:00