Felix Kaechele
da21174c6d
[sntp] Use callbacks to trigger on_time_sync
for ESP32 and ESP8266 ( #10390 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-09-01 09:02:56 +12:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
lamauny
d86f319d66
Add support for LN882X Family (with LibreTiny) ( #8954 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-06-30 16:20:36 +12:00
Jonathan Swoboda
aa180b9581
Bump ESP32 Arduino version to 3.1.3 ( #8604 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
2025-06-19 08:16:25 +12:00
J. Nick Koston
2e534ce41e
Reduce CPU overhead by allowing components to disable their loop() ( #9089 )
2025-06-18 21:49:25 +12:00
Keith Burzinski
8eac859bab
Streamline setup() logging (s, t, u, v, w, x, y, z) ( #8930 )
2025-05-29 07:28:41 +12:00
Clyde Stubbs
79478cdb8a
[sntp] Resolve warnings from ESP-IDF 5.x ( #7913 )
2024-12-04 13:13:07 +13:00
Clyde Stubbs
cdf83c5d8c
Add host time platform; remove host support from sntp. ( #6854 )
2024-06-04 15:09:46 +12:00
Jimmy Hedman
b8d2a6f574
[sntp] fix for ESP-IDF > 5.0 ( #6769 )
...
* Make sntp work with ESP-IDF >= 5.0
* Set operatingmode on other than ESP-IDF
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2024-06-02 22:23:49 -05:00
Clyde Stubbs
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
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
Simone Rossetto
d1253922c3
Increase SNTP setup priority ( #4917 )
2023-06-07 10:38:18 +12:00
Jesse Hills
9e3ee28744
Fix time components on rp2040 ( #4024 )
2022-11-14 13:29:41 +13:00
cvwillegen
3e5331a263
Prettier date time display after time sync ( #2778 )
2021-11-23 09:20:20 +01:00
Martin
2350c5054c
use update_interval for sntp synchronization ( #2563 )
...
* use update_interval for sntp synchronization
* revert override of default interval
2021-10-28 20:57:39 +02: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
Jesse Hills
d437cc915c
Allow simple hostname for sntp servers ( #2300 )
2021-09-14 22:40:45 +12:00
Oxan van Leeuwen
d71996e58d
Reduce static RAM usage ( #2140 )
2021-08-23 20:43:54 +12:00
Oxan van Leeuwen
bf5f846fc6
Refactor clang-tidy script to use actual compiler flags and includes ( #2133 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-08-09 22:43:18 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Otto Winter
2376a2c941
Convert components to async-def syntax ( #1821 )
2021-05-24 10:58:29 +02: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
Florian Mösch
4c105398f7
time sync notification ( #1442 )
...
* add on_time_sync trigger
* cleanup lint
* fix review remark (sntp didn't trigger callbacks)
2021-01-18 09:34:50 -03:00
Florian Mösch
bf453ad8cd
make time components polling components ( #1443 )
...
* make real time clock components polling components
* add test
2021-01-12 15:37:22 -03:00
Guillermo Ruffino
0918f452a0
fix sntp timezone ( #1266 )
2020-09-01 19:15:26 -03:00
Otto Winter
d26c43103d
ESP8266 change recommended framework version to 2.7.2 ( #1208 )
2020-07-27 18:22:47 +02:00
Otto Winter
2712c44004
Update dependencies ( #653 )
...
* Update pio dependencies
* Platformio 4
* Fixes
* Update platformio_api.py
* Lint
2019-06-28 11:29:37 +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