Jesse Hills
9f27eadaee
Bump version to 2024.1.0-dev
2023-12-14 08:30:45 +09:00
Keith Burzinski
76a6e288b6
Add support for PN7150 ( #5487 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-14 08:27:35 +09:00
Keith Burzinski
6fd239362d
Add support for PN7160 ( #5486 )
2023-12-14 07:54:55 +09:00
Edward Firmo
81aa48a5f3
Exposes load_settings
to UARTComponent
class ( #5920 )
2023-12-14 07:45:08 +09:00
Jacob Masen-Smith
9a8bc9484d
Fix the initial run of lambda light effects ( #5921 )
...
The timer used for `millis()` is a monotonic timer based on the last
start time of the device. If, for some reason, you pick a long
`update_interval` and try to apply it as soon as you start the device,
nothing happens because the device hasn't been on for longer than the
`update_interval`
2023-12-13 14:33:24 -06:00
Edward Firmo
9daaadb3b6
UART change at runtime ( #5909 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 20:29:05 +13:00
Jesse Hills
058c43e953
Copy esp32 custom partition files to build folder ( #5919 )
2023-12-13 02:51:07 +00:00
Jesse Hills
f1f8689462
Fix typo added in esp32 post_build filename ( #5918 )
2023-12-13 02:47:46 +00:00
Stefan Rado
6c7a133faa
Add humidity support to climate ( #5732 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 10:23:02 +09:00
Cossid
a72725f4b4
BP1658CJ - Fix timing for all platforms, now consistent with other drivers ( #5799 )
2023-12-13 09:04:17 +09:00
Nicolas Gilles
d0bcba3b3f
ir_transmitter: add support for repeated commands in NEC protocol ( #4995 )
...
Co-authored-by: Nicolas Gilles <nicolas.gilles@aiven.io>
2023-12-13 08:55:20 +09:00
Mathias Pihl
69026f7599
Remove setpoint-change from error when calculating derivative in pid controller ( #4737 )
...
Co-authored-by: Mathias Pihl <mapih@frode-laursen.com>
2023-12-13 08:50:55 +09:00
Clyde Stubbs
29002c8f45
Fix crash when handling pin_check error ( #5915 )
2023-12-13 08:38:37 +09:00
Theo Hussey
03baaa94a8
Fix AHT10 / AHT20 communication ( #5198 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 08:28:59 +09:00
Thomas Bræmer
259a6d52e1
A02yyuw ( #5729 )
2023-12-13 08:26:08 +09:00
NP v/d Spek
c6dc336c4a
Updating the touchscreen interface structure ( #4596 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: NP v/d Spek <github_mail@lumensoft.nl>
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Gustavo Ambrozio <gustavo@gustavo.eng.br>
2023-12-12 22:56:01 +00:00
dependabot[bot]
8e92bb7958
Bump black from 23.11.0 to 23.12.0 ( #5912 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-12 21:59:10 +00:00
Çetin Koca
cc7d167e8b
Fix uninitialized climate target temperature ( #5795 )
2023-12-12 14:17:56 +09:00
Tucker Kern
ad79e4fe24
Add support for fan preset modes ( #5694 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-12 14:13:26 +09:00
Evgeny
39d026299e
Added on_image callback to ESP32 Cam ( #4860 )
2023-12-12 13:48:21 +09:00
Michael Davidson
b30430b0bd
Add graphical display menu ( #4105 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Alex Hermann <gaaf@gmx.net>
2023-12-12 12:15:59 +09:00
Clemens
86e6a8a503
fix RGBW Mode on RP2040 ( #5907 )
2023-12-12 12:28:16 +13:00
Clyde Stubbs
b62c099d54
Fix 18 bit displays. ( #5908 )
2023-12-12 12:22:41 +13:00
mtl010957
51428dcbc2
Handle case where using enetity level name: None with MQTT ( #5897 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-07 09:31:27 +09:00
Edward Firmo
049a7a0113
Add framework info to Nextion log tags ( #5864 )
2023-12-07 08:57:06 +09:00
Edward Firmo
f026f49415
Nextion exit reparse mode on startup ( #5868 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-06 00:55:07 -06:00
Subhash Chandra
8f70ef24a2
feat(packages): support removing components ( #5821 )
2023-12-06 10:04:17 +09:00
Keith Burzinski
89d7cdf86b
RC522 - Fix error counter error ( #5873 )
2023-12-05 17:21:12 +09:00
Fabio Pugliese Ornellas
7fd08fb816
Fix template text component length check ( #5881 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-04 22:17:43 -06:00
Edward Firmo
4d3730b50e
Nextion support to idf with cinttypes
( #5876 )
2023-12-04 19:09:44 -06:00
Clyde Stubbs
d9792b0d92
Checks for pins used in multiple places ( #5666 )
2023-12-05 08:56:53 +09:00
Clyde Stubbs
df5394d51c
Suppress full config output of "esphome config" when -q option is used. ( #5852 )
2023-12-05 08:52:02 +09:00
Fabio Pugliese Ornellas
b8fe4f8d56
Security improvement: Support wifi ap_timeout=0s (disable) ( #5887 )
2023-12-05 08:50:01 +09:00
Samuel Sieb
29dcc4031f
fix a01nyub data reading ( #5882 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-12-05 08:41:33 +09:00
Mike La Spina
e271faa544
Fix un-initialized version string ( #5865 )
2023-12-04 17:15:01 -06:00
Samuel Sieb
788f1b60e2
add missing ifdef to pvvx_mithermometer ( #5880 )
2023-12-02 22:58:25 -08:00
Clyde Stubbs
391eff8fd5
Add Chamberlain/HomEntry HE60R garage door opener ( #5834 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-29 10:42:35 +13:00
Alexander Dimitrov
6424f831e2
Pn532 non blocking scan ( #5191 )
2023-11-29 10:17:16 +13:00
Sean Brogan
af8258168b
Add Pro Check Universal sensor support. ( #5798 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-28 20:00:48 +13:00
Edward Firmo
3940c6ac4e
Improve reliability of Nextion TFT uploads (Arduino) ( #5683 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-11-27 23:25:20 -06:00
J. Nick Koston
ad5f6b5687
dashboard: fix supervisor auth doing I/O in the event loop ( #5807 )
2023-11-27 23:11:17 -06:00
Edward Firmo
2f888ff7c5
Nextion colors parameters ( #5699 )
...
* Add `foreground` color
- Adds `set_component_foreground_color` and `set_component_pressed_foreground_color` which does the same as `set_component_font_color` and `set_component_pressed_font_color` but with a more intuitive name, as this can be used for any component and not only the ones with a text (font).
- I've also reviewed some docstring when related to colors.
* Add numeric color to drawing methods
Should I've used uint32_t instead? In order to keep consistency?
* component color support to uint6_t
This is the right format and is now consistent with colors on drawings.
I'm keeping uint32_t also to avoid breaking changes.
* Enforces uint16_t for colors
uint32_t is incorrect for Nextion display colors.
* Fix clang-format
2023-11-27 22:50:14 -06:00
Edward Firmo
d1be686c54
Nextion on_touch
trigger ( #5833 )
2023-11-28 17:14:59 +13:00
Clyde Stubbs
a8bc5ef46f
Pass through additional arguments to create number ( #5849 )
2023-11-28 16:50:02 +13:00
Clyde Stubbs
993cd55b1d
Speed up (and fix) ili9xxx display component. ( #5406 )
2023-11-28 13:42:03 +13:00
Edward Firmo
ab1cc0ed6e
Nextion - Align strings on dump_config
( #5824 )
2023-11-27 18:24:43 -06:00
Clyde Stubbs
496c29aa04
Fix ESP-IDF uart initialisation sequence to match Espressif docs. ( #5838 )
2023-11-28 12:42:22 +13:00
Lucas Prim
a66dec738d
Implement deep sleep and clear screen on Waveshare 7.5in B V3 ( #5239 )
2023-11-28 12:40:39 +13:00
Jesse Hills
b8ee0dedec
Fix write_speaker without speaker in config ( #5847 )
2023-11-28 12:28:24 +13:00
functionpointer
4b6fbd5db0
Pylontech integration (solar battery bank) ( #4688 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-28 11:43:03 +13:00
J. Nick Koston
4e6d3729e1
dashboard: Small cleanups to dashboard ( #5841 )
2023-11-28 11:39:24 +13:00
Edward Firmo
460362b11f
Nextion - Standardizing log messages ( #5837 )
2023-11-27 21:09:57 +00:00
Jesse Hills
3b77f05cc9
Add 'voice_assistant.connected' condition ( #5845 )
2023-11-27 14:57:40 -06:00
Jesse Hills
f63f722afb
Create GT911 Touchscreen component ( #4027 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
2023-11-28 09:44:09 +13:00
Jesse Hills
a15a812466
Fix missing include in remote_base ( #5843 )
2023-11-28 09:43:41 +13:00
Jesse Hills
15180ee1e2
mcp3008: Tidy up and fix auto load bug ( #5842 )
2023-11-27 20:35:31 +00:00
Jesse Hills
1324d9e39a
Voice Assistant improvements ( #5827 )
2023-11-27 13:45:26 +13:00
Clyde Stubbs
0a7d3c367b
Add 'enable_at_startup' feature to power_supply ( #5826 )
2023-11-27 10:36:52 +13:00
Clyde Stubbs
2e6d01ddff
Implement variable length single word SPI writes. ( #5678 )
2023-11-27 09:54:12 +13:00
Clyde Stubbs
dbdcb39af9
Pull PollingComponent up from individual display drivers to Display. ( #5444 )
2023-11-27 09:48:38 +13:00
Edward Firmo
ccd7f0661c
Add is_detected()
for Nextion displays ( #5825 )
2023-11-25 02:38:45 -06:00
Clyde Stubbs
c43518c391
Allow split uart pin inversion for ESP-IDF ( #5831 )
2023-11-24 21:56:32 -06:00
Vincent Schmandt
f456603c1b
Add ENS160 Sensor ( #4243 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: mrtoy-me <118446898+mrtoy-me@users.noreply.github.com>
2023-11-23 22:31:07 -06:00
J. Nick Koston
5c31bec8c2
Ensure names containing characters other than a-z
A-Z
0-9
or _
are unique ( #5810 )
2023-11-23 17:29:08 -06:00
J. Nick Koston
1762204b00
dashboard: set nodelay on the websocket to avoid a delay seeing log messages ( #5802 )
2023-11-24 11:49:55 +13:00
Ilia Sotnikov
2076db1ccd
Pillow: bump to 10.1.0 ( #5815 )
2023-11-24 08:15:58 +13:00
Landon Rohatensky
49c09afb87
Allow images to be downloaded from URLs ( #5214 )
...
Co-authored-by: guillempages <guillempages@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-24 08:10:33 +13:00
Clyde Stubbs
3ac59180ab
Add startup_delay to interval. ( #5327 )
2023-11-23 20:31:23 +13:00
matt7aylor
8738cef5a3
sen5x fix temperature compensation and gas tuning ( #4901 )
2023-11-23 08:48:38 +13:00
Keith Burzinski
b809d02846
Add some additional VA triggers, part 2 ( #5811 )
2023-11-22 10:09:14 +13:00
Jesse Hills
e7038d077a
Early return when there are no wifi scan results ( #5797 )
2023-11-21 14:24:47 +13:00
Pavlo Dudnytskyi
cf6b56c1ac
Haier component updated to support new protocol variations ( #5713 )
...
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2023-11-21 14:12:36 +13:00
J. Nick Koston
7d5ebeda52
dashboard: Fix online status when api is disabled ( #5792 )
2023-11-21 13:16:06 +13:00
Cody Cutrer
d5d97c4558
include payload_open when a lock supports OPEN ( #5809 )
2023-11-21 12:59:38 +13:00
Christian Schmitt
d462beea6e
ssd1306: handle V_COM differently for SH1106 ( #5796 )
2023-11-20 16:34:26 +13:00
Kevin P. Fleming
e367ab26e1
wifi: Don't build SoftAP/DHCPS support unless 'ap' is in config. ( #5649 )
2023-11-20 16:32:46 +13:00
J. Nick Koston
2aaee81313
Refactor StorageJSON to keep loaded_integrations a set until its converted to JSON ( #5793 )
...
* Refactor StorageJSON to keep loaded_integrations a set until its converted to a dict
after #5792 we will be checking loaded_integrations often. ESPHome
core keep uses a set, but it would get converted to a list when
passed through StorageJSON. Keep it a set until its needed to
be read/write to JSON so we do not have to linear searches on it
since they have a time complexity of O(n) vs O(1)
* legacy
2023-11-19 22:31:00 -05:00
J. Nick Koston
cd9bf29df1
dashboard: Add lookup by name to entries ( #5790 )
...
* Add lookup by name to entries
* adj
* tweak
* tweak
* tweak
* tweak
* tweak
* tweak
* preen
2023-11-19 22:29:40 -05:00
J. Nick Koston
4e4fe3c26d
dashboard: Ensure disk I/O happens in the executor ( #5789 )
...
* Ensure I/O executor
* safe file writer
* fixes
* more io
* more io
2023-11-19 22:28:35 -05:00
Keith Burzinski
8fbb4e27d1
Add 2MB option for partitions.csv generation and restore use of user-defined partitions ( #5779 )
2023-11-18 21:00:59 +13:00
J. Nick Koston
3c243e663f
dashboard: Add support for firing events ( #5775 )
...
* dashboard: fire events when entry is updated or state changes
* dashboard: fire events when entry is updated or state changes
* dashboard: fire events when entry is updated or state changes
* tweaks
* fixes
* remove typing_extensions
* rename for asyncio
* rename for asyncio
* rename for asyncio
* preen
* lint
* lint
* move dict converter
* lint
2023-11-17 19:33:10 -05:00
J. Nick Koston
288af1f4d2
Refactor log api client to let aioesphomeapi manage zeroconf ( #5783 )
...
aioesphomeapi is now smart enough to avoid creating a zeroconf instance
until its needed after https://github.com/esphome/aioesphomeapi/pull/643
This avoids the needs to have a background zeroconf instance running that
is processing incoming records but will never do anything
2023-11-17 18:50:40 -05:00
Nikita Kuklev
fefdb80fdc
Add proper support for SH1107 to SSD1306 component ( #5166 )
2023-11-16 21:06:03 +13:00
Mat931
754bd5b7be
Fix MY9231 flicker ( #5765 )
2023-11-16 20:45:08 +13:00
J. Nick Koston
10a9129b7b
Pass the name to the log runner when available ( #5759 )
2023-11-16 20:41:49 +13:00
Keith Burzinski
ef945d298c
Add more VA triggers ( #5762 )
2023-11-15 21:29:50 -06:00
J. Nick Koston
149d814fab
dashboard: Centralize dashboard entries into DashboardEntries class ( #5774 )
...
* Centralize dashboard entries into DashboardEntries class
* preen
* preen
* preen
* preen
* preen
2023-11-15 21:49:56 -05:00
J. Nick Koston
5f1d8dfa5b
dashboard: use fastest available yaml loader in the dashboard ( #5771 )
...
* dashboard: use fastest available yaml loader in the dashboard
* remove unrelated change
2023-11-15 19:08:17 -05:00
J. Nick Koston
3644853d38
dashboard: fix subprocesses blocking the event loop ( #5772 )
...
* dashboard: fix subprocesses blocking the event loop
- break apart the util module
- adds a new util to run subprocesses with asyncio
* take a list
2023-11-15 19:07:51 -05:00
J. Nick Koston
c795dbde26
dashboard: split dashboard web server code into its own module ( #5770 )
2023-11-15 21:34:09 +00:00
J. Nick Koston
86b4fdc139
dashboard: Break apart dashboard into separate modules ( #5764 )
...
* Break apart dashboard into seperate modules
* reduce code change
* late imports
* late imports
* preen
* remove accidental changes
* save the file
2023-11-15 13:00:28 -05:00
J. Nick Koston
20ea8bf06e
dashboard: convert ping thread to use asyncio ( #5749 )
2023-11-14 22:55:33 -06:00
J. Nick Koston
642db6d92b
Speed up OTAs ( #5720 )
2023-11-14 22:14:37 -06:00
J. Nick Koston
214b419db2
dashboard: Use mdns cache when available if device connection is OTA ( #5724 )
...
* Use mdns or freshen cache when device connection is OTA
Since we already have a service browser running, we likely
already know the IP of the deivce we want to connect to so
we can replace OTA with the address to avoid the esphome
app having to look it up again
* isort
* Fix zeroconf name resolution refactoring error
HostResolver should get the type as the first arg instead
of the name
* no i/o
* tornado support native coros
* lint
* use new tornado start methods
* use new tornado start methods
* use new tornado start methods
* break
* lint
* lint
* typing, missing awaits
* io in executor
* missed one
* fix: missing if
* stale comment
* rename run_command to build_device_command since it does not actually run anything
2023-11-14 21:21:44 -05:00
Jesse Hills
aecc6655db
Dont dump wifi info when disabled ( #5755 )
2023-11-14 21:57:25 +00:00
Jesse Hills
2754ddec1b
Allow setup to continue past mqtt if network/wifi is disabled ( #5754 )
2023-11-15 10:51:45 +13:00
Keith Burzinski
ae0e481cff
Generate partitions.csv based on flash size ( #5697 )
2023-11-14 13:47:29 +13:00
J. Nick Koston
f198be39d7
dashboard: Run get_serial_ports in the executor ( #5740 )
2023-11-14 13:46:51 +13:00
J. Nick Koston
08fc96b890
dashboard: remove usage of codecs module ( #5741 )
2023-11-14 13:44:49 +13:00
Sergey Dudanov
00eedeb8b3
remote_base: added helper class and schemas ( #5169 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-14 06:55:36 +13:00
Jesse Hills
45276cc244
Handle wake word not set up internally ( #5738 )
2023-11-13 11:48:26 +13:00
Jimmy Hedman
684cf10230
Bump Arduino Pico Framework to 3.6.0 and Platform to 1.10.0 ( #5731 )
2023-11-13 07:28:02 +13:00
J. Nick Koston
53f3385c49
Migrate to using aioesphomeapi for the log runner to fix multiple issues ( #5733 )
2023-11-12 14:36:56 +13:00
Mike La Spina
6a5cea171e
Missed ifdefs ( #5727 )
2023-11-10 18:37:39 -06:00
J. Nick Koston
3363c8f434
Fix zeroconf name resolution refactoring error ( #5725 )
2023-11-10 22:55:21 +13:00
J. Nick Koston
3b891bc146
Speed up YAML by using YAML C loader when available ( #5721 )
2023-11-10 22:17:40 +13:00
Samuel Sieb
98ec798bfc
fix pin range for xl9535 ( #5722 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-11-10 01:53:35 +00:00
Jesse Hills
01d28ce3fc
Add resistance_sampler interface for config validation ( #5718 )
2023-11-10 11:40:07 +13:00
Rodrigo Martín
ce020b1f9f
fix: Fix broken bluetooth_proxy and ble_clients after BLE enable/disable ( #5704 )
2023-11-08 23:35:37 +00:00
J. Nick Koston
cf22c55430
Fix static assets cache logic ( #5700 )
2023-11-08 21:04:01 +00:00
Jesse Hills
511348974e
Fix esp32_rmt_led_strip custom timing units ( #5696 )
2023-11-08 09:01:26 +00:00
Jesse Hills
972598a698
Handle nanoseconds in config ( #5695 )
2023-11-08 21:34:44 +13:00
Edward Firmo
d81bec860b
Nextion support to esp-idf
( #5667 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 19:50:45 -06:00
Jesse Hills
fde7a04ee7
Bump version to 2023.12.0-dev
2023-11-08 13:13:56 +13:00
Keith Burzinski
9bd4b229e3
Handle on_disconnect when Wi-Fi is disabled ( #5691 )
2023-11-08 07:00:36 +13:00
Angel Nunez Mencias
ccffbfd3ae
support spi for sn74hc595 ( #5491 )
...
Co-authored-by: Jimmy Hedman <jimmy.hedman@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 03:15:13 -06:00
J. Nick Koston
78e3ce7718
Implement a memory cache for dashboard entries to avoid frequent disk reads ( #5687 )
2023-11-07 19:04:55 +13:00
Charles Johnson
31fec2d692
add wifi.on_connect and wifi.on_disconnect triggers ( #3639 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-06 23:17:13 -06:00
Daniel Baulig
708ed8f38a
[web_server] Adds the ability to handle Private Network Access preflight requests ( #5669 )
2023-11-07 13:59:03 +13:00
Edward Firmo
a8a9c6192d
Remove page jump on Nextion startup ( #5673 )
2023-11-06 18:48:15 -06:00
Angel Nunez Mencias
defe8ac97b
Add spi support for ade7953 ( #5439 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 13:17:29 +13:00
Greg Cormier
972c18a7ca
Add differential pressure sensor support for CFSensor XGZP68xxD devices ( #5562 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 12:46:30 +13:00
Jesse Hills
dd0270207f
Allow pulse light effect to have separate on and off transition lengths ( #5659 )
2023-11-07 12:39:47 +13:00
Jesse Hills
d141e1cd67
Remove extra code in old sgp40 ( #5685 )
2023-11-07 12:38:52 +13:00
Jesse Hills
43b36ac3c7
Allow static assets to be cached if not in debug mode ( #5684 )
2023-11-07 12:38:38 +13:00
J. Nick Koston
fce59819f5
Refactor dashboard zeroconf support ( #5681 )
2023-11-07 11:07:59 +13:00
marshn
b978985aa1
Add Byron Doorbell RF protocol ( #4718 )
2023-11-07 08:30:23 +13:00
Jesse Hills
84bbf02bde
ble_client rssi sensor fix when not connected ( #5632 )
2023-11-06 16:41:45 +13:00
Rodrigo Martín
d5aeb32ca6
feat: Add ESP32 BLE enable/disable automations ( #5616 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-06 15:54:39 +13:00
kahrendt
ff8b904097
Null topic_prefix disables MQTT publishing/subscription unless topic is explicitly configured ( #5644 )
2023-11-06 14:19:03 +13:00
DAVe3283
e0cee472c3
Fix compile with latest esp-idf on esp32c6 ( #5677 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-05 23:13:01 +00:00
micw
3ee85d7516
Add callback for raw sml messages ( #5668 )
2023-11-06 10:27:11 +13:00
Pavlo Dudnytskyi
4ca9aefc43
Fixed int variables for user defined service in case of ESP32-C3 ( #5675 )
2023-11-06 09:28:50 +13:00
Patrick ZAJDA
4ef2e28496
Add basic shell autocompletion using argcomplete ( #5618 )
2023-11-06 09:27:14 +13:00
Joris S
13994d9bd1
Add Micronova component ( #4760 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Graham Brown <grahambrown11@gmail.com>
2023-11-03 19:54:47 +13:00
Mike La Spina
22cdb8dfc3
Add HLK-LD2420 mmWave Radar module component ( #4847 )
...
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
2023-11-02 18:02:23 -05:00
Jesse Hills
d74a8abf9a
Revert "Ensure that all uses of strncpy in wifi component are safe." ( #5662 )
2023-11-03 08:09:17 +13:00
NP v/d Spek
453600f18e
Update RTTTL component to allow I2S ( #5177 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-02 17:14:05 +13:00
Jesse Hills
4edf3efdf3
Fix return value of run_external_command ( #5657 )
2023-11-02 17:06:09 +13:00
Jimmy Hedman
f70d651a39
Update mDNS component to 1.2.2 ( #5654 )
2023-11-02 16:56:02 +13:00
Clyde Stubbs
b0a400d82b
Update PCA9554 pin checks to new facility ( #5656 )
2023-11-02 03:46:47 +00:00
Jesse Hills
29b1233609
Validate sn74hc595 pin number are within range ( #5655 )
2023-11-02 16:45:00 +13:00
Jesse Hills
9eea52ea85
Allow validation of pins based on hub config ( #5647 )
2023-11-02 15:32:00 +13:00
Gustavo Ambrozio
40c001bdc2
Fix nextion waveform sending for multiple waveforms ( #4408 )
2023-11-01 20:09:12 -05:00
Clyde Stubbs
1fd9d67e2b
Add support for PCA9535 16 bit I/O expander ( #5634 )
2023-11-01 12:22:04 +13:00
Jimmy Hedman
9adda8085a
Remove some explicit IPAddress casts ( #5639 )
2023-11-01 10:32:29 +13:00
Kevin P. Fleming
b03eb5ea0a
Ensure that all uses of strncpy in wifi component are safe. ( #5636 )
2023-11-01 10:30:42 +13: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
Jesse Hills
0c46403eaf
Handle enum type in tuya text_sensor ( #5626 )
2023-10-29 22:00:47 +00:00
Dewet Diener
f36ec7c726
Fix bug when requesting italic gfonts ( #5623 )
2023-10-30 08:05:18 +13:00
Jimmy Hedman
01a16141f1
Fixes ip include on arduino 2.7.4 ( #5620 )
2023-10-30 07:35:33 +13:00
Keith Burzinski
7cf056e828
IDF 5 fixes for various components from test2.yaml ( #5621 )
2023-10-29 18:50:26 +13:00
Keith Burzinski
f7f63c9da1
IDF 5 fixes for various components from test4.yaml ( #5622 )
2023-10-29 18:49:19 +13:00
Keith Burzinski
d4cb29a380
Fix xpt2046 for IDF 5 ( #5614 )
2023-10-27 22:36:43 +00:00
H. Árkosi Róbert
563e15e8a7
Fix HA error related to incorrect state class ( #5605 )
2023-10-27 07:39:23 +00:00
Samuel Sieb
c83cb30935
refactor mcp4728 component ( #5609 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-27 18:01:18 +13:00
niklasweber
907d43827c
Add dfrobot_sen0395 mmwave radar component ( #4203 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-27 17:56:33 +13:00
Jesse Hills
0c5d5cd623
timeout filter: return value ( #5612 )
2023-10-27 16:36:54 +13:00
Jesse Hills
535568e065
Minor defines.h updates ( #5610 )
2023-10-27 16:16:44 +13:00
Cossid
bcfbcd9578
Add area (zone) to esphome core config to be suggested through API and MQTT. ( #5602 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-27 11:38:52 +13:00
dentra
cfbf3681f3
Fallback to main secrets.yaml for packages ( #5604 )
2023-10-27 10:16:43 +13:00
dentra
f6e8d97981
Add details when error loading package ( #5603 )
2023-10-27 09:27:42 +13:00
tracestep
6b8a75d3b8
SX1509 output debounce fix (resolves esphome/issues#4402) ( #4672 )
2023-10-26 15:36:58 +13:00
Jesse Hills
8b9a7608f0
Correctly allow mqtt topics to be none so ESPHome does not sub/pub to them ( #5213 )
2023-10-26 13:37:50 +13:00
Jesse Hills
4774200f6b
Print text mqtt command topic ( #5601 )
2023-10-26 13:37:06 +13:00
kahrendt
93056dead9
Add ignore out of range option for clamp filter ( #5455 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-26 09:30:23 +13:00
kahrendt
841b24f744
Add support for Qwiic PIR binary sensor ( #5194 )
2023-10-26 08:29:21 +13:00
kahrendt
258b0fbff3
Fix: Incorporate unique serial number in preference's hash for multiple Sensirion sensors ( #5479 )
2023-10-26 08:23:55 +13:00
Roger Busser
fdef6c6d46
Update current_based_cover bugfix ( #5587 )
2023-10-26 07:31:39 +13:00
Eduard Llull
28aedae8d7
Add Emc2101 ( #4491 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-26 07:30:11 +13:00
jpfaff
2895cc6c57
Add support for honeywellabp2 pressure sensor ( #5422 )
2023-10-26 07:28:07 +13:00
dentra
ec835c0b05
Fix exception handling when loading packages ( #5569 )
2023-10-26 07:15:25 +13: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
Alejandro Galfrascoli
e01ba894ed
Add IR Noblex climate component ( #4913 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 16:28:53 +13:00
Keith Burzinski
cb2f5eb781
Set IP address type
only when IPv4 and IPv6 are both enabled ( #5595 )
2023-10-23 23:43:54 +00:00
Jevgeni Kiski
34dce0acbf
AMS iAQ Core CO2 sensor component ( #5192 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 12:35:51 +13:00
Piu Piuson
96822aaa3a
Feat: Add GREE climateir component ( #4464 )
...
Co-authored-by: orestismers <33354671+orestismers@users.noreply.github.com>
Co-authored-by: Orestes Mersinias <orestis.mers@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 11:34:46 +13:00
Chris Feenstra
b4765fb5fb
Add ZH/LT-01 climate component with IR receiver option ( #4333 )
...
Co-authored-by: Chris Feenstra <chris@cfeenstra.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 11:33:47 +13:00
Simone Rossetto
e7d51f9c16
Add address text sensor to WireGuard ( #5576 )
2023-10-24 08:05:57 +13:00
Edward Firmo
7e27e98bff
set Nextion protocol reparse mode ( #5484 )
2023-10-24 08:02:57 +13:00
Guillermo Ruffino
eead33b6f2
update storage version from mdns ( #5584 )
2023-10-24 08:02:29 +13:00
dentra
b898f75631
Allow set climate preset to NONE ( #5588 )
2023-10-24 07:29:32 +13:00
Samuel Sieb
84c00a5867
fix canbus send config ( #5585 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-24 07:26:23 +13:00
Jimmy Hedman
e3fbf54a1a
Set addr type when copy from ip4_addr_t ( #5583 )
2023-10-23 01:41:16 -05:00
Edward Firmo
3d7d0d4f73
Remove unnecessary checks in Nextion component ( #5578 )
2023-10-21 14:38:22 -05:00
Jimmy Hedman
05a95f8ee9
Remove explicit cast for IPAddress ( #5574 )
...
* Remove explicit cast for IPAddress
* Make linter happy
2023-10-21 17:04:07 +13:00
Trent Houliston
d82471942f
Publish the pulse_meter
total when setting the total ( #5475 )
2023-10-19 14:28:05 -07:00
Jordan W. Cobb
9f033bce3b
Fan no off cycle action ( #5564 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 20:02:27 +13:00
Keith Burzinski
b632ae49d4
Improv Serial support via USB CDC and JTAG ( #5559 )
2023-10-19 19:53:09 +13:00
Jesse Hills
b9d72231b0
Fix XOR condition ( #5567 )
2023-10-18 21:36:01 -05:00
dependabot[bot]
53572dcb8a
Bump pyupgrade from 3.10.1 to 3.13.0 ( #5428 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 13:08:44 +13:00
jj-uk
a7d817656e
Hydreon updates ( #5424 )
2023-10-19 13:06:28 +13:00
Clyde Stubbs
a794836ebe
Add config to allow suppression of warnings about use of strapping pins ( #5287 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 13:04:53 +13:00
Mike La Spina
799c3cf439
Incorrect ESP32 Strapping PIN Defined ( #5563 )
...
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
2023-10-19 13:00:15 +13:00
Jesse Hills
b7402ee6ff
Create IPv4 sockets if ipv6 is not enabled ( #5565 )
2023-10-19 12:25:43 +13:00
Jesse Hills
a8667b680e
esp32_improv add timeout ( #5556 )
2023-10-19 11:42:52 +13:00
Jesse Hills
19736f6e53
Fix voice_assistant without a speaker ( #5558 )
2023-10-18 09:12:35 +00:00
Keith Burzinski
cdc4f7f59b
IDF 5 fixes for various components from test1.yaml ( #5451 )
2023-10-18 19:33:36 +13:00
Jesse Hills
14aa27f5e2
esp32_improv advertise capabilities and state in ble service data ( #5553 )
2023-10-18 14:26:47 +13:00
Samuel Sieb
c19dbdb02d
add on/off options for uart switch ( #5539 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-18 08:07:29 +13:00
Fabian Bläse
b0ac729a8e
SML: fix incomplete sign extension for abbreviated transmissions ( #5544 )
2023-10-18 07:39:05 +13:00
Samuel Sieb
6839de69c1
add uart button ( #5540 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-18 07:30:32 +13:00
Jesse Hills
b12dc98150
Fix default libretiny manufacturer reported to HA ( #5549 )
2023-10-18 07:23:34 +13:00
Jesse Hills
a960c8008e
More voice assistant fixes ( #5547 )
2023-10-17 20:11:37 +13:00
Jesse Hills
fb90e19713
Fix esp32_improv authorizer with no binary sensors in config ( #5546 )
2023-10-17 20:03:39 +13:00
Jesse Hills
4913b3cc35
Add stream start and end events ( #5545 )
2023-10-17 17:18:05 +13:00
Christian
e42c51a222
Add change i2c address and allow multi conf for TB6612FNG ( #5492 )
2023-10-17 08:47:35 +13:00
raineth
26f12cd3bb
Make IPAddress's operator!= compare values, not memory addresses. ( #5537 )
...
Co-authored-by: Ben Winslow <rain@bluecherry.net>
2023-10-16 19:42:18 +13:00
Jesse Hills
06eff72065
Prometheus fix for esp-idf and fix newlines ( #5536 )
2023-10-16 19:41:59 +13:00
leoshusar
357ba1ab0f
Change UART source clock to UART_SCLK_DEFAULT
when IDF >=v5 ( #5533 )
2023-10-16 11:29:13 +13:00
ghsensdev
6143099f60
Add Support for Sensirion SFA30 sensor ( #5519 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-16 07:49:57 +13:00
Jesse Hills
7ddcdab351
Add round sensor filter ( #5532 )
2023-10-14 13:07:23 +13:00
Cossid
da3e3903dd
BP1658CJ - Clear all channels before sleeping. ( #5525 )
2023-10-13 12:51:28 +13:00
Cossid
f5c12b50ce
SM10BIT_BASE - Add delays and ACKs, clear all channels before sleeping. ( #5526 )
2023-10-13 12:51:19 +13:00
Jesse Hills
33ebfd221e
Update Improv BLE component ( #5518 )
2023-10-13 12:46:46 +13:00
Cossid
7c890d8ebc
BD5758D - Add delays and ACKs ( #5524 )
2023-10-12 19:09:07 +00:00
Nippey
2910eb2ef7
Update htu21d.cpp, fix publishing of heater level ( #5520 )
2023-10-12 10:56:30 -07:00
Jesse Hills
11727391ad
Bump version to 2023.11.0-dev
2023-10-12 15:14:43 +13:00
Daniel Baulig
689dcd1e24
Add detail param to allow listing of select options in WebServer REST API ( #5503 )
2023-10-12 14:55:01 +13:00
Michael Hansen
2fc4e88271
Small fixes for voice assistant ( #5513 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-12 14:51:29 +13:00
Mark Veinot
853d81c6dd
As3935 calibration ( #5366 )
2023-10-12 14:27:36 +13:00
NP v/d Spek
e35de626a4
Allow manual set "Invert_display" ( #5494 )
2023-10-12 14:26:07 +13:00
justdaniel-gh
41f29c46d0
Fix e131 and voice_assistant sockets ( #5502 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-10 23:42:38 +00:00
Oleg Tarasov
9d95f5c1da
Added Nextion display error handling during setup ( #5493 )
2023-10-11 11:56:53 +13:00
Jimmy Hedman
c9a8911029
Prepare protobuf for ESP-IDF >= 5 ( #5510 )
2023-10-11 11:51:53 +13:00
Robert Resch
c77a9ad363
Don't allow entity category "CONFIG" for sensors ( #5505 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-10 07:00:05 +00:00
Jesse Hills
511af5845e
Remote wake word support for voice assistant ( #5229 )
2023-10-10 19:52:42 +13:00
Oleg Tarasov
6b96089f02
Fixed precision for Nextion sensor with float values ( #5497 )
2023-10-09 19:16:12 -05:00
Jesse Hills
46be886ca6
Use platform consts ( #5508 )
2023-10-09 16:54:15 -05:00
Jesse Hills
be7e167c63
Deep sleep is only available on esp32 and esp8266 ( #5507 )
2023-10-10 09:41:28 +13:00
Ilia Sotnikov
c65d78f568
[Sprinkler] Initialize timers early to avoid crash ( #5499 )
2023-10-08 22:37:48 -05:00
Ilia Sotnikov
412a866de8
Move to Pillow 10.x ( #5489 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-09 13:47:52 +13:00
Adam Goode
af62c2d9cf
Implement sensor component for MMC5983 ( #5361 )
2023-10-09 10:26:58 +13:00
Angel Nunez Mencias
aba3cd557a
add USE_SPI define ( #5500 )
2023-10-08 21:01:26 +00:00
Pavlo Dudnytskyi
7e7c83b3ca
Support for Haier IR protocol added ( #5403 )
2023-10-09 09:49:55 +13:00
Luke Ansell
ee4ccf2762
Increased debug message precision ( #5496 )
2023-10-09 09:20:43 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support ( #5498 )
2023-10-09 07:34:12 +13:00
Keith Burzinski
44e5b0c745
Move CONF_IRQ_PIN into const.py ( #5488 )
2023-10-06 00:28:51 -05:00
Clyde Stubbs
b6d5cb4142
St7789v and SPI data rate ( #5472 )
2023-10-04 15:18:33 -05:00
Clyde Stubbs
4e8cba49f1
MAX7219 - Update intensity ( #5477 )
2023-10-03 20:15:44 -05:00
Clyde Stubbs
506c2ba6c7
ST7789v - Allow predefined backlight pin to be disabled. ( #5476 )
...
* Allow predefined backlight pin to be disabled.
* Add test
* Update esphome/components/st7789v/display.py
2023-10-03 20:10:26 -05:00
kahrendt
050fa0d4c1
Fix units for SPS30 number concentration sensors ( #5452 )
2023-10-03 23:01:57 +13:00
kahrendt
88bb051f37
Add xor automation condition ( #5453 )
2023-10-03 22:58:11 +13:00
Faidon Liambotis
f38849828d
Tuya Number: split "multiply" to a separate option ( #5458 )
2023-10-03 13:23:18 +13:00
dwildstr
e95ba57a61
Sleep mode fix for BP5758D driver ( #5461 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-02 23:06:54 +00:00
Clyde Stubbs
205f41509b
Support RP2040 hardware SPI ( #5466 )
2023-10-03 10:24:20 +13:00
Maxime Gauduin
e87c8d550b
add pin config for denky_d4 ( #5471 )
2023-10-02 21:15:29 +00:00
De Cock Xavier
a33b8abce8
Feat/component poller suspend ( #5423 )
2023-10-03 09:25:13 +13:00
Angel Nunez Mencias
0b5a57ead4
Fix SPI support for second bus on 2023.9.1 ( #5456 )
2023-09-29 23:34:56 +00:00
John K. Luebs
b3dc2d43a5
Do not enable SHT3x heater by default. Fixes #4886 . ( #5445 )
2023-09-29 18:27:40 -05:00
De Cock Xavier
d3913be7e5
[ssd1351] fix: wait for the component to be at least in setup phase b… ( #5454 )
2023-09-29 17:08:56 -05:00
leoshusar
2c94c3d96f
[BP1658CJ] Missing clock line delays and ack bit ( #5448 )
...
* fix: missing clock line delays and ack bit
* chore: remove esphome namespace from delay methods
* style: removed trailing whitespace
2023-09-29 16:40:56 +13:00
Avri Chen-Roth
4d81153150
Fix an Issue with IR Remote Climate and Whirlpool protocol toggle ( #5447 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-29 14:17:32 +13:00
Clyde Stubbs
507dc5f496
SPI fixes for buggy components ( #5446 )
2023-09-29 00:36:31 +00:00
Jesse Hills
4ac4492241
Fix .esphome path when not using envvar ( #5440 )
2023-09-28 11:20:44 +13:00
Jimmy Hedman
57b7dd0fa2
Refactor ip address representation ( #5252 )
2023-09-27 21:38:43 +13:00
Marc J
9d4f471855
Tuya Number Scaling by step value ( #5108 )
2023-09-27 07:45:21 +00:00
Clyde Stubbs
5360e14a9c
Fix #4896 and #4903 ( #5433 )
2023-09-27 12:25:14 +13:00
Guillermo Ruffino
86db559f6e
Wireguard keepalive remove uint16 type ( #5430 )
2023-09-27 12:25:00 +13:00
Kuba Szczodrzyński
2f7a378c7b
LibreTiny: enable MQTT, bump to v1.4.1 ( #5419 )
2023-09-27 10:23:21 +13:00
Kapil Yedidi
17e1d4c245
Fix typo in documentation ( #5425 )
2023-09-25 12:05:56 +13:00
Odd Stråbø
727056a28c
dallas: limit addresses to 64 bits ( #5413 )
2023-09-25 10:15:28 +13:00
Ilia Sotnikov
0ca8dcd08e
[RP2040W] Fix WiFi bootloop upon LibreTiny support ( #5414 )
2023-09-24 22:44:55 +13:00
Andrew Garrett
3c7c4e1dba
Make ESPHome data dir configurable ( #5417 )
2023-09-24 22:34:37 +13:00
Clyde Stubbs
518ecb4cc4
Fix SPI inverted clock on ESP8266 ( #5416 )
2023-09-21 21:15:50 -07:00
Samuel Sieb
1100f67b66
support keypads with pulldowns ( #5404 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 10:26:36 +12:00
Kuba Szczodrzyński
056a28906b
Wizard: fix colored text in input prompts ( #5313 )
2023-09-21 10:09:23 +12:00
Trent Houliston
2c2821cd96
Make the pulse meter timeout on startup when no pulses are received ( #5388 )
2023-09-21 10:04:03 +12:00
Kevin P. Fleming
157a3e53dd
http_request: Cleanups and safety improvements ( #5360 )
2023-09-21 10:02:29 +12:00
Anthony
61edf8c196
Remove Wi-Fi dependency from Midea component ( #5394 )
2023-09-21 09:30:22 +12:00
Joris S
397f57ce74
Climate preset fix ( #5407 )
2023-09-21 09:28:03 +12:00
Samuel Sieb
bf253c21fa
fix handling of web server version ( #5405 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 09:25:16 +12:00
Samuel Sieb
e3eef1cc6d
fix disabled wifi power on 8266 ( #5409 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 09:20:54 +12:00
Philipp Helo Rehs
11f6e555f9
Add E-Trailer Gaslevel support to Mopeka Std Check ( #5397 )
...
* Add E-Trailer Gaslevel support to Mopeka Std Check
Signed-off-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>
* fix format
---------
Signed-off-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>
Co-authored-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>
2023-09-17 17:30:52 +12:00
Trevor North
a61e3fadf6
Add shelly-dimmer-stm32 51.7 to known versions ( #5400 )
...
This version removes support for no-neutral setups in favor of fixing flickering some users have experienced.
2023-09-17 17:20:31 +12:00
rmmacias
b5f2d69ca5
Update radon_eye_listener.cpp ( #5401 )
...
New devices identifiers do not star by the hardcoded string. FR:RE222 is the 8-char length string of my devices bought in 2023. This proposal aims at solve the topic by making the detection track devices starting only by FR:R
2023-09-17 17:18:51 +12:00
phoenixswiss
55b5c0fc32
Fix Waveshare 7.5v2 epaper screens are always powered on ( #5283 )
2023-09-14 06:20:21 +00:00
Jesse Hills
9d97807587
Bump version to 2023.10.0-dev
2023-09-13 14:22:39 +12:00
vr6racer
11433c8c17
SX1509 component ( #5385 )
2023-09-13 14:14:54 +12:00
Keith Burzinski
736dbfac13
Add IDF 5 test yaml, add adc to IDF tests, fix adc for IDF 5 ( #5379 )
2023-09-13 11:36:17 +12:00
rufuswilson
b8fa737bc9
Force heater off on setup ( #5161 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-13 10:20:00 +12:00
Tercio Filho
bf5352b44e
Modbus Controller added some features ( #5318 )
2023-09-13 10:15:01 +12:00
Jimmy Hedman
dadbc1aefa
Enable IPv6 for ESP8266 and Raspberry pi pico w (RP2040) ( #4759 )
2023-09-13 08:05:02 +12:00
Jesse Hills
fc354eec0e
Attempt to fix rp2040 adc with vcc ( #5378 )
2023-09-12 14:14:10 +12:00
Jesse Hills
fe81bcc003
Use /data directory for .esphome folder when running as HA add-on ( #5374 )
2023-09-12 09:26:48 +12:00
Daniel Dunn
10eee47b6b
Make string globals persist-able using fixed size allocations ( #5296 )
...
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
2023-09-12 09:26:00 +12:00
Stijn Tintel
c930c86cfa
debug: add ESP32-C6 support ( #5354 )
2023-09-12 08:19:26 +12:00
Péter Sárközi
d3196e0e34
Fix disabled wifi crash on boot ( #5370 )
2023-09-12 08:12:56 +12:00
Kevin P. Fleming
deb34c9473
time: Make std::string version of strftime() avoid runaway memory allocations ( #5348 )
2023-09-12 08:02:07 +12:00
Kuba Szczodrzyński
892d2ce34f
Bump LibreTiny version to 1.4.0 ( #5375 )
2023-09-12 07:15:24 +12:00
Lubos Horacek
b107948c47
Wireguard component ( #4256 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Simone Rossetto <simros85@gmail.com>
Co-authored-by: Thomas Bernard <thomas0bernard@gmail.com>
2023-09-12 07:13:24 +12:00
Clyde Stubbs
d2648657fb
Native SPI RGB LED component ( #5288 )
...
* Add testing branch to workflow
* Add workflow
* Checkpoint
* Align SPI data rates in c++ code with Python code.
* Checkpoint
* CI fixes
* Update codeowners
* Workflow cleanup
* Rename to spi_rgb_led
* Rename header file
* Clang tidy
* Disable spi after transfer.
* Move enable() to where it belongs
* Call spi_setup before enable
* Clang tidy
* Add test
* Rename to spi_led_strip
* Include 'defines.h'
* Fix CODEOWNERS
* Migrate data rate to new style setting.
* Remove defines.h
* Fix class name
* Fix name in .py
* And more more name tidy up.
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-10 21:20:06 -05:00
Flaviu Tamas
e66047e072
Add BMI160 support ( #5143 )
...
* Add BMI160 support
* BMI160: use set_timeout for delay
* Add support for old compilers
Fix "warning: missing terminating ' character"
* Increase power-on delay to be more conservative
* Add helper for reading little-endian data over i2c
* Replace configuration names with globals
Note: for testing with external components, you will need to comment out the import & define your own CONF_GYROSCOPE_X, etc, in this file
* Improve icons
* Fix tests & lint
2023-09-09 21:25:09 -05:00
Kevin P. Fleming
0c84224ca2
Move CONF_PHASE_A/B/C constants to const.py. ( #5304 )
2023-09-09 18:19:54 -05:00
Ilia Sotnikov
7bb67ae94b
[ADC] Support measuring VCC on Raspberry Pico (W) ( #5335 )
...
* [ADC] Support measuring VCC on Raspberry Pico (W)
Added support for measuring VCC on Raspberry Pico (W) with ADC.
GPIO pin is provided as `VCC`, same as with ESP8266. VSYS is the voltage
being actually processed, and might have an offset from actual power
supply voltage (e.g. USB on VBUS) due to voltage drop on
Schottky diode between VSYS and VBUS on Rasberry Pico. The offset has
experimentally been found to be ~0.25V on Pico W and ~0.1 on Pico,
presumably due to different power consumption.
Example usage:
sensor:
- platform: adc
pin: VCC
name: "VSYS"
* + Added tests for VCC measuring on `rpipicow` board
2023-09-09 04:00:45 -05:00
Kuba Szczodrzyński
9cf115a752
Fix dashboard download for ESP32 variants ( #5355 )
2023-09-09 09:20:26 +12:00
Péter Sárközi
d9523a0cbf
Fix repeat.count = 0 case ( #5364 )
...
* Only play first action if count is non-zero
* Add test to yaml
* Update test5.yaml
2023-09-09 09:10:20 +12:00
Clyde Stubbs
5c26f95a4b
Refactor SPI code; Add ESP-IDF hardware support ( #5311 )
...
* Checkpoint
* Checkpoint
* Checkpoint
* Revert hal change
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* ESP-IDF working
* clang-format
* use bus_list
* Add spi_device; fix 16 bit transfer.
* Enable multi_conf;
Fix LSB 16 bit transactions
* Formatting fixes
* Clang-format, codeowners
* Add test
* Formatting
* clang tidy
* clang-format
* clang-tidy
* clang-format
* Checkpoint
* Checkpoint
* Checkpoint
* Revert hal change
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* ESP-IDF working
* clang-format
* use bus_list
* Add spi_device; fix 16 bit transfer.
* Enable multi_conf;
Fix LSB 16 bit transactions
* Formatting fixes
* Clang-format, codeowners
* Add test
* Formatting
* clang tidy
* clang-format
* clang-tidy
* clang-format
* Clang-tidy
* Clang-format
* clang-tidy
* clang-tidy
* Fix ESP8266
* RP2040
* RP2040
* Avoid use of spi1 as id
* Refactor SPI code.
Add support for ESP-IDF hardware SPI
* Force SW only for RP2040
* Break up large transfers
* Add interface: option for spi.
validate pins in python.
* Can't use match/case with Python 3.9.
Check for inverted pins.
* Work around target_platform issue with
* Remove debug code
* Optimize write_array16
* Show errors in hex
* Only one spi on ESP32Cx variants
* Ensure bus is claimed before asserting /CS.
* Check on init/deinit
* Allow maximum rate write only SPI on GPIO MUXed pins.
* Clang-format
* Clang-tidy
* Fix issue with reads.
* Finger trouble...
* Make comment about missing SPI on Cx variants
* Pacify CI clang-format. Did not complain locally??
* Restore 8266 to its former SPI glory
* Fix per clang-format
* Move validation and choice of SPI into Python code.
* Add test for interface: config
* Fix issues found on self-review.
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-08 02:27:19 -05:00
Keith Burzinski
ce171f5c00
Fix cpu_ll_get_cycle_count() deprecated warning ( #5353 )
2023-09-07 21:49:12 +12:00
Keith Burzinski
ab872b075a
Fix PN532 for IDF 5 and ultralight enhancements ( #5352 )
2023-09-07 21:48:44 +12:00
Jesse Hills
87395d259e
Allow "--device SERIAL" on cli to flash only via serial ( #5351 )
2023-09-06 20:22:39 -05:00
Jesse Hills
72f29b1283
Allow upload command to flash file via serial ( #5274 )
2023-09-07 10:15:54 +12:00
Jesse Hills
f2a6f18553
esp32: Extra build customization ( #5322 )
2023-09-06 17:02:21 +12:00
Christian
76ebbfefd2
Integration LightwaveRF switches ( #4812 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-06 10:33:49 +12:00
Stijn Tintel
feba9ffdc4
mdns: bump IDF mdns component to 1.2.0 ( #5217 )
2023-09-06 10:11:07 +12:00
JJ
74ab940aff
Adding DFRobot Ozone Sensor Support (sen0321) ( #4782 )
2023-09-06 10:09:22 +12:00
JJ
82c1988a2d
Support MaxBotix XL in addition to HRXL ( #4510 )
2023-09-06 09:59:23 +12:00
Pavlo Dudnytskyi
47735d1dae
Fixed default temperature step values for haier climate ( #5330 )
2023-09-06 07:37:01 +12:00
esphomebot
e2d784a5b5
Synchronise Device Classes from Home Assistant ( #5328 )
2023-09-06 07:29:41 +12:00
Keith Burzinski
b7a16d5a59
Add defines.h to ethernet_component.h for ENABLE_IPV6 ( #5344 )
2023-09-05 22:35:20 +12:00
Jimmy Hedman
97dcbe84da
Disable IPv6 when config explicitly says false ( #5310 )
2023-09-05 02:56:17 -05:00
Clyde Stubbs
32b24726ed
Add Lilygo T-Embed to st7789v display config. ( #5337 )
...
* Add Lilygo T-Embed to st7789v display config.
* Move all configuration into the Python code.
Add presets for TTGO.
All preset configuration can be overridden.
* Add Adafruit S2 pin presets
* Add test
* Add funhouse pins.
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
* Keep ordering of options consistent
* Remove unused declarations
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-05 02:01:28 -05:00
Jesse Hills
b11824b058
libretiny: fix uart_port framework config ( #5343 )
2023-09-05 02:33:42 +00:00
kahrendt
562f7c8718
Debug component: add free PSRAM sensor ( #5334 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-05 14:02:59 +12:00
mkaiser
d382ca2401
Extend ESP32 CAN bit rates /bus speed support ( #5280 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: mkaiser <mkaiser@techfak.uni-bielefeld.de>
2023-09-05 10:27:58 +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
Keith Burzinski
22c0b0abaa
Tweak Improv serial to build in IDF 5 ( #5331 )
2023-09-04 21:47:53 +00:00
Jimmy Hedman
aabe0091cc
Prepare api and time for ESP-IDF >= 5 ( #5332 )
2023-09-04 15:51:04 -05:00
croessi
3d9af2a67c
Added Handling for Nack "file not found" ( #5338 )
2023-09-05 08:40:46 +12:00
Mat931
5fdafc00e6
Fix checksum calculation for pipsolar ( #5299 )
2023-09-02 21:54:03 +12:00
Christian
2165960ba1
add heating functionality to SI7021 ( #4828 )
...
* add heating functoinality
* add test
* add heat
* fix
* fix
* fix
* fix
* fix
* fix sensor
* restore class
* Update esphome/components/htu21d/sensor.py
* Update esphome/components/htu21d/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/htu21d/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-01 19:03:30 -05:00
Clyde Stubbs
2bb5f53b98
Make uart error message go away ( #5329 )
...
* Make error message in log go away.
* Test for IDF version.
2023-09-01 17:10:08 -05:00
kahrendt
211b3eddea
Bugfix: disable channels after IO if multiple tca9548a I2C multiplexers are configured ( #5317 )
2023-09-02 08:55:59 +12:00
Jesse Hills
bec53f97a2
Attempt to fix secret blurring ( #5326 )
2023-09-02 08:41:52 +12:00
Kuba Szczodrzyński
c3332e4a39
Add dashboard API to get firmware binaries ( #4675 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-01 18:17:33 +12:00
Josh Barnard
f8a03be2f1
Adding heating coil and fan icons, enum device_class ( #5325 )
...
* Adding heating cool and fan icons.
* Adding Enum device_class as well.
2023-09-01 00:10:42 -05:00
Daniel Dunn
19d53c6643
Use gzip compression for the web server component's static resources ( #5291 )
...
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
2023-09-01 14:02:26 +12:00
Jimmy Hedman
f14419bab5
Bump Arduino Pico to 3.4.0 ( #5321 )
2023-09-01 13:21:01 +12:00
luka6000
3003485dc6
fix to PR # 3887 MQTT connection not using discovery: false ( #5275 )
2023-09-01 13:20:21 +12:00
Clyde Stubbs
01f6791d1c
7789 controller fixes take 2 ( #5320 )
...
* Fix 7789 clock mode and increase clock rate.
* Reverse change from dev.
* Speed up 8 bit color.
* Tweak buffer size
2023-08-31 23:43:24 +00:00
Clyde Stubbs
cdb67fc90e
Add extra SLPOUT for waking up some ST7789 chips ( #5319 )
2023-08-31 09:12:25 +00:00
Keith Burzinski
78cb098691
Add PSRAM mode and speed config ( #5312 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-29 20:50:29 +12:00
J. Nick Koston
45879e3100
Fix legacy zeroconf record update method ( #5294 )
2023-08-29 17:25:43 +12:00
Keith Burzinski
c4adb30ab2
Update PSRAM config params for IDF4+ ( #5298 )
2023-08-29 17:11:58 +12:00
Sebastian Rasor
b20bae23cc
Introduce cv.temperature_delta and fix problematic thermostat configuration behavior ( #5297 )
2023-08-23 13:01:34 +12:00
Christian
11ed2d5f18
Add Invert method for SSD1306 ( #5292 )
2023-08-23 10:13:38 +12:00
Stefan Rado
2a48b810a4
Fix equality check when setting current-based cover position ( #5167 )
2023-08-21 12:35:13 +12:00
Rob Deutsch
0443310385
Bump arduino-heatpumpir to v1.0.23 ( #5269 )
2023-08-21 12:20:00 +12:00
Clyde Stubbs
03ab23fec8
Reserve keyword "clock" ( #5279 )
2023-08-21 12:17:22 +12:00
Jesse Hills
da8afd36b2
Change htu21d sensors from required to optional ( #5285 )
2023-08-21 12:16:14 +12:00
Austin
fe7893d1b3
Support for ESP32-C2 & ESP32-C6 ( #4377 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-08-21 09:42:03 +12:00
jayme-github
d19bf5d6ee
Add support for ESP32-{S2,S3,C3} to debug component ( #4731 )
2023-08-21 09:34:50 +12:00
Clyde Stubbs
bfdcfa4766
Align SPI data rates in C++ code with Python ( #5284 )
2023-08-21 08:57:02 +12:00
mwolter805
c47c1a7867
Resolve offline ESPs in dashboard when using ESPHOME_DASHBOARD_USE_PING=true ( #5281 )
2023-08-20 12:15:45 -07:00
Jesse Hills
c287e529a8
Change haier from AUTO to HEAT_COOL ( #5267 )
2023-08-18 08:06:21 +12:00
Clyde Stubbs
164d05fdce
Add manufacturer data config to BLE server ( #5251 )
2023-08-18 08:05:25 +12:00
SeByDocKy
c11c4dad2f
Add pmwcs3 capacitive soil moisture & temperature sensor component ( #4624 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-18 08:03:39 +12:00
Jimmy Hedman
0af8d0b7ea
Remove support for ESP-IDF version < 4 ( #5261 )
2023-08-18 08:02:57 +12:00
Mat931
2b4ed0c273
Fix checksum calculation for sml ( #5271 )
2023-08-18 07:57:18 +12:00
Jimmy Hedman
63fc16d872
Add delay before enabling ipv6 ( #5256 )
2023-08-17 12:22:37 +12:00
Regev Brody
5cb5594288
Add configuration flow abilites to the ld2410 component ( #4434 )
2023-08-16 11:31:18 +12:00
Carson Full
87629191b3
Fix IDFI2CBus::writev ignoring stop parameter ( #4840 )
...
Co-authored-by: Alexander Dimitrov <admin@sharkydog.info>
2023-08-16 11:13:43 +12:00
Sergey Dudanov
4a518e3e7a
remote_base: change dumpers log level ( #5253 )
2023-08-16 11:11:44 +12:00
mulder-fbi
6089526975
Fix 24 bit signed integer parsing in sml parser ( #5250 )
2023-08-16 10:52:56 +12:00
Sergey Dudanov
b9e9223fdd
rmt_base additional minor changes ( #5245 )
2023-08-15 07:21:22 +12:00
MrEditor97
e963eedb64
Change XL9535 setup_priority
to IO ( #5246 )
2023-08-15 07:14:08 +12:00
MrEditor97
3b2c61e813
Updated my username in Code Owners ( #5247 )
2023-08-15 07:12:03 +12:00
Jesse Hills
2dd4aa7bf6
Fix duplicate tuya time warning ( #5243 )
2023-08-14 10:09:20 +12:00
Kjell Braden
4c1af007ca
tuya: add time sync callback only once to prevent memleak ( #5234 )
2023-08-14 09:09:51 +12:00
Pavlo Dudnytskyi
08013be6dd
Fixing smartair2 protocol implementation if no Wi-Fi ( #5238 )
2023-08-14 09:08:18 +12:00
Sergey Dudanov
0daf4545a9
fix midea: undo approved PR#4053 ( #5233 )
2023-08-14 09:06:04 +12:00
Steve Rodgers
1269bf9791
pca9554 cache reads ( #5137 )
2023-08-12 00:50:33 +00:00
Pavlo Dudnytskyi
5cb21324a1
New features added for Haier integration ( #5196 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-11 05:51:53 +00:00
Jesse Hills
3eef80506b
Expose start to speaker interface ( #5228 )
2023-08-11 16:21:44 +12:00
Samuel Sieb
283d9a0f5f
fix aeha data template ( #5231 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-08-11 16:21:24 +12:00
Jesse Hills
a84365659b
Read string of bool env and match against well known values ( #5232 )
2023-08-11 16:20:58 +12:00
Jesse Hills
db9dc11022
Bump version to 2023.9.0-dev
2023-08-10 17:30:26 +12:00
Keith Burzinski
8e7e8da4a3
Tweak Color init because IDF 5+ ( #5221 )
2023-08-10 17:11:57 +12:00
Samuel Sieb
b56c606523
add value option to timeout filter ( #5222 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-08-10 17:11:03 +12:00
Francesco Ciocchetti
f457269a68
Add missing on_(arming|pending|armed_home|armed_night|armed_away|disarmed)
triggers to alarm_control_panel ( #5219 )
2023-08-10 17:09:21 +12:00
matthias882
5b0b9da0b9
Daly BMS improvements ( #3388 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
2023-08-10 17:05:01 +12:00
Greg Cormier
0ed0bdc655
New PM sensor Panasonic SN-GCJA5 ( #4988 )
2023-08-10 17:04:22 +12:00
kahrendt
a8fa4b56f9
New component: Add support for bmp581 pressure and temperature sensors ( #4657 )
2023-08-08 17:05:08 +12:00
Rudd-O
f3329fdc8c
Add KMeterISO component. ( #5170 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 12:32:34 +12:00
Francesco Ciocchetti
a6b89e4e8a
Add arm night to alarm control panel ( #5186 )
2023-08-08 11:57:40 +12:00
Stijn Tintel
ffd2cb9814
ledc: check SOC_LEDC_SUPPORT_APB_CLOCK ( #5212 )
2023-08-07 23:47:57 +00:00
Stijn Tintel
4e7011c25d
esp32_ble_beacon: enable CONFIG_BT_BLE_42_FEATURES_SUPPORTED ( #5211 )
2023-08-08 11:18:06 +12:00
Stijn Tintel
f4ac176d77
core: read ESP32 MAC address from eFuse if IEEE802.15.4 is supported ( #5176 )
2023-08-07 22:45:50 +00:00
Jesse Hills
e4cf7b86fa
Add socket define for rp2040 dev ( #4968 )
2023-08-08 10:22:10 +12:00
Stijn Tintel
9876d5276c
i2c: fix build on ESP-IDF >= 5.1 ( #5200 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 09:51:22 +12:00
Jesse Hills
0b1b25191d
Add read interface to microphone ( #5131 )
2023-08-08 09:45:56 +12:00
Jimmy Hedman
9980b9972f
Change MQTT client for ESP32 Arduino ( #5157 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 09:16:42 +12:00
Trent Houliston
93b7ca77ca
Refactor pulse_meter
to better handle higher frequencies ( #4231 )
2023-08-08 08:14:20 +12:00
Lucas Prim
40697fea96
Implemented Waveshare 7.5in B V3 ( #5210 )
2023-08-08 07:31:09 +12:00
Keith Burzinski
fd08f1e23d
Add ESP32-S2/S3 capacitive touch support ( #5116 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-07 13:54:25 +12:00
Paweł Kozubal
3a07121784
Change device name in MQTT discovery messages to friendly names ( #5205 )
2023-08-07 13:46:31 +12:00
André Cirne
1495fada90
Add support for a01nyub ( #4863 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-07 12:22:18 +12:00
arno1801
62fed4c1eb
Improved compensation sgp30 ( #5208 )
2023-08-07 11:59:17 +12:00
Jesse Hills
00f9af70a9
Fix some configs after #5181 ( #5209 )
2023-08-07 11:48:23 +12:00
Maciej Sokołowski
0ae3fcb0b7
PWM Output on RP2040 for high frequencies ( #5204 )
2023-08-07 11:41:44 +12:00
Jesse Hills
f81c556b63
Update components "if x in config" ( #5181 )
2023-08-02 16:25:26 +12:00
Jesse Hills
ce8091c14e
Speaker return bytes written and do not wait for queue ( #5182 )
2023-08-02 16:24:52 +12:00
Jesse Hills
581cb642ff
Add get_board function to esp32 module ( #5184 )
2023-08-02 16:24:02 +12:00
Jesse Hills
e02aaedc42
Microphone add is_stopped ( #5183 )
2023-08-02 16:21:30 +12:00
Pavlo Dudnytskyi
8c66de2391
Vertical and horizontal airflow actions fix for Haier climate ( #5164 )
...
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2023-08-02 11:06:23 +12:00
Maxime Michel
17be6b106b
Fix graininess & streaks for 7.50inV2alt Waveshare e-paper ( #5168 )
2023-08-01 12:03:34 +12:00
Joris S
9a66199904
invert min_rssi check ( #5150 )
2023-07-31 10:30:21 +12:00
J. Nick Koston
bf732f2a2b
Increase maximum number of BLE notifications ( #5155 )
2023-07-31 10:23:52 +12:00
Jimmy Hedman
c418eecf83
Enable IPv6 for ESP32 Arduino, wifi and ethernet ( #4865 )
2023-07-30 22:20:55 +00: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
PlainTechEnthusiast
9aa5ee3372
update "Can't convert" warning to match others in homeassistant_sensor ( #5162 )
2023-07-31 09:40:55 +12:00
cvwillegen
ccb3d3d308
Slightly lower template switch setup priority ( #5163 )
2023-07-31 09:32:09 +12:00
Sergey Dudanov
9ff0471274
duty_time: fix build without binary_sensor. Parented in automations. ( #5156 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-30 21:30:11 +00:00
Stijn Tintel
fdb20e4a30
wifi: handle WIFI_REASON_ROAMING reason in event ( #5153 )
2023-07-31 09:23:30 +12:00
Keith Burzinski
56630bb717
Swap ADC back to use 'int' because C3 ( #5151 )
2023-07-31 09:19:06 +12:00
mullerdavid
08a41d9bd6
Adding Inkplate 6 v2 model variant ( #5165 )
2023-07-31 09:10:46 +12:00
Mat931
cd46a69f2c
Add 'map_linear' and 'clamp' sensor filters ( #5040 )
2023-07-31 09:09:09 +12:00
Sergey Dudanov
794a4bd9a1
remote_base changes ( #5124 )
2023-07-31 08:07:33 +12:00
Sergey Dudanov
a120a455bf
climate triggers Climate and ClimateCall references ( #5028 )
2023-07-31 07:52:01 +12:00
Sergey Dudanov
cd72a2ed7e
Bump clang-tidy from 11 to 14 ( #5160 )
2023-07-31 07:44:56 +12:00
Jimmy Hedman
3eff7e76aa
Prepare some components for idf >= 5 ( #5061 )
2023-07-27 00:18:02 -05:00
esphomebot
959d1944fd
Synchronise Device Classes from Home Assistant ( #5147 )
2023-07-24 07:17:18 +00:00
Jesse Hills
b0966532bf
Allow esp32 idf components to specify submodules and specific components ( #5128 )
2023-07-23 20:22:46 +12:00
Sergey Dudanov
827b2def1e
Coolix IR protocol improvements ( #5105 )
...
* coolix protocol
* tests
* 24-bit range
* some DRY in coolix
* added short condition
* one more change
* final prettify
* v2023.8
2023-07-23 08:15:37 +12:00
Kuba Szczodrzyński
80154b280e
Init colorama in ESPHome main ( #5111 )
2023-07-22 20:25:01 +12:00
Jesse Hills
efd0dd4c3d
Update known boards to 5.4.0 ( #5134 )
2023-07-22 20:24:40 +12:00
esphomebot
c91b775b73
Synchronise Device Classes from Home Assistant ( #5136 )
2023-07-21 22:17:48 +12:00
Jimmy Hedman
1c237aef77
Version bump for ESP32 IDF and Arduino ( #5035 )
2023-07-21 15:35:44 +12:00
Graham Brown
89c5298bb9
Streamer mode ( #5119 )
2023-07-21 08:47:37 +12:00
Jimmy Hedman
76c0d0912f
Change datatype in e131 addressable light ( #5127 )
2023-07-20 15:54:25 +12:00
Jesse Hills
d238155640
Add size getter to CallbackManager ( #5129 )
2023-07-20 12:37:42 +12:00
Kuba Szczodrzyński
973e78355f
Dashboard: use Popen() on Windows ( #5110 )
2023-07-20 08:39:35 +12:00
Jesse Hills
417d45939f
Fix silence detection flag on voice assistant ( #5120 )
2023-07-19 11:38:47 +12:00
voed
837c749cd7
[LD2410] Remove baud_rate check ( #5112 )
2023-07-18 12:50:32 +12:00
PlainTechEnthusiast
b0e286972d
Sigma delta fix ( #4911 )
2023-07-18 12:49:04 +12:00
Kevin P. Fleming
6738295475
airthings_wave: Silence compiler warnings ( #5098 )
2023-07-17 10:43:57 +12:00
bwynants
1617eba764
P1 values for capacity tariff in Belgium ( #5081 )
2023-07-17 10:42:49 +12:00
Clyde Stubbs
ac81fae855
Add timeout filter ( #5104 )
2023-07-17 09:17:31 +12:00
Jesse Hills
8c6cddf1bb
Remove template switch restore_state ( #5106 )
2023-07-17 09:11:43 +12:00
Ilia Sotnikov
508392db6e
[Sprinkler] Resume fixes ( #5100 )
2023-07-16 15:28:31 -05:00
Pierre-Alexis Ciavaldini
3ac0165f00
ESP32 enable ADC2 when wifi is disabled ( #4381 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-07-17 07:42:01 +12:00
Kamil Trzciński
1691c13b47
display: Add helper methods to Display::clip
and Display::clamp_x/y_
( #5003 )
...
* display: `Rect` make most of methods `const`
* display: add `clip` and `clamp_x/y_` methods for clipping to `Display`
2023-07-14 15:30:19 -05:00
Jimmy Hedman
f8df694aa3
Mk2 to prepare color.h for idf >= 5 ( #5070 )
2023-07-12 19:32:05 -05:00
Jesse Hills
ac05495781
Dont do mqtt ip lookup if use_address
has ip address ( #5096 )
...
* Dont do mqtt ip lookup id `use_address` is in config
* Fix after actually testing =)
2023-07-12 19:19:04 -05:00
Jesse Hills
306ab0c56c
Bump version to 2023.8.0-dev
2023-07-13 09:50:48 +12:00
Jesse Hills
844cf316e2
Edit error message for pillow install to add version restrictions ( #5094 )
2023-07-13 09:38:24 +12:00
Lewis Baker
9344d85414
Fix PIDController::in_deadband() to give correct result when error is zero ( #5078 )
2023-07-13 08:57:45 +12:00
Sergey Dudanov
a539197bc4
New 'Duty Time' sensor component ( #5069 )
2023-07-13 08:48:16 +12:00
Sergey Dudanov
eb859e83f8
Fix use of optional<T> ( #5091 )
2023-07-13 08:44:30 +12:00
Pavlo Dudnytskyi
e4a640844c
Fixing colon for tm1637 display if inverted set true ( #5072 )
2023-07-13 08:24:49 +12:00
Christian
119bbba254
Grove amend name ( #5093 )
2023-07-13 08:13:50 +12:00
danieltwagner
8c5978599a
Add support for ATM90E26 ( #4366 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 17:10:22 +12:00
Sergey Dudanov
bbf3d382e8
added uart final validate data bits ( #5079 )
2023-07-12 16:12:40 +12:00
Clyde Stubbs
6d9dbf9e54
Correct message for standard transmission. ( #5088 )
2023-07-12 15:22:52 +12:00
Clyde Stubbs
ec37dece12
Add MCP2515 12MHz xtal support ( #5089 )
2023-07-12 15:12:48 +12:00
Christian
e0fd8cd850
Add support for Grove tb6612 fng ( #4797 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 15:02:53 +12:00
Kevin P. Fleming
cf65bd8ad7
airthings_wave: Battery level reporting ( #4979 )
2023-07-12 13:38:52 +12:00
Stefan Klug
8a9352939a
Fix typo in mpu6050.cpp ( #5086 )
2023-07-12 13:29:38 +12:00
kswt
6ecc1c14d2
tuya_light: fix float->int conversion while setting color temperature ( #5067 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: kswt <kswt@xmpp.is>
2023-07-12 13:28:48 +12:00
Stefan Rado
5f531ac9b0
Add TT21100 touchscreen component ( #4793 )
...
Co-authored-by: Rajan Patel <rpatel3001@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 13:19:19 +12:00
dentra
7a551081ee
web server esp idf suppport ( #3500 )
...
* initial web_server_idf implementation
* initial web_server_idf implementation
* fix lint errors
* fix lint errors
* add captive_portal support
* fix lint errors
* fix lint errors
* add url decode
* Increase the max supported size of headers section in HTTP request
* add ota support
* add mulipart form data support (ota required)
* make linter happy
* make linter happy
* make linter happy
* fix review marks
* add DefaultHeaders support
* add DefaultHeaders support
* unify file names
* using std::isnan
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* drop multipart request support
* drop multipart request support
* drop multipart request support
* OTA is disabled by default
* fail when OTA enabled on IDF framework
* changing file permissions to remove execute bit
* return back PGM_P and strncpy_P macro
* temp web_server fix to be compat with 2022.12
* fix config handling w/o web_server
* fix compilation with "local"
* fully remove all idf ota
* merge with esphome 2023.6
* add core/hal to web_server_base
* Update esphome/components/web_server_base/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update __init__.py
* Update __init__.py
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-11 19:08:03 -05:00
KoenBreeman
74139985c9
RTC implementation of pcf8563 ( #4998 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 09:19:28 +12:00
jan-hofmeier
f3cdcc008a
Add Alpha3 pump component ( #3787 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-11 17:12:43 +12:00
kahrendt
a391815921
Add Zio Ultrasonic Distance Sensor Component ( #5059 )
2023-07-11 16:24:18 +12:00
Kamil Trzciński
98fd092053
display: rename DisplayBufferRef
to DisplayRef
( #5002 )
2023-07-10 16:38:28 -05:00
Jimmy Hedman
ddde1ee31e
Allow pillow versions over 10 ( #5071 )
2023-07-10 11:34:43 +12:00
Jimmy Hedman
c5aacdd682
Update RP2040 Aruino framwork and platform to latest ( #5025 )
2023-07-10 11:30:39 +12:00
Trevor North
8ca9115dc8
Improve BME680 BSEC sensor device classes ( #4859 )
2023-07-10 10:03:54 +12:00
Fabian
8bf8892ab3
[Ethernet] ksz8081rna support ( #4739 )
...
Co-authored-by: Your Name <you@example.com>
2023-07-10 10:02:42 +12:00
Kevin P. Fleming
8739552c0b
binary_sensor: Validate max_length for on_click/on_double_click ( #5068 )
2023-07-10 09:55:02 +12:00
J. Nick Koston
e6834f25ed
Fix bulk and single Bluetooth parser coexistence ( #5073 )
2023-07-10 09:08:46 +12:00
NP v/d Spek
f9fc438de8
Fixed ili9xxx_display update() method ( #5013 )
...
There was an obsolete `if` statement left over from an other implementation.
2023-07-05 20:58:04 -05:00
Kamil Trzciński
677b2c6618
display: split DisplayBuffer
and Display
( #5001 )
2023-07-05 14:33:26 -05:00
Tobias Oort
301a78f983
Adds 1.54" e-ink display (gdew0154m09) support to waveshare_epaper component ( #4939 )
...
* Added GDEW0154M09 in waveshare_epaper component
* noop change - trigger workflow
* Make linter happy
* Update test4.yaml
* linter doing linty things
* revert the newline removal.
* revert to prove unstable test
* add code back into test.
* no partial updates supported yet - removed from test.
* Update esphome/components/waveshare_epaper/waveshare_epaper.cpp
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-07-05 14:32:00 -05:00
Jimmy Hedman
979f014799
Make scheduler debuging work with idf >= 5 ( #5052 )
2023-07-05 22:05:27 +12:00
Fabian
a326dcaf0e
[ili9xxx] Allow config of spi data rate. ( #4701 )
...
* Allow 80MHz ili9xxx display.
* python foo.
* update based on feedback.
* Change python
---------
Co-authored-by: Your Name <you@example.com>
2023-07-05 02:53:14 -05:00
lnicolas83
5bf2fa5c56
[ILI9xxx] Add ili9488_a (alternative gamma configuration for ILI9488) ( #5027 )
...
* Add ili9488_a
* Fix clang-tidy
2023-07-04 19:21:26 -05:00
Jesse Hills
22a1134f0e
Fix when idf component has broken symlinks ( #5058 )
2023-07-05 10:31:58 +12:00
Jimmy Hedman
fc3d558d47
Initial debug component support for rp2040 ( #5056 )
2023-07-05 10:28:12 +12:00
Jesse Hills
45c72f1f22
Log start of i2c setup ( #5049 )
2023-07-04 15:26:31 +12:00
Jesse Hills
fd9cca565b
Log component long time message at warning level ( #5048 )
2023-07-04 15:02:53 +12:00
Jesse Hills
d64d1650e3
Update webserver to ea86d81 ( #5023 )
2023-07-04 13:45:06 +12:00
J. Nick Koston
a74abb8ea8
Adjust signature for on_disconnect ( #5009 )
2023-07-04 12:57:44 +12:00
Fabian
e74ab00b3e
Mopeka std fixes ( #5041 )
...
Co-authored-by: Your Name <you@example.com>
2023-07-04 12:55:04 +12:00
J. Nick Koston
2e2ac53071
Advertise noise is enabled ( #5034 )
2023-07-04 12:52:42 +12:00
Jimmy Hedman
87c0f48095
Prepare debug and logger component to work with idf 5.0 ( #5036 )
2023-07-04 12:49:27 +12:00
Jimmy Hedman
25b9bde0a5
Prepare ethernet to work with esp idf 5.0 ( #5037 )
2023-07-04 12:48:05 +12:00
guillempages
63d3a0e8b3
Improve the gamma settings for the S3-Box-lite display ( #5046 )
2023-07-04 12:43:03 +12:00
Graham Brown
4cc0f3fd53
Add alarm to reserved ids ( #5042 )
2023-07-04 12:28:19 +12:00
Sergey Dudanov
5b2176562b
binary_sensor filters templatable delays ( #5029 )
2023-07-04 12:25:48 +12:00
Sergey Dudanov
099dc8d1d2
fix template binary_sensor publish_initial_state option ( #5033 )
2023-07-04 12:18:51 +12:00
Sergey Dudanov
cf98c497d5
binary_sensor removed unused filter ( #5039 )
2023-07-03 10:35:53 +12:00
Ryan DeShone
807621402d
[SCD30] Disable negative temperature offset ( #4850 )
2023-06-29 11:42:39 +12:00
Jesse Hills
951157dc26
Add CONFIG_BT_BLE_42_FEATURES_SUPPORTED for ble ( #5008 )
2023-06-28 11:35:35 +12:00
Jesse Hills
68119ddcd4
Attempt to fix script parameters ( #4627 )
2023-06-28 11:34:08 +12:00
F.D.Castel
c82be2cd60
Fixes compressed downloads ( #5014 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-28 11:13:14 +12:00
esphomebot
9a149a7aba
Synchronise Device Classes from Home Assistant ( #5018 )
2023-06-27 22:19:36 +00:00
jerome992
bd9a4ff8de
add water delivered to dsmr component ( #4237 )
...
Co-authored-by: Jerome <jerome992@internet.lu>
2023-06-27 15:35:20 -03:00
Philippe Vlérick
d9398a91d1
update dsmr to 0.7 ( #5011 )
2023-06-26 17:09:52 -03:00
Jesse Hills
ef84937fd6
Update webserver to 56d73b5 ( #5007 )
2023-06-26 10:27:03 +12:00
Kamil Trzciński
8a1c49a4ae
display: move Image
, Font
and Animation
code into components ( #4967 )
...
* display: move `Font` to `components/font`
* display: move `Animation` to `components/animation`
* display: move `Image` to `components/image`
2023-06-24 17:56:29 -05:00
Jesse Hills
eb145757e5
Fix rp2040 pio tool download ( #4994 )
2023-06-23 16:42:37 +12:00
Samuel Sieb
fc0e1a3cb9
remove unused static declarations ( #4993 )
2023-06-23 13:03:31 +12:00
Kamil Trzciński
85608a8ab7
display: fix white screen on binary displays ( #4991 )
2023-06-22 14:18:29 -05:00
Jimmy Hedman
52d7d2cae7
Make ethernet_info work with esp-idf framework ( #4976 )
2023-06-22 16:09:00 +12:00
F.D.Castel
f72b07eb0e
dashboard: Adds "compressed=1" to /download.bin endpoint. (...) ( #4966 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-22 11:48:17 +12:00
J. Nick Koston
314c1c8b5c
Migrate VOC sensors that use ppb to use volatile_organic_compounds_parts device class ( #4982 )
2023-06-22 11:45:41 +12:00
Jesse Hills
211453df43
Update webserver and captive portal pages to 67c48ee9 ( #4986 )
2023-06-22 10:12:25 +12:00
Dion Hulse
1cc7428445
Add configuration option to disable the log UI. ( #4419 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-22 09:58:49 +12:00
Onne
9e7e3708e3
Make growatt play nicer with other modbus components. ( #4947 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-21 00:22:32 +00:00
Kevin P. Fleming
8bd9f50659
airthings_wave: refactor to eliminate code duplication ( #4910 )
2023-06-21 11:53:44 +12:00
Stijn Tintel
cb5a01da29
mqtt: add ESP-IDF >= 5.0 support ( #4854 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-20 23:53:32 +00:00
Martin Murray
bfe85dd710
Apply configured IIR filter setting in generated BMP280 code ( #4975 )
...
Co-authored-by: Martin Murray <murrayma@gmail.com>
2023-06-21 11:53:21 +12:00
guillempages
ee12c68b8f
Add actions to animation ( #4959 )
2023-06-20 10:50:02 +12:00
Jimmy Hedman
7ceb16cc5a
Preprocess away unused code when IPv6 is disabled ( #4973 )
2023-06-20 10:34:46 +12:00
MrEditor97
41a618737b
XL9535 I/O Expander ( #4899 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-19 15:26:06 +12:00
Carson Full
67771abc9d
Add read/write for 16bit registers ( #4844 )
2023-06-19 14:10:05 +12:00
Stanislav Habich
b346ad8080
Update pca9685_output.cpp ( #4929 )
2023-06-19 13:56:12 +12:00
J. Nick Koston
cd57271386
Construct web_server assets at build time instead of run time ( #4944 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-19 13:51:19 +12:00
J. Nick Koston
b9f20b36cb
Store app comment and compilation_time in flash ( #4945 )
2023-06-19 11:35:47 +12:00
Kamil Trzciński
62d2640c37
display: move Rect
into rect.cpp/.h
( #4957 )
2023-06-18 23:32:39 +00:00
Kamil Trzciński
54eb52c19a
display/font: optimise font rendering by about 25% ( #4956 )
2023-06-18 23:29:43 +00:00
Hawawa McTaru
77a7d3f24b
Fix for Fujitsu AC not having Quiet Fan Mode ( #4962 )
2023-06-19 11:20:32 +12:00
Kamil Trzciński
8c9d63f48f
display: add BaseFont
and introduce Font::draw
methods ( #4963 )
2023-06-19 11:04:19 +12:00
Pavlo Dudnytskyi
5a8e93ed0a
Upgraded Haier climate component implementation ( #4521 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
Co-authored-by: esphomebot <esphome@nabucasa.com>
2023-06-19 10:24:52 +12:00
Jesse Hills
d4099d68a7
Use HW SPI for rp2040 ( #4955 )
2023-06-19 07:24:44 +12:00
Kamil Trzciński
e1b0d86098
display: allow to align image with ImageAlign
( #4933 )
2023-06-19 07:24:23 +12:00
guillempages
1a7f121ac6
Add support for ESP32-S3-BOX displays ( #4942 )
...
The ESP32-S3-BOX display has an ILI9xxx driver
Add the needed configuration so that it works.
2023-06-17 03:38:44 -05:00
guillempages
ffa669899a
Split display_buffer sub-components into own files ( #4950 )
...
* Split display_buffer sub-components into own files
Move the Image, Animation and Font classes to their own h/cpp pairs,
instead of having everything into the display_buffer h/cpp files.
* Fixed COLOR_ON duplicate definition
2023-06-17 03:32:07 -05:00
guillempages
17fed954bf
Add support for ESP32-S3-BOX-Lite displays ( #4941 )
2023-06-16 11:39:50 +12:00
Samuel Sieb
467e42d8aa
fix vbus sensor offsets ( #4952 )
2023-06-15 01:05:28 -07:00
Clyde Stubbs
a023f24a08
Add support in vbus component for Deltasol BS 2009 ( #4943 )
2023-06-14 23:51:44 -07:00
Jesse Hills
27f69f5439
Bump version to 2023.7.0-dev
2023-06-15 14:25:36 +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
Kamil Trzciński
0411d52420
display: add BaseImage
and provide only Image::get_pixel
method ( #4932 )
2023-06-15 11:15:46 +12:00
Kamil Trzciński
cef659b0de
display: Improve Image rendering by removing usage of virtual functions ( #4931 )
2023-06-15 09:50:24 +12:00
Jesse Hills
035c3ef8fe
Add MULTI_CONF to pn53_i2c ( #4938 )
2023-06-13 15:30:40 -05:00
Carlos Cordero
5afdb1e97f
I2S media player allow setting communication format for external DACs ( #4918 )
...
Co-authored-by: Carlos Cordero <ccordero@bkool.com>
2023-06-13 07:48:01 +12:00
Pascal
0a407c5425
[max7219digit] fix 270° rotation ( #4930 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-12 16:59:25 +12:00
guillempages
c74105aad7
Add SVG image support ( #4922 )
2023-06-12 09:36:37 +12:00
RoboMagus
5f0892dec4
Allow multiple MAC addresses for 'on_ble_advertise' filter ( #4773 )
2023-06-09 12:53:30 +12:00
Jesse Hills
302dea4169
Move ESPTime into core esphome namespace ( #4926 )
...
* Prep-work for datetime entities
* Fix some includes and remove some restrictions on printing time on displays
* format
* format
* More formatting
* Move function contents
* Ignore clang-tidy
2023-06-08 17:24:44 -05:00
Jesse Hills
ce13979690
Bluetooth Proxy: Raw bundled advertisements ( #4924 )
2023-06-09 07:41:09 +12:00
Simone Rossetto
d1253922c3
Increase SNTP setup priority ( #4917 )
2023-06-07 10:38:18 +12:00
guillempages
6b00622329
Add support for mdi images ( #4654 )
2023-06-07 09:32:21 +12:00
PlainTechEnthusiast
aeb94e166b
Support for Adafruit ESP32-S2 TFT Feather ( #4912 )
...
Support for optional PowerSupply component for ST7789V
This commit makes the power supply required if the model configured in the ST7789V component is set to ADAFRUIT_S2_TFT_FEATHER_240X135. There are at least two boards from Adafruit with this configuration but with a different pin out.
This also adds the board pins definition for the board I have. There is discussion on the forums about the other board's documentation not matching reality and I don't have a physical board to confirm.
2023-06-03 16:07:24 -05:00
Nick Owens
8bb4c65272
prometheus: fix compilation with EntityBase ( #4895 )
2023-06-01 14:31:58 +12:00
Jesse Hills
b06bdc2da3
Allow WIFI to be disabled and enabled ( #4810 )
...
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com>
Co-authored-by: Ash McKenzie <ash@the-rebellion.net>
2023-06-01 11:34:35 +12:00
Jesse Hills
1ea5d90ea3
Continuous voice_assistant and silence detection ( #4892 )
2023-05-31 16:30:53 +12:00
Stijn Tintel
f9f335e692
light: fix compile with ESP-IDF >= 5 ( #4855 )
2023-05-31 13:49:31 +12:00
Stijn Tintel
3ead48f0db
ota: fix TWDT with ESP-IDF >= 5 ( #4858 )
2023-05-31 13:48:34 +12:00
Stijn Tintel
ccba94197d
ota: fix compile with ESP-IDF >= 5 ( #4857 )
2023-05-31 13:47:11 +12:00
Stijn Tintel
796b64541f
esp32_rmt_led_strip: fix compile with ESP-IDF >= 5 ( #4856 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-30 11:07:36 +12:00
Regev Brody
7dcdf80f49
add SUB_SWITCH macro ( #4898 )
2023-05-29 09:44:35 +12:00
Regev Brody
57023457ee
add SUB_SELECT macro ( #4897 )
2023-05-29 09:44:05 +12:00
Jesse Hills
ebad407586
Fix version printing not breaking yaml parsing ( #4904 )
2023-05-28 21:18:01 +00:00
Samuel Sieb
71387846dc
move pio tools to LED component ( #4903 )
2023-05-28 20:49:27 +00:00
Sybren A. Stüvel
97c1c34708
Add support for TMP1075 temperature sensor ( #4776 )
...
* Add support for TMP1075 temperature sensor
TMP1075 is a temperature sensor with I2C interface in industry standard
LM75 form factor and pinout.
https://www.ti.com/product/TMP1075
Example YAML:
```yaml
sensor:
- platform: tmp1075
name: TMP1075 Temperature
id: radiator_temp
update_interval: 10s
i2c_id: i2c_bus_1
conversion_rate: 27.5ms
alert:
limit_low: 50
limit_high: 75
fault_count: 1
polarity: active_high
```
* Add myself as codeowner of the TMP1075 component
* Include '°C' unit when logging low/high limit setting
* Reformat
No functional changes.
* Fix logging: use %.4f for temperatures, not %d
* Fix config initialisation
* Use relative include for `tmp1075.h`
* Apply formatting changes suggested by script/clang-tidy for ESP32
* Add YAML to test1.yaml
* Fix test1.yaml by giving TMP1075 a name
* Less verbose logging (debug -> verbose level)
* Schema: reduce accuracy_decimals to 2
* I2C address as hexadecimal
* Proper name for enum in Python
The enum on the C++ side was renamed (clang-tidy) but I forgot to take that
into account in the Python code.
* Expose 'alert function' to the code generator/YAML params and remove 'shutdown'
Shutdown mode doesn't work the way I expect it, so remove it until someone
actually asks for it.
Also 'alert mode' was renamed to 'alert function' for clarity.
* Move simple setters to header file
* Remove `load_config_();` function
2023-05-26 00:01:21 -05:00
Jesse Hills
79abd773a2
Allow i2s microphone bits per sample to be configured ( #4884 )
2023-05-26 15:50:44 +12:00
guillempages
9cd173ef83
Allow partially looping animations ( #4693 )
...
Add the possibility of specifying a "loop" in an animation; where the
requested frames (start - end) will be repeateadly shown for "count" times.
2023-05-25 16:49:52 -05:00
Rajan Patel
bb044a789c
Add i2s mclk ( #4885 )
2023-05-24 19:28:08 +12:00
Jesse Hills
2153cfc749
Fix esp32_rmt_led_strip color modes ( #4886 )
2023-05-24 02:20:06 -05:00
Jesse Hills
2e8b4fbdc8
Fix rp2040_pio_led_strip color modes ( #4887 )
2023-05-24 02:19:49 -05:00
Samuel Sieb
4141100b1c
fix modbus sending FP32_R values ( #4882 )
2023-05-23 15:00:33 -07:00
Jesse Hills
baa08160bb
Print ESPHome version when running commands ( #4883 )
2023-05-23 21:56:15 +00:00
Davrosx
35ef4aad60
Update cover.h for compile errors with stop() ( #4879 )
2023-05-24 07:52:34 +12:00
Fabian
ffa5e29dab
[internal_temperature] ESP32-S3 needs ESP IDF V4.4.3 or higher ( #4873 )
...
Co-authored-by: Your Name <you@example.com>
2023-05-24 07:51:12 +12:00
Evgeny
28b5c535ec
add codeowners ( #4875 )
2023-05-22 22:28:35 +00:00
Fabian
ed8aec62fc
[PSRam] Change log unit to KB to minimize rounding error. ( #4872 )
...
Co-authored-by: Your Name <you@example.com>
2023-05-23 08:43:03 +12:00
Jesse Hills
f7b5c6307c
Allow microphone channel to be specified in config ( #4871 )
2023-05-23 07:02:16 +12:00
Lucas Reiners
40d110fc3f
Update ili9xxx_init.h for correct white balance ( #4849 )
2023-05-22 23:24:17 +12:00
Daniel Mahaney
a15ac06771
Rp2040 pio ledstrip ( #4818 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-22 10:31:27 +12:00
Stefan Rado
784cc3bc29
Fix i2s_audio media_player mutex acquisition ( #4867 )
...
Co-authored-by: Rajan Patel <rpatel3001@gmail.com>
2023-05-22 08:10:23 +12:00
guillempages
8a518f0def
Add transparency support to all image types ( #4600 )
2023-05-22 08:03:21 +12:00
Keith Burzinski
c61a3bf431
Sprinkler fixes ( #4816 )
2023-05-18 11:36:52 +12:00
Jesse Hills
1b77996ccd
Remove i2c dependency from ttp229_bsf ( #4851 )
2023-05-18 11:34:18 +12:00
Jesse Hills
9e3ecc8372
Migrate e131 to use socket instead of WiFiUDP arduino library ( #4832 )
2023-05-18 08:41:21 +12:00
Lukas Lindner
c96663daca
Insert Europe Tank Types from mopeka_std_check ( #4757 )
2023-05-17 16:41:53 +12:00
Joel Goguen
b3ed988119
Allow substitutions to be valid names ( #4726 )
2023-05-17 16:33:08 +12:00
Carson Full
77695aa55b
Move some I2C logic out of header file ( #4839 )
2023-05-17 16:32:20 +12:00
Markus
c5a45645a6
allow to use MQTT for discovery of IPs if mDNS is no option ( #3887 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-17 16:29:56 +12:00
Christian
0de47e2a4e
Add DNS to Text info ( #4821 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-17 16:29:21 +12:00
Samuel Sieb
edfd82fd42
handle Wiegand 8-bit keys ( #4837 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-05-17 09:30:14 +12:00
Samuel Sieb
492bad645b
support sending keys to the collector ( #4838 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-05-16 23:36:02 +12:00
github-actions[bot]
d7fd23d8a8
Synchronise Device Classes from Home Assistant ( #4825 )
...
Co-authored-by: esphomebot <esphome@nabucasa.com>
2023-05-15 23:13:17 +00:00
Justin Gerace
d0ca69bc27
Start UART assignment at UART0 if the logger is not enabled or is not configured for hardware logging on ESP32 ( #4762 )
2023-05-16 11:00:05 +12:00
Federico G. Schwindt
8e4aeec3bd
Fix time period validation for the auto cleaning interval ( #4811 )
2023-05-16 10:28:01 +12:00
Christian
ae838b13a8
Update PulseLightEffect with range brightness ( #4820 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-16 08:29:00 +12:00
RoboMagus
b1551d0436
Fix missing stop trait in send_cover_info ( #4826 )
2023-05-16 08:24:03 +12:00
Jesse Hills
1d8227788b
Dontr try stop if not actually started ( #4814 )
2023-05-15 10:11:48 +12:00
Jesse Hills
5fdd8440ac
Fix i2s media player volume control ( #4813 )
2023-05-13 00:19:06 -05:00
richardhopton
5d8daa6990
Tuya: Prevent loop when setting colors on case-sensitive dps ( #4809 )
...
Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
2023-05-13 15:16:28 +12:00
Federico G. Schwindt
cf802d0d38
Wording ( #4805 )
2023-05-12 13:46:47 +12:00
Alex Dekker
9cbf437509
Supposed to fix #4069 , by changing the default value to 0s (timeunit instead of int) to pass validation ( #4806 )
...
Co-authored-by: Alex1602 <alex1602@gmail.com>
2023-05-11 16:25:34 -05:00
NP v/d Spek
cd7e8e4bdd
Add minimum RSSI check to ble presence ( #4646 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-12 04:28:24 +12:00
Jesse Hills
ed024a0aa5
Remove AUTO_LOAD from apds9960 ( #4746 )
2023-05-11 11:33:59 +12:00
Jimmy Hedman
5b02715c7b
Fixed access point for ESP32 IDF platform ( #4784 )
2023-05-11 10:00:28 +12:00
Jesse Hills
3b0eea69ce
Bump version to 2023.6.0-dev
2023-05-11 09:38:21 +12:00
Jesse Hills
97a71482a9
Validate project details are set for dashboard_import ( #4802 )
2023-05-11 08:55:05 +12:00
Jesse Hills
8822b6c808
Make i2s_audio bclk_pin optional ( #4801 )
2023-05-11 07:17:59 +12:00
Jesse Hills
5099595aee
Wrap VA code ( #4800 )
2023-05-10 16:46:32 +12:00
Jesse Hills
39a650ee54
Add more configuration for microphones - i2s/pdm/adc ( #4775 )
2023-05-10 16:37:21 +12:00
Jimmy Hedman
b19c7d462b
Fixed calculation of start and end dhcp range ( #4785 )
2023-05-10 13:03:43 +12:00
Fabian
a8b821c213
[display] Small display print performance improvement ( #4788 )
2023-05-10 12:47:24 +12:00
Fabian
535003014b
Keep Unit of Measurement in Flash. ( #4719 )
...
Co-authored-by: Your Name <you@example.com>
2023-05-10 11:42:55 +12:00
Jesse Hills
c835b67bac
Add host target platform ( #4783 )
...
Co-authored-by: Otto winter <otto@otto-winter.com>
2023-05-10 11:38:18 +12:00
Fabian
8c32941428
[ili9xxx] Improve fill operation performance ( #4702 )
...
Co-authored-by: Your Name <you@example.com>
2023-05-10 11:19:28 +12:00
Alfredo
b5dac00dcb
Fix ezo parsing ( #4792 )
2023-05-10 11:16:14 +12:00
bouhaa
ffdc721c79
SM2135 Add optional current configuration, avoid communication failures. ( #3850 )
...
Co-authored-by: matika77 <xmaximx@gmx.net>
Co-authored-by: Dion <contact@dd32.id.au>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-10 11:06:26 +12:00
Jesse Hills
0828a9fc11
Bump ESP32-audioI2s to 2.0.7 ( #4796 )
2023-05-10 09:13:01 +12:00
Jesse Hills
4b664b6f09
Create esp32 rmt addressable light driver ( #4708 )
2023-05-09 09:33:43 +12:00
Jesse Hills
679633245d
Add gp8403 output component ( #4495 )
...
Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
2023-05-08 12:45:12 +12:00
Jesse Hills
ce8a77c765
Speaker support ( #4743 )
2023-05-08 10:36:17 +12:00
Chris Nussbaum
c4539e10fb
Revert "Template sensors always publish on update interval ( #2224 )" ( #4774 )
2023-05-04 10:16:00 +12:00
Tim Niemueller
2b3052e9d7
Fixes for Arduino 2.7.4 (for FastLED) ( #4777 )
2023-05-04 10:13:30 +12:00
Jesse Hills
4a3f9712b2
Fix i2s media player on devices with no internal DAC ( #4768 )
2023-05-02 16:57:40 +12:00
looping40
de10b356cf
Max6956 support added ( #3764 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-02 09:51:48 +12:00
cooki35
bd6d6caa8a
Add support for V2 of the waveshare 5.83in e-paper display. ( #3660 )
2023-05-02 09:36:20 +12:00
Mat931
1c4af08ed3
Add support for BLE passkey authentication ( #4258 )
...
Co-authored-by: Branden Cash <203336+ammmze@users.noreply.github.com>
2023-05-02 09:25:10 +12:00
Philippe FOUQUET
c97d361b6c
Add support for hyt271 ( #4282 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-01 16:18:31 +12:00
marshn
379b1d84dd
RF Codec for Drayton Digistat heating controller ( #4494 )
2023-05-01 16:12:53 +12:00
Luis Andrade
c13e20643b
play_folder bugfix and addition of play_mp3 ( #4758 )
2023-05-01 16:01:24 +12:00
Mat931
76b6fcf554
Add PCA6416A Support ( #4681 )
2023-05-01 16:00:21 +12:00
Jesse Hills
56e0923c22
Switch ESPAsyncTCP-esphome to esphome fork ( #4764 )
2023-05-01 11:09:01 +12:00
tracestep
f4b98f5e32
Power down PN532 before deep sleep ( #4707 )
2023-05-01 09:24:15 +12:00
Keith Burzinski
c2a43c733a
Fix sprinkler switch restore_mode ( #4756 )
2023-05-01 07:52:05 +12:00
RoboMagus
568e65a6ab
Fix assumed_state switch webserver ( #4259 )
2023-05-01 07:28:21 +12:00
itpeters
70aa38f5bd
Don't allow fingerprint_grow enroll cancellation when no enrollment started ( #4745 )
2023-04-27 16:34:20 +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
6f27126c8d
Move am43 sensor code and remove auto load on cover ( #4631 )
2023-04-27 13:24:42 +12:00
Jesse Hills
ee21a91313
Add mlx90614 sensors ( #3749 )
...
Co-authored-by: Greg Arnold <greg@arnoldassociates.com>
Co-authored-by: notsonominal <130870838+notsonominal@users.noreply.github.com>
2023-04-27 13:17:09 +12:00
Jesse Hills
c5efaa1c00
Remove climate legacy away flags ( #4744 )
2023-04-27 13:11:32 +12:00
Jesse Hills
6476357596
Expand the platformio dep installer to also install platforms and tools ( #4716 )
2023-04-27 12:26:06 +12:00
RoboMagus
64afb07e91
Fix 'blutooth' typo in esp32_ble component ( #4738 )
2023-04-27 10:48:53 +12:00
Keith Burzinski
f639f7c280
Add on_tag_removed trigger for RC522 ( #4742 )
2023-04-27 10:47:45 +12:00
Jimmy Hedman
986dd2ddd2
Debug component doesn't work on RP2040 ( #4728 )
2023-04-27 08:03:30 +12:00
gcopeland
7abdb5d046
I2c scan recovery reset fix ( #4724 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-27 08:00:37 +12:00
Alexander Momchilov
bef5b38d49
Add supports_stop
trait to Cover ( #3897 )
...
* Add "stop" trait to Cover
* Add `supports_stop` to Cover protobuf msg
* Run `script/api_protobuf/api_protobuf.py`
... followed by `script/clang-format -i`
* Add `has_stop` field to template Cover
* Set `has_stop` during Cover codegen
* Set `supports_stop` trait on all other Cover types
* Bump APIVersion to 1.8
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-23 20:51:32 +00:00
Rebbe Pod
0a95f116fc
Get Sunrise & Sunset for a Specific Date ( #4712 )
...
* Update real_time_clock.cpp
* Update real_time_clock.h
* Update sun.h
* Update sun.h
* Update sun.h
* Enable the sunAtLocation to be used externally
* Enable the sunAtLocation to be used externally
* Update sun.h
* Update sun.h
* update
* update
* update to only use one function
* Update sun.h
* Update sun.cpp
2023-04-23 20:44:35 +00:00
Jesse Hills
327cd662b4
Use proper schema for delta filter ( #4723 )
2023-04-23 20:42:46 +00:00
Samuel Sieb
bb05ba3d00
fix flip_x ( #4727 )
2023-04-22 07:41:12 +00:00
Keith Burzinski
c0ad5d1d16
Initial attempt at supporting ESP-IDF 5.0.0 ( #4364 )
...
* requirements: add pyparsing >= 3.0
ESP-IDF >= 5.0 requires pyparsing's rest_of_file, which was introduced
in version 3.0.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* esp32: fix build with ESP-IDF >= 5
We need to include esp_timer.h to be able to use esp_timer_get_time().
This header existed in ESP-IDF < 5 so we don't need if guards.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ota: fix build with ESP-IDF >= 5
As of version 5, esp_task_wdt_init() takes a struct as argument. We also
need to include spi_flash_mmap.h.
[split unrelated change into separate commits, maintain ESP-IDF < 5
compat, use esp_task_wdt_reconfigure, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* core: fix build with ESP-IDF >= 5
These header files already existed in ESP-IDF < 5 so skip if guards.
[add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* wifi: fix build with ESP-IDF >= 5
ESP-IDF 4.1 introduced the esp-netif API as successor to the tcp_adapter
API. The tcp_adapter API was removed in ESP-IDF 5.0.0. Part of the wifi
component was already migrated to the new API. Migrate the leftover uses
of the old API to the new API to fix build on ESP-IDF >= 5.
The version of ESP-IDF currently in use (4.4.4) supports the new API, so
we don't need any if guards to maintain backwards compatibility.
Also replace xQueueHandle, which is a pre FreeRTOS v8.0.0 data type,
with QueueHandle_t, so we don't need to enable backward compatibility
(CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY).
This reverts part of commit d42f35de5d
to wifi_component_esp_idf.cpp,
as the esp-netif API handles that internally.
[replace pre FreeRTOS v8.0.0 data type, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* mdns: fix build with ESP-IDF >= 5
In ESP-IDF 5.0.0, the mdns component was removed and moved to another
repository. Since the mdns component in esphome is always built, we
need to add the mdns component from the esp-protocols repository. This
component depends on ESP-IDF >= 5.0, so we need to add a version guard.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* docker: install python3-venv
As of version 6.0.1, platform-espressif32 requires python3-venv.
Switching between esp-idf 4.4.4 and 5.0 causes problems with esp-idf
python dependencies installed by PlatformIO. They've solved this by
using venv. Install python3-venv so that platform-espressif32 6.0.1 and
later can be used, and we don't need to wipe the dependencies manually
when switching esp-idf versions.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
---------
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-04-20 03:54:06 +00:00
Bella Coola
4c39631428
Add support for passive WiFi scanning ( #4666 )
...
* Add support for passive WiFi scanning.
* Apply suggestions from code review
Made changes suggested by @jesserockz
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: BellaCoola <unknown>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-20 03:53:42 +00:00
Fabian
afc2b3b74f
Keep Device Class in Flash. ( #4639 )
...
* Keep Device Class in Flash.
* Remove blank line
---------
Co-authored-by: Your Name <you@example.com>
2023-04-20 03:53:35 +00:00
Jesse Hills
0f7e34e7ec
Bump arduino platform version to 5.3.0 ( #4713 )
...
* Bump arduino platform version to 5.3.0
* Update root platformio.ini
2023-04-20 00:44:49 +00:00
tracestep
2be703b329
Add ethernet powerdown (fixes esphome/issues#4420) ( #4706 )
...
* Add ethernet powerdown
* Add on_shutdown (fixes esphome/issues#4420
* Sync dev and clang-tidy fix
* fix typo and trainling space
* Initialize phy_ member
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Member initialized at declaration
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-19 22:10:01 +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
3a587ea0d4
Add event triggers to voice_assistant ( #4699 )
...
* Add event triggers to voice_assistant
* Add triggers to test
2023-04-17 02:57:28 +00:00
Szewcson
8a60919e1f
Add timeout to i2c write error logs ( #4697 )
2023-04-16 20:12:13 +00:00
Jimmy Hedman
382dcddf12
Fixed dns2 for ethernet ( #4698 )
2023-04-16 20:10:07 +00:00
Jesse Hills
6b67acbeb5
debug component, allow without debug logging ( #4685 )
2023-04-14 02:29:28 +00:00
kahrendt
afc848bf22
Add Bayesian type for binary_sensor_map component ( #4640 )
...
* initial support for Bayesian type
* Cast bool state of binary_sensor to uint64_t
* Rename channels to observations with Bayesian
* Improve/standardize comments for all types
* Use black to correct sensor.py formatting
* Add SUM and BAYESIAN binary sensor map tests
* Remove unused variable
* Update esphome/components/binary_sensor_map/binary_sensor_map.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-13 01:48:29 +00:00
Jesse Hills
04a139fe3d
Bump version to 2023.5.0-dev
2023-04-13 10:13:53 +12:00
spacemanspiff2007
4eb69d6af5
Fix restore ( #4655 )
...
* ALWAYS_OFF for fan
* ALWAYS_OFF for light
* ALWAYS_OFF for switch
2023-04-12 21:28:02 +00:00
Fabian
0547f2a931
Add KSZ8081 support. ( #4668 )
...
Co-authored-by: Your Name <you@example.com>
2023-04-12 21:22:08 +00:00
unhold
b5fbe0b145
Fix cut-off on 2.13" waveshare/ttgo epaper displays ( #4255 )
...
The controller of the 2.13" waveshare/ttgo epaper displays operates with a 128x250 buffer,
while only 122x250 pixels are shown. While this can be ignored for rotations 0/270°,
with roations 90/180°, 6 pixels are cut-off from the top or left edge.
This change introduces a distinction between object width and controller width,
resulting in pixel-perfect rotations.
2023-04-12 21:19:52 +00:00
unhold
443c3c2a56
Fix graph limits for negative values and other corner cases ( #4253 )
...
Fix lower graph limit for negative values by rounding down instead of truncating.
Consistently handle the corner cases: empty trace, min=max (e.g. single value)
by drawing the grid lines for a single grid division.
2023-04-12 21:18:09 +00:00
X-Ryl669
d75daa9644
Add always trigger stop ( #4249 )
...
* feat: Add manual control config override 1/3
* feat: Add manual control config override 2/3
* feat: Add manual control config override 3/3
* No magical number is better
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
---------
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2023-04-12 21:16:44 +00:00
Joe
7963abb27a
Fix BedJet setup priority [fixes esphome/issues#3807] ( #4677 )
...
There is a race condition where a BedJet unit previously had its BLE
"notify" flag enabled, and it continues to broadcast these notify
packets even after the ESP32 (and BLEClient) goes away, such as during
a crash or unplugging power.
BLEClient::setup_priority=AFTER_BLUETOOTH, while
BedJetHub::setup_priority=AFTER_WIFI. When the ESP32 starts back up
again, BLEClient::setup() happens first and will start receiving the
BLE notify packets almost immediately. Since we register the BLEClient
child from codegen, BedJetHub is registered as a child already by this
point, so BLEClient dispatches the notify status packet (and other gatt
events) to the BedJetHub handler, even though BedJetHub::setup() has
not been called yet.
We initialize BedJetHub::codec_ in setup(), so if BLEClient starts
dispatching gatt events before setup() is called, then codec_ will not
be initialized yet. This causes BedJetHub's gatt notify handler to call
`this->codec_->decode_notify()` on an uninitialized null pointer. Since
invoking a method does not have to dereference the pointer, that method
invocation is allowed; but later trying to access memory on that
instance results in a StoreProhibited panic.
Changing the BedJetHub's setup_priority to BLUETOOTH causes it to be
setup before BLEClient, so that by the time BLEClient starts to receive
BLE packets, BedJetHub is ready to receive them.
2023-04-12 08:33:15 +00:00
Jesse Hills
0b9e8fda34
Fix pin schema for i2s microphone ( #4680 )
2023-04-12 08:25:19 +00:00
Dave Johnston
a3cacc0c8b
Add support for SSD1306 72x40 displays ( #4659 )
...
* add SSD1306 72x40
* fix indents
* fix clang style
2023-04-12 04:02:29 +00:00
Keith Burzinski
5a4840f641
Fix some NFC/PN532 crashes ( #4678 )
...
* Add + use some constants, fix some crashes
* Fix PN532 crashes
2023-04-12 02:29:06 +00:00
Keith Burzinski
3d7d689040
Fix ESP32 SPI hardware assignment in Arduino fw ( #4669 )
2023-04-12 01:38:41 +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örg Thalheim
421ebcc8b2
use PRIx macros for printing u32/i32 ints ( #4671 )
...
This fix compilation issues with the latest esp-idf.
2023-04-10 22:20:02 +00:00
Ben Hoff
42401775e1
Added in mmc5603 code ( #4175 )
...
* added in mmc5603 code
* added in codeowner
* fix linter errors
* whitespace linter errors
* added codeowner
* clang format
* remove clang format from python code
* fix whitespace
* add tests
* fix test
* make requested edits
* remove status manipulation
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-04 02:34:14 +00:00
dependabot[bot]
9c9bc58c16
Bump pylint from 2.16.4 to 2.17.2 ( #4650 )
...
* Bump pylint from 2.16.4 to 2.17.2
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.4 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.4...v2.17.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add return 0 to run_miniterm
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-03 23:55:00 +00:00
tracestep
fbc129cccc
Version retry (fixes esphome/issues#3823) ( #4651 )
2023-04-03 22:23:31 +00:00
RoboMagus
d78e9e6aa8
Number step not optional ( #4649 )
...
* Number step not optional
* Update __init__.py
* Update __init__.py
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-03 19:31:11 +00:00
Mikkel Jeppesen
878155a03d
Log calibration results at level INFO ( #4240 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-31 09:05:28 +00:00
Fabian
9922eb83e2
Support advanced UART customization ( #4465 )
...
* Add methods to get hardware uart details.
* Fix `setRxBufferSize` error.
---------
Co-authored-by: Your Name <you@example.com>
2023-03-31 04:30:24 +00:00
Fabian
79f861f012
Avoid sensor padding. ( #4638 )
...
Co-authored-by: Your Name <you@example.com>
2023-03-31 04:29:17 +00:00
Fabian
4faa9d109e
entity_base avoid padding bytes. ( #4637 )
...
Co-authored-by: Your Name <you@example.com>
2023-03-31 04:28:49 +00:00
kahrendt
28534ecc61
Binary map bugfixes ( #4636 )
...
* limit configuration to 64 binary sensors to match code limitation
* remove superfluous debug logging
* improve state publishing logic eliminating NAN being sent on boot in certain cases
* adjust type for bitmask shift to match mask variable type
2023-03-31 04:27:24 +00:00
felixlungu
616e0a21d8
add bluetooth mac address in dump_config() ( #4628 )
...
* add bluetooth mac address in dump_config()
* Update ble.cpp
* Update ble.cpp
* Update ble.cpp
* Update ble.cpp
* Update ble.cpp
* Update ble.cpp
* Update ble.cpp
2023-03-30 01:12:06 +00:00
Jesse Hills
a546ffd490
Add ifdef to new bt proxy unsubscribe ( #4634 )
...
* Add ifdef to new bt proxy unsubscribe
* Also add to subscribe message and wrap api conneciton code
* Format file
2023-03-30 01:08:51 +00:00
Jesse Hills
b5d0aede38
Remove AUTO_LOAD from as3935 ( #4630 )
2023-03-30 01:08:31 +00:00
github-actions[bot]
a014d853a4
Synchronise Device Classes from Home Assistant ( #4633 )
...
* Synchronise Device Classes from Home Assistant
* Remove count do the `DEVICE_CLASSES` list is also updated
* Format file
---------
Co-authored-by: esphomebot <esphome@nabucasa.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-29 02:47:00 +00:00
Fabian
3ac7bf3761
EntityBase: Move ObjectId to Flash ( #4569 )
...
* Move EntityBase Object Id from memory to flash.
* Sprinkler use common `setup_entity` method.
* Remove `EntityBase` from Sprinkler.
* Support for entity names set to None
* change so gh PR picks up commit.
---------
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-28 09:00:34 +00:00
richardhopton
922344811f
feat: Add support to unsubscribe from BLE advertisements ( #4620 )
...
* feat: Add support to unsubscribe from BLE advertisements
* Fix tests & clang
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-28 08:54:58 +00:00
Fabian
cb2fcaa9b1
EntityBase
Name can stay in flash. (#4594 )
...
* `EntityBase`can stay in flash.
* Trying to please the CI.
---------
Co-authored-by: Your Name <you@example.com>
2023-03-28 06:38:56 +00:00
Alfredo
1f50bd0649
Fix EzoCommandType enum ( #4593 )
...
* Fix EzoCommandType enum
Assign explicit value to EZO_CALIBRATION, and rescale all subsequent values.
* Remove enum values
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-27 22:08:26 +00:00
Jesse Hills
06f83bf1c0
Fix platform restriction for bme680_bsec ( #4616 )
...
* Fix platform restriction for bme680_bsec
* Fix
* revert spi change
* Add comment back
* Dont crash on rp2040 platform
2023-03-26 22:50:33 +00:00
Jesse Hills
c2756d57d8
Allow entity names to be set to None ( #4607 )
...
* Allow entity names to be set to None so they take on the device friendly_name automatically
* Use empty
2023-03-26 22:49:09 +00:00
Berend Haan
56504692af
Lower range of CONF_FREQUENCY ( #4619 )
2023-03-26 22:48:17 +00:00
Jesse Hills
e542e75b9e
Require step to be set when calling register_number ( #4622 )
2023-03-26 22:44:56 +00:00
tracestep
806e43c34c
SX1509 minimum loop period (fixes esphome/issues#4325) ( #4613 )
...
* Minimum loop period (fixes esphome/issues#4325 )
* clang-tidy suggestions
* More clang-tidy suggestions
2023-03-26 21:59:57 +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
Regev Brody
36c0e2416d
add select_schema to select component ( #4545 )
...
* add select_schema to select component
* add select_schema to select component
* fix cr
2023-03-26 20:01:35 +00:00
RoboMagus
e4ba3ff1db
Limit range on filter time period for remote_receiver ( #4604 )
...
* Limit range on filter time period for remote_receiver
* pylint
2023-03-23 18:41:14 +00:00
Dominik Skalník
c16709ed95
fix wrong port multiplexer name in dump GPIO function ( #4592 )
2023-03-23 18:37:40 +00:00
guillempages
e13eaf6706
Fix animation resizing ( #4608 )
...
Animation resizing in RGB24 format is causing an error "Image cannot be resized to a bigger size". Other image types do not show the issue, and the only difference is the "image.thumbnail" call.
Removed the call and tested; the animation is shown with the desired size.
2023-03-22 08:05:09 +00:00
Jesse Hills
a1eb3b8475
Swap curly brackets for round on LockGuard ( #4610 )
2023-03-22 07:56:02 +00:00
Jesse Hills
d52e425ba2
Remove EntityBase from sprinkler ( #4606 )
...
* Remove EntityBase form sprinkler
* remove unneeded method
* Set name correctly
Move some timers to `setup` that rely on this->name_
* Fix SprinklerControllerSwitch setup
* Update esphome/components/sprinkler/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-03-22 07:35:16 +00:00
Jesse Hills
d70e7da0ef
rp2040: Use fake Mutex lock ( #4602 )
2023-03-21 20:25:19 +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
jerome992
cd57469e06
Fix negative sqrt root in ct_clamp_sensor.cpp ( #2701 ) ( #4236 )
...
Co-authored-by: Jerome <jerome992@internet.lu>
2023-03-20 04:22:22 +00:00
Aaron S. Jackson
d98d6ff45f
B/W support for GooDisplay GDEY029T94 (as used on Adafruit MagTag) ( #4222 )
...
* B/W support for GooDisplay GDEY029T94
* Fix python style ci
* linter recommendations
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:45:50 +00:00
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 ( #4535 )
...
* Upgrade clang-format to v13
* Apply clang-format-13 formatting changes
* Format
* Format bme_680
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
Jesse Hills
f0f6d3f1cd
Disallow uart0/1/2 as ids in config ( #4446 )
...
* Disallow uart0/1/2 as ids in config
* Update test files
2023-03-20 02:29:21 +00:00
Michael Bisbjerg
b2cec10601
Fix outdated filter string in platformio_api ( #4587 )
2023-03-19 19:11:18 +00:00
Sybren A. Stüvel
48658d5a55
Add a simple 'skip_initial' filter ( #4582 )
...
* Add a simple 'skip' filter
This filter simply skips the first `send_first_at` values, then passes
everything as-is. This is quite useful when you know the first few sensor
readings should be ignored.
Example YAML:
```yaml
sensor:
- platform: sgp30
id: mysensor_sgp30
eco2:
id: mysensor_sgp30_co2
name: "eCO₂"
accuracy_decimals: 0
filters:
- skip:
send_first_at: 41
```
* Rename the filter to `skip_initial` and simplify the schema
New usage:
```yaml
filters:
- skip_initial: 41
```
* Apply clang-format
2023-03-19 19:08:51 +00:00
Peter Halicky
5207ca1d52
Add support for ESP32 CAM resolutions for 3MP and 5MP sensors (OV5640 for example). Also support (almost) arbitrary camera clock, some cameras/ESP chips need slightly lower clock than 20MHz to avoid image corruption. ( #4580 )
2023-03-19 19:03:38 +00:00
Fabian
7196fb8e82
add define __str__
method ( #4576 )
...
Co-authored-by: Your Name <you@example.com>
2023-03-19 18:55:12 +00:00
Nathaniel Wesley Filardo
0de5808ed2
climate: brown paper bag fix for on_configure ( #4573 )
...
I forgot this hunk in https://github.com/esphome/esphome/pull/4511 .
I'm sorry for the noise.
2023-03-19 18:54:00 +00:00
Kai Gerken
ebc544e4b4
Fix compile error on pzemdc.h ( #4583 )
2023-03-19 18:31:05 +00:00
Raph
a31fb3c987
Add option flip_x ( #4555 )
...
* Adding flip_x
* Adding flip_x
* Adding flip_x
* Adding flip_x
* Adding flip_x
* convert tab to space
* update format
2023-03-15 22:23:01 +00:00
Samuel Sieb
dfc7cd7f5d
allow using a binary output for the status led ( #4532 )
...
* allow using a binary output for the status led
* lint
* output status as well
* simplify
---------
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-03-15 22:21:35 +00:00
Witold Krecicki
a8bb2a42a1
Add an option to force SPI into software mode, useful when ( #4556 )
...
reusing pins for different purposes.
2023-03-15 22:21:25 +00:00
R Huish
3d4c0e6667
Added missing PM_1_0 and PM_10_0 for PMS5003T and PMS5003ST ( #4560 )
...
* Added missing PM_1_0 and PM_10_0 for PMS5003T
Added missing PM_1_0 and PM_10_0 for PMS5003T
* Revert "Added missing PM_1_0 and PM_10_0 for PMS5003T"
This reverts commit 86084f7c61
.
* Added tests for PMS5003T
* Added missing PM_1_0 and PM_10_0 for PMS5003T PMS5003ST
* Added missing PM_1_0 and PM_10_0 for PMS5003T
* lint: Trailing whitespace fixed
* tab character removed
* Clang format suggested edit
2023-03-15 22:21:10 +00:00
Trent Houliston
25fb288016
Update the delta filter to take a percentage value as well as an absolute value ( #4391 )
2023-03-15 22:20:18 +00:00
Fabian
1b8b8cdd11
EntityBase: Icon string can stay in flash. ( #4566 )
...
* Icon string can stay in flash.
* Remove redundant const.
---------
Co-authored-by: Your Name <you@example.com>
2023-03-15 22:20:12 +00:00
NP v/d Spek
2f50e18eb5
fixing shrink
and extend
functions of the displaybuffer's Rect class ( #4565 )
...
* fixing rectangle's `shrink` and `extend`
* fixed the rect::shrink and rect::inside methods
and added rect:equal() method
* fixed internal clang issue again. When would is
this going to be fixed :(
* fixed internal clang issue again. When would is
this going to be fixed :(
* remove trailing space
2023-03-15 19:45:50 +00:00
Jesse Hills
215107e8ea
Mark esp32_touch supported only on standard esp32 variant ( #4562 )
...
* Mark esp32_touch supported only on standard esp32 variant
* Add back default
2023-03-15 07:42:33 +00:00
Keith Burzinski
d3f2b93c42
Remove switch actions during config; bump setup priority ( #4563 )
2023-03-15 05:21:23 +00:00
Stroe Andrei Catalin
ee7102fcd1
Added response for Tuya RSSI command ( #4549 )
...
* Added wifi rssi util
Added tuya mcu response to wifi rssi command
* Cleanup
* PR Comments
* PR Comments
2023-03-14 00:54:35 +00:00
DAVe3283
a44e38300b
Revert "Remove state class from uptime sensor ( #4345 )" ( #4557 )
...
This reverts commit 36c2e770bf
.
Addresses esphome/issues#4193 .
2023-03-14 00:52:19 +00:00
Eduardo Roldan
b00e20c29f
pipsolar component. Correct the sscanf format for QPIG command parsing to set pv_input_voltage as float (not int) ( #4165 )
2023-03-13 22:46:46 +00:00
Jesse Hills
d642aeba0f
Map gpio pins for touch on esp32-s2/s3 ( #4552 )
...
* Map gpio pins for touch on esp32-s2/s3
* fix value
2023-03-13 00:13:36 +00:00
NP v/d Spek
6a6aee510d
On the ILI9xxx display's enable the psram on esp32 and allow big screen ( #4551 )
...
* enable the psram on esp32 and allow big screen
* update CODEOWNERS
* small update
* update CODEOWNERS again.
* Removed the M5STACK because it is a ESP32 device.
* i removed the wrong model
* update the error message.
2023-03-13 00:13:19 +00:00
Jesse Hills
ea17a92dbc
Allow AUTO_LOAD to be a function ( #4550 )
2023-03-12 22:43:31 +00:00
Dorian Zedler
32a0a60480
Feat: add support for hex color in color component ( #4493 )
...
* Feat: add support for hex color in color component
* Chore: move hex color validator to color component
* Chore: add test
* Chore: fix formatting
* Chore: make linter happy
* Chore: make linter happy
* Fix: parse correct offsets
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
* Chore: use cv.Invalid
* Fix: remove # because it indicates a comment in yaml
* Fix: only allow hex if no other color value is set
* Fix: tests
* Fix: mutual exclusion of raw and hex colors
* Chore: format file
* Update __init__.py
---------
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-12 20:26:27 +00:00
Martin Murray
5a56644702
Add carbon dioxide device class to scd30 sensor schema. ( #4547 )
2023-03-12 20:16:48 +00:00
jakehdk
29113808ee
Add support for new clones of mpu6050 responding with 0x70 address ( #4546 )
...
Co-authored-by: jakehdk <Jake@Jakobs-MacBook-Pro.local>
2023-03-12 20:14:00 +00:00
Carlos Garcia Saura
01687a9d57
Correct BME680 gas calculation and heater_off ( #4498 )
...
* Fix missing data array
* Fix incorrect bit offset
* Correct variable types
* Do same conversions as in original library
* Correct clang-format
* Move out float conversion for clarity
* Added check for heater stability
* Correct clang format
* Allow reporting gas resistance when heater is disabled
* Correct clang format
* Better error reporting by @DAVe3283
* Correct signed operation, range switching error was positive all the time
2023-03-09 00:34:06 +00:00
Oxan van Leeuwen
801fbf44c5
Revert storing Font glyphs in manually-allocated memory ( #4516 )
...
This partially reverts commit 62459a8ae1
.
2023-03-09 00:14:34 +00:00
Oxan van Leeuwen
ba1416cc0e
Drop deprecated entity property base methods ( #4539 )
2023-03-09 00:08:45 +00:00
Oxan van Leeuwen
afc1c83af4
Mark unique_id() override as deprecated ( #4538 )
2023-03-09 00:06:20 +00:00
Oxan van Leeuwen
da056866ff
Drop broken logging macros ( #4534 )
2023-03-09 00:03:33 +00:00
NP v/d Spek
336c2d34e6
Renaming and extending the ili9341 to the ili9xxx component ( #4275 )
...
* - Removed cleaning the screen twice.
\Should be handled by `DisplayBuffer::init_internal_();`
- Made ili9341::initalize() protected and renamed
\ it to ili9341::initalize().
- ili9341::initalize() should only init the display
\ and set the width and heigth.
* removed to much
* clang format fixes
* removing trailing underscors for
protected virtual methods
* removed the "override" on display()
* clang fixes
* restored old changes
* Renamed the ili9341 platform to ili9xxx and added
multiple drivers as well. including PR #3848
* fixed most of the clang reported issues
* fixed reported issues
* last fixes
* Setting the right codeowners
* missing changes
* fixed naming Display() method.
* clang again
* clang fix
* fixes reported by @jesserockz & @gpambrozio
* a change to display.py removing an unneeded var
* re-introduce **backlight** option.
* update the ili9488 initialization
* update the ili9488 initialization and fix typo
* fixed typo
* add missing constants
* swap height and width back for the ili9488
* init fixes ili9488
* fixed lint issue
testing the init code
* oeps
* init fixes ili9488
* fixed wrong define
* fixed wrong define again
* removed some spaces
* revert to ili9341
* Remove parts that where used for
the switchplate
* lint fixes and removing unused function
* fix error and introducing 16bit color option
* fix error and introducing 16bit color option
* fix clang issue
* clang fix
* clang issue again
* is this what clang exprect
* clang fix
* clang fix
* try again
* let try again
* and again
* and the last clang fix
* remove the need of wifi
* update dimentions
* update ili8488 init code.
* update dimentions
* allow to change height and width
* dump color mode config
* fix
* fix
* modify logging
* referd back unrelated change
* code formatting commit and moving functions around
* add missing ;
* update code
* update code
* use the correct write_array for sending uint16_t
* fix panic loop
* fix panic loop
* - update the test file
- fixed sending display data
* clang fixes
* clang fixes
* clang fixes again
* remove .gitignore items
* remove .gitignore items
* make sure Update() can can not be called while
called
* clang correction
* adding a test yaml for the ili9341
* Update ili9341 example
* Make test ili9xxx/tests only local
* restore back old ili9341 driver code
* Add a new config for the M5Core
* fix clang request
* reverd to restore of the old ili9341
there is no proper way to say it is depricated.
* Remove the backlight/led pin from the config.
You need to use a proper light platform component
* Ili9488init changes (#88 )
Fixed ILI9488 init settings, and adjusted pixel handling code to push pixels in 18 bit format.
This does not change the internal 16-bit representation.
* fixed some leftover clang issues from the merge.
* fixed the slang-tidy request.
* remove `backlight_pin` warning.
---------
Co-authored-by: JD Steffen <jdsteffen81@gmail.com>
2023-03-08 23:03:49 +00:00
Russell Cloran
f3a969d35c
Add ESP32-S3 support in NeoPixelBus component ( #4114 )
...
* Add ESP32-S3 support in NeoPixelBus component
* Update NeoPixelBus version in platformio.ini
2023-03-08 22:35:40 +00:00
Jared Sanson
c12dd77c64
Fix ethernet clk_mode for GPIO0_OUT ( #4307 )
...
* Fix GPIO0_OUT definition for ethernet component
* Formatting
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-08 21:03:11 +00:00
Jesse Hills
4f138c600b
Bump version to 2023.4.0-dev
2023-03-09 09:09:39 +13:00
Kai Gerken
1087cb55b4
Added pzemdc reset energy action ( #4481 )
...
* remove unused sensors on pzemdc
* add reset energy action for pzemdc
* fix lint errors
* remove trailing space on pzemdc.h
* make method reset_energy of pzemdc public
* Apply suggestions from code review
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-08 19:00:44 +00:00
J. Nick Koston
600f4be2c4
Bump esp-idf to 4.4.4 ( #4528 )
...
There are some nice BLE fixes and this uses about ~5000-8000 bytes
less RAM
https://github.com/espressif/esp-idf/releases/tag/v4.4.4
2023-03-08 18:25:25 +00:00
Fabian
5e6665494d
Use PSRam for BLE scan results. ( #4486 )
...
* Use PSRam for BLE scan results.
* Format Document
* Use generic define `CONFIG_SPIRAM`.
* Formatting changes.
* Memory allocation is allowed to fail.
* Use mark_failed instead of abort.
---------
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-08 18:23:02 +00:00
Jesse Hills
2ef25f3153
Fix ethernet driver setting gpio 5 high when no power pin defined ( #4531 )
2023-03-08 07:12:07 +00:00
Morgan Robertson
bc28ea1fde
Add AS7341 spectral color sensor ( #4331 )
...
* Add support for AS7341 spectral color sensor.
* Run clang-format and clang-tidy.
* Post-review changes.
* Apply suggestions from code review
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-08 01:15:49 +00:00
Jesse Hills
623e31ddee
sn74hc165 fixes ( #4457 )
...
* Add delay between clock changes on sn74hc165
* Increase to 10us
* Add another delay after clock low
* Print input bits every second
* Fix pin order
* Remove log
* Fix for inverted pins
* formatting
2023-03-08 01:11:12 +00:00
Oxan van Leeuwen
ceebe14628
Add ability to await safe mode in codegen ( #4529 )
...
* Add ability to await OTA safe mode
* Make pylint happy
2023-03-07 21:29:45 +00:00
DAVe3283
b29cc58144
Add absolute humidity component ( #4519 )
...
* Import Absolute Humidity component
https://PigLab.ReaperLegion.net/home-automation/hass/esphome/custom-components/absolute-humidity
* Fix terminology, add some docstrings
* Switch from double to float
https://github.com/esphome/esphome/pull/4519#pullrequestreview-1327615169
The additional precision doesn't matter in practice.
* Address code review suggestions
* Lint code
2023-03-07 20:47:25 +00:00
bisbastuner
356efdb92c
Add support for multiple devices in bme680_bsec ( #3550 )
...
* Add initial support for multiple devices
Re-introduce support for multiple I2C devices (it was suppressed in df37a7635f
). Devices are identified by their I2C address, and the BME680 can only have the 0x76 or 0x77 address, so this adds support for a maximum of two devices.
* Reintegrate commit ebf13a0b
Reintegrate commit ebf13a0ba0
which was lost in my changes (I were working on old files)
* wrong commit
* wrong commit
* Reintegrate commit ebf13a0b
Reintegrate commit ebf13a0ba0
which was lost due to me working on old files
* Reintroduce newlines at end of files
* Reintroduce newlines at end of files
* Adhere to codebase standards
Obey the "All uses of class members and member functions should be prefixed with this-> to distinguish them from global functions in code review" rule of the Codebase Standards
* Fix formatting according to clang-format
* Perform the BSEC library reinitialization+snapshot only when more than one device is present
* Fix formatting according to clang-format
* Degrade abort message in restore_state_() from warning to verbose
This always happen at initial setup, so it's not a really useful message; when some real problems arise, we'll have a more useful warning from snapshot_state_()
Co-authored-by: Trevor North <trevor@freedisc.co.uk>
* Reduce peak stack usage to avoid bootloops on ESP8266
Achieved mainly by moving the work_buffer needed by the BSEC library to the heap, as a single global work buffer shared by all instances.
::set_config_ has been reverted to a code path similar to the original, as that reduces peak stack usage enough to be OK on ESP8266 even without moving the work_buffer to the heap.
* Fix formatting according to clang-format
* Add support for devices with the same i2c address
Devices are now identified using their index in the BME680BSECComponent::instances member, which became a vector. This allows adding two devices with the same i2c address (which should be placed on different i2c buses). Since a BME680 can only have an address of 0x76 or 0x77, a maximum of 2 devices could be added before this commit. Now there is no theoretical limit on the number of devices which could be added.
* Fix formatting according to clang-format
* Fix formatting according to clang-format
---------
Co-authored-by: Trevor North <trevor@freedisc.co.uk>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-07 07:15:40 +00:00
kahrendt
6ecf4ecac6
FS3000 sensor ( #4502 )
...
* Add support for FS3000 sensor.
* add fs3000 to test yaml
* Clean up code with clang.
* Clean up sensor.py file.
* Update CODEOWNERS file.
* Apply suggestions from code review regarding sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Apply suggestions from code review for basic issues regarding C++ code
- removed unnecessary default for FS3000Model
- use "this->" before any sensor update
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Move model setup to overall setup function.
* Remove unneeded CONF_ID from sensor.py
* Run clang-format
* Move set_model code to header file now that it is simplified
* Update fs3000.h
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-07 04:25:14 +00:00
Nathaniel Wesley Filardo
05ab49a615
climate: add on_control callbacks ( #4511 )
...
This lets downstream components respond to climate configuration
changes, which take place through ClimateCall objects, without also
being notified every time the state changes, which happens every time
the input sensor announces a new value.
FIXES https://github.com/esphome/feature-requests/issues/2136
2023-03-07 04:19:49 +00:00
Fabian
3773c385c7
Ensure component is ready before update. ( #4523 )
...
Co-authored-by: Your Name <you@example.com>
2023-03-07 04:16:42 +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
Oxan van Leeuwen
b8538c2c12
Fix typo ( #4515 )
2023-03-05 23:02:36 +00:00
tljuniper
7466773ac8
substitutions: Don't warn when passwords look like a substitution ( #4161 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-05 20:28:46 +00:00
Jesse Hills
b8ca40170e
Remove idf components before checking if any in config ( #4506 )
...
* Remove idf components before checking if any in config
* Fix bug with no refresh time specified
2023-03-05 20:17:32 +00:00
Aliasghar Dashkhaneh
bd86a0ac3b
Update __init__.py ( #4514 )
...
In some Sony remote codes, the **data** is more than 16 bits.
2023-03-05 18:45:54 +00:00
Jesse Hills
df3f13ded8
Add int16 to codegen ( #4507 )
2023-03-04 07:19:51 +00:00
GitforZhangXL
86407b9f6f
Change variable "skip_updates" and "skip_updates_counter" type from "uint8_t" to "uint16_t" ( #4487 )
...
* change 'skip_updates'from 'uint8' to 'uint16_t'
* Delete modbus_controller_fix.md
* Update modbus_controller.h
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 22:35:00 +00:00
Oxan van Leeuwen
43fb68f8a0
Fix parallel invocations of repeat action ( #4480 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 22:23:04 +00:00
Fabian
62459a8ae1
Move Font glyphs to SPI RAM. ( #4485 )
...
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 18:45:30 +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
6ec18fc630
Update esp32 esp-idf dev and latest version numbers ( #4479 )
2023-02-26 18:25:22 +00:00
Andreas Hergert
4d674392e8
Add energy to pzemdc ( #3626 )
...
* added energy to pzemdc
* fixed calculation
* added test
* moved tests
---------
Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com>
2023-02-23 17:38:34 +00:00
J. Nick Koston
6704b2cedf
Bump esp-idf to 4.4.3 via platformio/espressif32 @ 5.3.0 ( #4254 )
...
* Bump esp-idf to 3.4.3 via platformio/espressif32 @ 5.3.0
The new version appears to improve the stability of
BLE + WiFi
* bump recommended version as well
2023-02-23 02:08:06 +00:00