Jesse Hills
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
J. Nick Koston
22989592f0
[wizard] Fix KeyError when running wizard with empty OTA password ( #10753 )
2025-09-17 07:56:54 +12:00
Maxim Raznatovski
c03d978b46
[wizard] extend the wizard dashboard API to allow upload and empty config options ( #10203 )
2025-09-04 14:02:49 +12:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
Samuel Sieb
983db6215f
[wizard] use lowercase to match ( #9448 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2025-07-11 18:35:52 -05: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
Jesse Hills
1a03b4949f
[esp32] Dynamically set default framework based on variant ( #9060 )
2025-06-14 11:17:06 +12:00
Thomas Rupprecht
88edddf07a
[log] improve/refactor log
( #8708 )
2025-05-15 21:45:07 +12:00
Thomas Rupprecht
4c8f5275f9
replace http
with https
( #8628 )
2025-04-25 14:47:45 -05:00
Katherine Whitlock
3020083564
Ruff format for CI ( #8276 )
2025-02-19 13:24:43 -06:00
Jesse Hills
d5fa17c316
[rp2040] Always use maxgerhardt platform fork ( #7514 )
2024-10-01 13:37:08 +13:00
Nick Kinnan
49a3d385eb
Prevent rp2040 randomly breaking the build ( #7507 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-09-30 14:59:12 +13:00
Jesse Hills
e64709c37e
[code-quality] Organise core imports ( #7149 )
2024-07-29 14:07:44 +12:00
fodfodfod
b9bb3cd4be
add rp2040 support to the wizard ( #6239 )
2024-05-20 12:42:30 +12:00
Keith Burzinski
f46c499c4e
Separate OTABackend
from OTA component ( #6459 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-16 14:01:09 +12:00
Carlos Ortega
342fb72b6a
Prevent network config on rpipico board ( #5832 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-02-19 14:29:41 +13:00
Kuba Szczodrzyński
056a28906b
Wizard: fix colored text in input prompts ( #5313 )
2023-09-21 10:09:23 +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
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
Jesse Hills
c301ae3645
Add friendly_name to device ( #4296 )
2023-01-17 10:28:09 +13:00
Jesse Hills
b184b01600
Remove a bunch of unnecessary pylint disabling ( #4079 )
2022-11-24 11:09:19 +13:00
Jesse Hills
6153bcc6ad
Initial Support for RP2040 platform ( #3284 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2022-10-20 16:50:39 +13:00
dependabot[bot]
29045b0435
Bump pylint from 2.13.9 to 2.14.3 ( #3589 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-06-21 16:27:33 +12:00
Otto Winter
0b69f72315
Enable api transport encryption for new projects ( #3142 )
...
* Enable api transport encryption for new projects
* Format
2022-05-11 11:38:05 +12:00
Otto Winter
debcaf6fb7
Add ESP32C3 and ESP32S2 support to dashboard ( #3152 )
...
* Add ESP32C3 and ESP32S2 support to dashboard
* Format
* Fix tests
2022-02-19 15:47:50 +01:00
dependabot[bot]
80e2bfada3
Bump black from 21.11b1 to 21.12b0 ( #2879 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-12-13 19:15:49 +01:00
Jesse Hills
3d51ac8df0
Use new platform component config blocks for wizard ( #2885 )
2021-12-08 09:22:03 +13:00
Jesse Hills
1db7043a4d
Allow wizard to specify secrets ( #2875 )
2021-12-06 20:58:51 +13:00
Carlos Garcia Saura
85d2f24447
Clarify statement at the cmd wizard tool, for new users ( #2519 )
...
* Clarify next steps for the install wizard
* Update wizard.py
* Link to relevant section of guide
* Formatting
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-10-15 19:51:42 +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
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
Stefan Agner
d9f09a7523
Initial ESP32-C3-DevKitM-1 board support ( #2062 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be >
2021-07-26 11:10:56 +02:00
Paulus Schoutsen
9ad9d64ac7
Add new wizard + allow installing firmware over webserial ( #1887 )
2021-06-12 10:49:05 +12:00
Thomas Dietrich
482a3aebc9
Fix typo in wizard ( #1836 )
2021-05-28 13:34:54 +12:00
Peter Kuehne
eaf9735eda
Disallow _ in node name ( #1632 )
2021-04-08 14:26:01 +02:00
Otto Winter
99f14e03d4
Fix colorlog removing colors and refactor color code ( #1671 )
2021-04-08 13:58:01 +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
acshef
ac15ce576b
Added "ESPHOME_NOGITIGNORE" env var to prevent .gitignore creation; moved env vars to consts ( #1425 )
2020-12-22 10:19:26 +13:00
Ian Leeder
8a294e4134
Clean up ALLOWED_CHARS ( #1235 )
2020-08-06 17:29:45 +02:00
Ian Leeder
aea2e9a6bb
Add hyphen to supported name characters ( #1223 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2020-07-30 00:02:34 +02:00
Peter Kuehne
ebbfab608c
Feature/wizard tests ( #1167 )
2020-07-23 23:51:14 +02: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
Otto Winter
bb2582717f
Make file generation saving atomic ( #792 )
...
* Make file generation saving atomic
* Lint
* Python 2 Compat
* Fix
* Handle file not found error
2019-10-24 21:53:42 +02:00
Ville Skyttä
6542be5588
Wizard board name fixes ( #787 )
...
* Sort board names in wizard
* Fix board name in invalid board error message
2019-10-21 23:06:11 +02:00
Otto Winter
5a76e61b1e
Prevent too long fallback AP SSID
2019-06-30 09:14:04 +02:00
Otto Winter
369d175694
Create Protobuf Plugin for automatically generating native API stubs ( #633 )
...
* Create Protobuf Plugin for automatically generating native API stubs
* Format
* Delete api.proto
* Cleanup, use no_delay conditionally
* Updates
* Update
* Lint
* Lint
* Fixes
* Camera
* CustomAPIDevice
* Fix negative VarInt, Add User-defined services arrays
* Home Assistant Event
* Fixes
* Update custom_api_device.h
2019-06-18 19:31:22 +02:00
Otto Winter
36f47ade70
Add Captive Portal ( #624 )
...
* WIP: Captive Portal
* Updates
* Updates
* Lint
* Fixes
2019-06-09 17:03:51 +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
gitolicious
049807e3ab
Escape double quotes and backslashes in ssid and psk ( #507 )
...
## Description:
Escape ssid and psk
**Related issue (if applicable):** fixes <link to issue>
https://github.com/esphome/issues/issues/81
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
**Pull request in [esphome-core](https://github.com/esphome/esphome-core ) with C++ framework changes (if applicable):** esphome/esphome-core#<esphome-core PR number goes here>
## Checklist:
- [X] The code change is tested and works locally.
- [n/a] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [n/a] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
Co-authored-by: Otto Winter <otto@otto-winter.com >
2019-04-15 21:49:21 +02:00
Otto Winter
5859d4b01f
Fix dashboard wizard unicode ( #494 )
...
* Fix dashboard wizard unicode
Fixes https://github.com/esphome/issues/issues/169
* Fix password md5
2019-03-31 11:04:41 +02:00