Jesse Hills
7fd79fdded
[esp32] Change imports to use esp32 only, not .const ( #12243 )
2025-12-05 09:53:08 -05:00
Thomas Rupprecht
22803ef54b
[esp32] Sort variants in situ ( #10410 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-03 20:48:11 -05:00
J. Nick Koston
2a915e4efd
[deep_sleep] esp32 fixes to align with variant support ( #10929 )
2025-10-01 08:42:42 +13:00
Craig Andrews
86c6e4da2a
ESP_EXT1_WAKEUP_ANY_LOW is for s2/s3/c6/h2; ESP_EXT1_WAKEUP_ALL_LOW otherwise ( #9387 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-09 11:30:06 +12:00
J. Nick Koston
440de12e3f
Don't compile unnecessary platform files (e.g. ESP8266 files on ESP32) ( #9354 )
2025-07-08 09:04:41 +12:00
NP v/d Spek
28a9f12595
Move CONF_DEFAULT to const.py ( #8497 )
2025-03-31 22:48:43 +00:00
dependabot[bot]
4adda632bb
Bump ruff from 0.9.2 to 0.11.0 ( #8409 )
2025-03-20 09:51:23 -10:00
Jesse Hills
be7e167c63
Deep sleep is only available on esp32 and esp8266 ( #5507 )
2023-10-10 09:41:28 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support ( #5498 )
2023-10-09 07:34:12 +13: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
Dominik Wagenknecht
8b5b9e508b
Deep Sleep capable ports for ESP32S3 ( #4230 )
...
Update to provide RTC capable ports for ESP32S3.
Fresh from [espressif gpio docs](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/gpio.html )
2023-02-14 21:09:07 +00:00
Jesse Hills
40ad9f4911
Add deep_sleep.allow YAML action ( #3459 )
2022-05-11 12:47:50 +12:00
Jesse Hills
8be704e591
Allow specifying deep sleep wakup clock time ( #3312 )
2022-04-13 12:55:26 +12:00
andrewpc
dabd27d4be
Addition of Deep Sleep RTC pin definition for ESP32-S2 ( #3303 )
2022-04-12 12:45:54 +12:00
Tyler Bules
b8d10a62c2
ESP32-C3 deep sleep fix ( #3066 )
2022-02-19 15:13:48 +01:00
Yuval Brik
2253d4bc16
Support different run duration for non-timer wakeup ( #2861 )
2021-12-06 23:30:27 +01:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
Christian Taedcke
9ebe075f9b
Add deep sleep wakeup from touch ( #1238 ) ( #2281 )
2021-09-20 20:12:32 +12:00
dependabot[bot]
dbb195691b
Bump pylint from 2.10.2 to 2.11.1 ( #2334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-19 19:22:28 +02:00
Jesse Hills
07ae8ec553
Remove a whole bunch of deprecated/removed stuff ( #1981 )
2021-07-14 14:42:16 +12:00
Otto Winter
a33bb32874
Convert components to async-def syntax ( #1823 )
...
* Convert components to async-def syntax
* Remove stray @coroutine
* Manual part
* Convert complexer components code to async-def
* Manual cleanup
* More manual cleanup
2021-05-24 21:45:31 +02:00
Otto Winter
2376a2c941
Convert components to async-def syntax ( #1821 )
2021-05-24 10:58:29 +02:00
Jesse Hills
5c3af1d3f6
Allow duration for deep_sleep.enter to be templateable ( #1765 )
2021-05-11 12:36:14 -03:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
Chris Nussbaum
dce20680d7
Add duration option to action start deep sleep ( #1526 )
2021-02-15 14:32:22 -03:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
adamgreg
b5714cd70f
ESP32 GPIOs 33 to 38 can be used for deep sleep wakeup ( #911 )
2019-12-07 17:19:27 +01:00
Otto Winter
32195f77d9
Fix dallas not unknown ( #716 )
...
* Fix dallas not sending unknown on disconnected sensor
* Deep sleep
2019-10-17 21:34:58 +02:00
Otto Winter
8e75980ebd
Cleanup dashboard JS ( #491 )
...
* Cleanup dashboard JS
* Add vscode
* Save start_mark/end_mark
* Updates
* Updates
* Remove need for cv.nameable
It's a bit hacky but removes so much bloat from integrations
* Add enum helper
* Document APIs, and Improvements
* Fixes
* Fixes
* Update PULL_REQUEST_TEMPLATE.md
* Updates
* Updates
* Updates
2019-04-22 21:56:30 +02:00
Otto Winter
6682c43dfa
🏗 Merge C++ into python codebase ( #504 )
...
## Description:
Move esphome-core codebase into esphome (and a bunch of other refactors). See https://github.com/esphome/feature-requests/issues/97
Yes this is a shit ton of work and no there's no way to automate it :( But it will be worth it 👍
Progress:
- Core support (file copy etc): 80%
- Base Abstractions (light, switch): ~50%
- Integrations: ~10%
- Working? Yes, (but only with ported components).
Other refactors:
- Moves all codegen related stuff into a single class: `esphome.codegen` (imported as `cg`)
- Rework coroutine syntax
- Move from `component/platform.py` to `domain/component.py` structure as with HA
- Move all defaults out of C++ and into config validation.
- Remove `make_...` helpers from Application class. Reason: Merge conflicts with every single new integration.
- Pointer Variables are stored globally instead of locally in setup(). Reason: stack size limit.
Future work:
- Rework const.py - Move all `CONF_...` into a conf class (usage `conf.UPDATE_INTERVAL` vs `CONF_UPDATE_INTERVAL`). Reason: Less convoluted import block
- Enable loading from `custom_components` folder.
**Related issue (if applicable):** https://github.com/esphome/feature-requests/issues/97
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
2019-04-17 12:06:00 +02:00