Clyde Stubbs and GitHub
c007593f72
Fix for #4866 - inconsistent arguments ( #6639 )
2024-04-29 15:53:08 +12:00
Clyde Stubbs and GitHub
0662c5e0fb
Fix for #6614- use background_color, improve anti-aliasing ( #6618 )
2024-04-26 09:00:01 +12:00
Clyde Stubbs and GitHub
b8f0182fc5
Add null GPIO pin ( #6611 )
2024-04-24 08:49:14 +12:00
Clyde Stubbs and GitHub
8027921ba3
graphical_display_menu requires a Display, not DisplayBuffer (#6614 )
2024-04-24 07:55:27 +12:00
Clyde Stubbs and Jesse Hills
03d547d2c0
Disallow variant/family override for known boards ( #6512 )
2024-04-23 10:50:41 +12:00
7510468a9b
Add yamllint and clang-format to pre-commit hooks ( #6578 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-23 10:10:07 +12:00
Clyde Stubbs and GitHub
c7bfd9b46b
Disallow variant/family override for known boards ( #6512 )
2024-04-23 10:04:56 +12:00
8c31aea94f
Fix some printf formats for size_t. ( #6542 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-18 17:03:15 +12:00
Clyde Stubbs and GitHub
2fed6955de
On failure, dump the output of preceding jobs in CI status ( #6564 )
2024-04-18 12:11:00 +12:00
Clyde Stubbs and Jesse Hills
09fbddea21
Fix no-release bug on ft6x36 ( #6527 )
2024-04-15 13:27:01 +12:00
Clyde Stubbs and GitHub
86f9af13aa
Fix no-release bug on ft6x36 ( #6527 )
2024-04-15 13:08:35 +12:00
Clyde Stubbs and GitHub
e6b1187689
If the loop() took more than the required time, don't delay further ( #6496 )
2024-04-08 19:56:08 +12:00
Clyde Stubbs and GitHub
97ff87b718
Remove misleading tag/line in messages ( #6495 )
2024-04-08 16:13:12 +12:00
Clyde Stubbs and GitHub
2c67d83976
Include "Failed" status in config log. ( #6482 )
2024-04-04 23:21:56 -05:00
Clyde Stubbs and Jesse Hills
37345e11eb
AHT10: Fix bug ( #6409 )
2024-03-27 12:17:30 +13:00
121bd84854
Store preferences in disk file on host platform ( #6428 )
...
Co-authored-by: H. Árkosi Róbert <robreg@zsurob.hu >
Co-authored-by: clydeps <U5yx99dok9>
2024-03-26 11:03:51 +13:00
Clyde Stubbs and GitHub
e87727aed3
AHT10: Fix bug ( #6409 )
2024-03-25 11:44:05 +13:00
Clyde Stubbs and GitHub
3801462589
Add check for use of GPIOXX in config ( #6419 )
2024-03-22 21:32:37 +13:00
Clyde Stubbs and GitHub
d0ced3471e
SPI: Make some validation failures give more useful messages. ( #6413 )
2024-03-21 16:25:11 +13:00
Clyde Stubbs and GitHub
0cb1cc9e1c
AHT10: fix temperature-only operation; add warning/error messages ( #6405 )
2024-03-20 21:20:42 +13:00
Clyde Stubbs and Jesse Hills
e27e342927
Show component warnings and errors in the log; ( #6400 )
2024-03-20 16:38:15 +13:00
Clyde Stubbs and Jesse Hills
507568db64
AHT10: Use state machine to avoid blocking delay ( #6401 )
2024-03-20 16:38:15 +13:00
Clyde Stubbs and GitHub
774cbde1b6
Show component warnings and errors in the log; ( #6400 )
2024-03-20 12:56:43 +13:00
Clyde Stubbs and GitHub
f0936dd22d
AHT10: Use state machine to avoid blocking delay ( #6401 )
2024-03-20 12:53:01 +13:00
Clyde Stubbs and Jesse Hills
e33e09a685
SPI: Revert clk_pin to standard output pin schema ( #6368 )
2024-03-15 14:23:12 +13:00
Clyde Stubbs and GitHub
dbf50381f1
SPI: Revert clk_pin to standard output pin schema ( #6368 )
2024-03-14 15:42:54 +13:00
c7305e15a7
Add driver for quad SPI AMOLED displays ( #6354 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-03-13 12:14:57 +13:00
Clyde Stubbs and GitHub
f264151537
touchscreen driver fixes ( #6356 )
2024-03-13 07:20:16 +13:00
Clyde Stubbs and GitHub
b0a192d6a5
Add getter for font glyph data ( #6355 )
2024-03-12 17:26:31 +13:00
Clyde Stubbs and GitHub
782d662c20
SPI schema now uses typed_schema with type key ( #6353 )
2024-03-12 15:50:24 +13:00
1dd14254b3
Drivers for RGB 16 bit parallel displays ( #5872 )
...
Co-authored-by: clydebarrow <366188+clydebarrow@users.noreply.github.com >
2024-03-12 11:55:23 +13:00
Clyde Stubbs and GitHub
e4df422798
font: add anti-aliasing and other features ( #6198 )
...
* Pack glyph bits
* Use unsigned chars for unicode strings.
* Implement multi-bit glyphs
* clang-format
* Allow extra glyphs to be added to a font
* Allow .otf and .woff file extensions
* Add printf versions with background color;
Add tests
* Whitespace...
* Move font test to new framework
* CI fix
* CI fix
* CODEOWNERS
* File extensions tested as case-insensitive
2024-03-11 04:03:39 -05:00
11b31483c3
Touchscreen: add support for CST226 controller chip ( #6151 )
...
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-03-11 18:35:20 +11:00
221f04b9a5
ili9xxx: Add support for GC9A01A display ( #6351 )
...
* Add support for GCA901A display
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-03-11 07:19:35 +00:00
Clyde Stubbs and GitHub
dfb14fc6ea
Add state listeners to rotary_encoder ( #6035 )
2024-03-11 20:13:41 +13:00
Clyde Stubbs and GitHub
501973e07b
Add ble_presence binary sensor timeout config value. ( #6024 )
...
* Add binary sensor timeout config value.
* Add test
2024-03-11 17:38:47 +11:00
Clyde Stubbs and GitHub
c559ccbb83
ILI9XXX: Lazily allocate buffer ( #6352 )
2024-03-11 16:52:05 +11:00
Clyde Stubbs and GitHub
d6bcc465a8
Add CST816 touchscreen driver ( #5941 )
...
* Add CST816 touchscreen
2024-03-11 16:34:46 +11:00
Clyde Stubbs and GitHub
0bc645ded7
Fix build failures on host platform caused by #6167 ( #6338 )
...
* Fix build failures for logger component on host platform
* Add climits header
* Restore logger functionality on host
* Install libsodium in ci
2024-03-09 21:08:58 -06:00
f3ef05f5c3
host platform: improvements and bugfixes ( #6137 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-02-07 14:24:06 +13:00
Clyde Stubbs and GitHub
f2caf13d39
ILI9XXX: Restore offset usage in set_addr_window ( #6147 )
2024-01-25 23:13:38 -06:00
Clyde Stubbs and GitHub
23071e932a
Add support for Pico-ResTouch-LCD-3.5 to ili9xxx driver ( #6129 )
...
* Working version of Waveshare 3.5 Res Touch driver.
* Default color order BGR
2024-01-24 07:40:16 +11:00
ed771abc8a
Add support for Waveshare EPD 2.13" V3 ( #5363 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-01-19 12:10:53 +09:00
1fef769496
Add quad spi features ( #5925 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-01-19 11:42:17 +09:00
Clyde Stubbs and GitHub
2283b3b443
Fix time component for host platform ( #6118 )
2024-01-19 12:46:55 +11:00
Clyde Stubbs and GitHub
8267b3274c
Enable networking and some other components on host platform ( #6114 )
2024-01-19 10:10:23 +09:00
Clyde Stubbs and Jesse Hills
95292dbba1
Inkplate6: Fix crash with initial set of greyscale ( #6038 )
2024-01-17 08:27:03 +09:00
Clyde Stubbs and GitHub
596943b683
Inkplate6: Fix crash with initial set of greyscale ( #6038 )
2024-01-17 08:23:36 +09:00
Clyde Stubbs and GitHub
3854203037
Socket: Add recvfrom method to receive UDP with source address. ( #6103 )
2024-01-17 08:12:31 +09:00
Clyde Stubbs and GitHub
65e6f9cba9
Add getter for image data_start ( #6036 )
2024-01-09 10:07:45 +09:00
Clyde Stubbs and GitHub
a2e152ad12
clang-format and clang-tidy scripts: More robust algorithm to find correct executable ( #6041 )
...
* More robust algorithm to find correct executable
* Revise message wording
* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.
* Extracted get_binary to helpers.py. Use execptions for clean exit.
* Add parameter types
* clang-{tidy,format} in requirements_test.txt
clean up script exit
* Kill processes on ^C
* Move clang-tidy and clang-format into requirements_dev.txt
2024-01-02 23:00:52 -06:00
Clyde Stubbs and GitHub
ae52164d9c
Display: Introduce draw_pixels_at() method for fast block display rendering ( #6034 )
...
* Introduce `draw_pixels_at()` method for fast block display rendering
* Add check for 18 vs 16 bit display.
2024-01-01 17:34:40 -06:00
Clyde Stubbs and GitHub
773cd0f414
GT911 touchscreen: Fix bug causing touch button release to fail ( #6042 )
...
* Fix bug causing gt911 touch button release to fail
* Cache button state and report changes only
2023-12-31 04:01:16 -06:00
Clyde Stubbs and GitHub
5ebb68f4ff
Ble client additions and fixes ( #5277 )
...
* Add config to disable auto-connect of BLE client.
Correct initialise MAC address of BLE client.
* Checkpont
* Fixes for automation progress.
* Fixes for automation progress.
* Checkpoint;
fix notify for ble_client
* Fix BLE client binary_output
* Various fixes
* Consider notifications on when receiving REG_FOR event.
* Add testing branch to workflow
* Add workflow
* CI changes
* CI changes
* CI clang
* CI changes
* CI changes
* Add comment about logging macros
* Add test, sanitise comment
* Revert testing change to ci config
* Update codeowners
* Revert ci config change
* Fix some state changes
* Add default case.
* Minor fixes
* Add auto-connect to logconfig
2023-12-29 01:35:44 -06:00
Clyde Stubbs and GitHub
21ec42f495
Add constants used by multiple display drivers to global const.py ( #6033 )
...
* Add constants used by multiple display drivers to global const.py
* Add further constants
* Refactor st7789v and st7735v
2023-12-29 02:00:19 +00:00
1a8e7854c7
ESP32-S3 and ESP-IDF don't play well with USB_CDC and need USB_SERIAL_JTAG ( #5929 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-12-22 11:04:00 +09:00
300343ae24
ESP32-S3 and ESP-IDF don't play well with USB_CDC and need USB_SERIAL_JTAG ( #5929 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-12-15 11:24:52 +11:00
Clyde Stubbs and GitHub
29002c8f45
Fix crash when handling pin_check error ( #5915 )
2023-12-13 08:38:37 +09:00
Clyde Stubbs and GitHub
b62c099d54
Fix 18 bit displays. ( #5908 )
2023-12-12 12:22:41 +13:00
Clyde Stubbs and GitHub
d9792b0d92
Checks for pins used in multiple places ( #5666 )
2023-12-05 08:56:53 +09:00
Clyde Stubbs and GitHub
df5394d51c
Suppress full config output of "esphome config" when -q option is used. ( #5852 )
2023-12-05 08:52:02 +09:00
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
Clyde Stubbs and GitHub
a8bc5ef46f
Pass through additional arguments to create number ( #5849 )
2023-11-28 16:50:02 +13:00
Clyde Stubbs and GitHub
993cd55b1d
Speed up (and fix) ili9xxx display component. ( #5406 )
2023-11-28 13:42:03 +13:00
Clyde Stubbs and GitHub
496c29aa04
Fix ESP-IDF uart initialisation sequence to match Espressif docs. ( #5838 )
2023-11-28 12:42:22 +13:00
Clyde Stubbs and GitHub
0a7d3c367b
Add 'enable_at_startup' feature to power_supply ( #5826 )
2023-11-27 10:36:52 +13:00
Clyde Stubbs and GitHub
2e6d01ddff
Implement variable length single word SPI writes. ( #5678 )
2023-11-27 09:54:12 +13:00
Clyde Stubbs and GitHub
dbdcb39af9
Pull PollingComponent up from individual display drivers to Display. ( #5444 )
2023-11-27 09:48:38 +13:00
Clyde Stubbs and GitHub
c43518c391
Allow split uart pin inversion for ESP-IDF ( #5831 )
2023-11-24 21:56:32 -06:00
Clyde Stubbs and GitHub
3ac59180ab
Add startup_delay to interval. ( #5327 )
2023-11-23 20:31:23 +13:00
Clyde Stubbs and GitHub
b0a400d82b
Update PCA9554 pin checks to new facility ( #5656 )
2023-11-02 03:46:47 +00:00
Clyde Stubbs and GitHub
1fd9d67e2b
Add support for PCA9535 16 bit I/O expander ( #5634 )
2023-11-01 12:22:04 +13:00
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
Clyde Stubbs and GitHub
b6d5cb4142
St7789v and SPI data rate ( #5472 )
2023-10-04 15:18:33 -05:00
Clyde Stubbs and GitHub
4e8cba49f1
MAX7219 - Update intensity ( #5477 )
2023-10-03 20:15:44 -05:00
Clyde Stubbs and GitHub
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
Clyde Stubbs and Jesse Hills
f5dfbaff4b
Support RP2040 hardware SPI ( #5466 )
2023-10-03 13:35:18 +13:00
Clyde Stubbs and GitHub
205f41509b
Support RP2040 hardware SPI ( #5466 )
2023-10-03 10:24:20 +13:00
Clyde Stubbs and Jesse Hills
ec4777b8d0
SPI fixes for buggy components ( #5446 )
2023-10-02 17:01:22 +13:00
Clyde Stubbs and GitHub
507dc5f496
SPI fixes for buggy components ( #5446 )
2023-09-29 00:36:31 +00:00
Clyde Stubbs and Jesse Hills
69adebfefa
Fix #4896 and #4903 ( #5433 )
2023-09-27 12:28:12 +13:00
Clyde Stubbs and GitHub
5360e14a9c
Fix #4896 and #4903 ( #5433 )
2023-09-27 12:25:14 +13:00
Clyde Stubbs and Jesse Hills
b07a038bc8
Fix SPI inverted clock on ESP8266 ( #5416 )
2023-09-25 12:10:34 +13:00
Clyde Stubbs and GitHub
518ecb4cc4
Fix SPI inverted clock on ESP8266 ( #5416 )
2023-09-21 21:15:50 -07:00
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
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
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
Clyde Stubbs and GitHub
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
Clyde Stubbs and GitHub
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 and GitHub
cdb67fc90e
Add extra SLPOUT for waking up some ST7789 chips ( #5319 )
2023-08-31 09:12:25 +00:00
Clyde Stubbs and Jesse Hills
d2bccbe8ac
Reserve keyword "clock" ( #5279 )
2023-08-21 12:33:48 +12:00
Clyde Stubbs and Jesse Hills
02a71cb6a7
Align SPI data rates in C++ code with Python ( #5284 )
2023-08-21 12:33:48 +12:00
Clyde Stubbs and GitHub
03ab23fec8
Reserve keyword "clock" ( #5279 )
2023-08-21 12:17:22 +12:00
Clyde Stubbs and GitHub
bfdcfa4766
Align SPI data rates in C++ code with Python ( #5284 )
2023-08-21 08:57:02 +12:00
Clyde Stubbs and GitHub
164d05fdce
Add manufacturer data config to BLE server ( #5251 )
2023-08-18 08:05:25 +12:00
Clyde Stubbs and Jesse Hills
c4b9065749
Add timeout filter ( #5104 )
2023-07-17 09:29:32 +12:00
Clyde Stubbs and GitHub
ac81fae855
Add timeout filter ( #5104 )
2023-07-17 09:17:31 +12:00
Clyde Stubbs and GitHub
6d9dbf9e54
Correct message for standard transmission. ( #5088 )
2023-07-12 15:22:52 +12:00
Clyde Stubbs and GitHub
ec37dece12
Add MCP2515 12MHz xtal support ( #5089 )
2023-07-12 15:12:48 +12:00
Clyde Stubbs and Jesse Hills
2ffd430b0b
Add support in vbus component for Deltasol BS 2009 ( #4943 )
2023-06-19 07:35:03 +12:00