Carlos Garcia Saura
7a5c3aa7ed
Fix compilation error for WPA enterprise in ESP-IDF ( #2815 )
2021-11-29 08:06:53 +13:00
Jesse Hills
5ff7c8418c
Implement Improv via Serial component ( #2423 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-11-11 08:55:45 +13:00
Otto Winter
e39f314e7a
Fix wifi ble coexistence check ( #2573 )
2021-10-21 12:24:01 +02:00
Otto Winter
87358e8843
Fix esp32 no longer has Hash internal lib ( #2441 )
2021-10-04 16:14:51 +02:00
cvwillegen
a7687c3e17
Add local MAC address to WiFi info ( #2428 )
2021-10-03 13:27:59 +02:00
Maurice Makaay
c89018a431
Option to ignore CRC for EFuse MAC address ( #2399 )
...
* Accept changes as proposed by black.
* Added test and implemented optional correctly.
* Disable PHY RF full calibration (because it calls the breaking MAC retrieval function).
* Disable CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE instead of enable, dummy!
* Rename CONF_IGNORE_EFUSE_MAC_CRC to CONF_ESP32_IGNORE_EFUSE_MAC_CRC.
* Removed unused import.
* Fix ordering of constants.
* Moved all MAC address logic to core helpers.
* Use pretty MAC address for the log.
* Use standard MAC formatter function for debug component.
* Fix clang-formatting.
* Fix clang-formatting.
* Brought wording of comments in line with other function-describing comments.
* Processed code review by @OttoWinter
* Add USE_ESP32_IGNORE_EFUSE_MAC_CRC to defines.h
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2021-09-30 18:08:15 +02:00
Otto Winter
d344b1ca0e
Fix arduino esp32 wifi v2 ( #2389 )
2021-09-25 10:04:57 +02:00
Otto Winter
278863d027
Fix some issues with wifi driver after IDF refactor ( #2387 )
2021-09-25 09:16:32 +02:00
Alex
491f8cc611
Configurable Flash Write Interval ( #2119 )
...
Co-authored-by: Alex <33379584+alexyao2015@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-21 13:47:51 +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
Jesse Hills
0ea77de98c
Start a wifi scan after saving station details ( #2315 )
2021-09-15 19:00:51 +12:00
Oxan van Leeuwen
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:11:27 +02:00
Oxan van Leeuwen
d594a6fcbc
Store strings only used for logging in flash ( #2274 )
...
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 09:48:52 +02:00
Oxan van Leeuwen
97a18717e6
Disable automatic usage of SNTP servers from DHCP ( #2273 )
2021-09-13 12:44:39 +12:00
Oxan van Leeuwen
d71996e58d
Reduce static RAM usage ( #2140 )
2021-08-23 20:43:54 +12:00
Oxan van Leeuwen
5ec9bb0fb5
Clean-up constant definitions ( #2148 )
2021-08-23 19:21:30 +12:00
Oxan van Leeuwen
8cc3cbb22e
Add macros header with more usable Arduino version defines ( #2145 )
2021-08-23 19:19:21 +12:00
Otto Winter
af8d04818d
Pull ESP32 Wifi fixes from arduino-esp32 ( #2069 )
2021-07-29 11:44:19 +02:00
Jesse Hills
07ae8ec553
Remove a whole bunch of deprecated/removed stuff ( #1981 )
2021-07-14 14:42:16 +12:00
Jesse Hills
be61b38a2c
Allow WiFi AP to use device name ( #1990 )
2021-07-09 00:39:37 +12:00
Otto Winter
bfca3f242a
Disallow power_save_mode NONE if used together with BLE ( #1950 )
2021-06-22 10:53:10 +02:00
Jesse Hills
40a5005d94
Allow wifi setup to proceed when there is no sta or ap ( #1931 )
2021-06-21 09:00:16 +12:00
Otto Winter
2419bc3678
Improve config final validation ( #1917 )
2021-06-18 07:54:14 +12:00
Stefan Agner
a80f9ed336
Support ESP8266 Arduino 3.0.0 ( #1897 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-06-15 08:50:58 +02:00
Otto Winter
92bbedfa5a
Fix #1908 mutating input parameter
2021-06-15 08:48:18 +02:00
Jesse Hills
86710ed483
Validate that either networks, ap, or improv is set up ( #1910 )
2021-06-15 13:16:43 +12:00
Jesse Hills
da7eb9ac90
Allow no networks or AP to be set. ( #1908 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-15 11:05:10 +12:00
Jesse Hills
eb24da7c82
Ensure wifi is in at least station mode before starting improv ( #1899 )
2021-06-11 23:28:00 +12:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Otto Winter
360effcb72
Activate some clang-tidy checks ( #1884 )
2021-06-10 13:04:40 +02:00
Jesse Hills
99d90845b5
BLE loop use ( #1882 )
2021-06-10 14:04:39 +12:00
Jesse Hills
a70a205ace
Improv - BLE WiFi provisioning ( #1807 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-08 11:56:21 +12:00
Guillermo Ruffino
c79d700d03
Add validate to components ( #1631 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-05-31 10:06:45 +12:00
Otto Winter
aebad04c0b
Convert core components to async-def coroutine syntax ( #1658 )
...
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-05-23 22:10:30 +02:00
André Klitzing
a546677b08
Fix build issues for idf 4.2 (Support ESP32-S2) ( #1433 )
...
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-05-12 08:31:40 +12:00
Farzad E
2225594ee8
Added an option to disable mDNS ( #1716 )
...
* Added an option to disable mDNS
* Fixed linter issues
* Moved the enable_mdns option to WiFi and Ethernet components
* extracted common method for add mdns library
* lint
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2021-05-06 12:31:42 -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
Tom Price
10e7abb579
Add support for WPA2-EAP enterprise WiFi to ESP8266s. ( #1332 )
...
* Add support for WPA2-EAP enterprise WiFi to ESP8266s.
This is fundamentally the same as on ESP32s only with different function names.
Update config checker to remove requirement for ESP32 for EAP authentication.
* Fix indent for clang
2020-11-01 20:40:18 +13:00
dependabot[bot]
e7bd93b4b0
Bump pylint from 2.5.3 to 2.6.0 ( #1262 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
2020-09-16 12:12:40 +02:00
dr-oblivium
2697c9465b
wpa2 enterprise fixes: also copy eap parameters, don't require psk password to be set ( #1215 )
2020-07-29 18:18:53 +02:00
Otto Winter
389889ad70
Mitigate CVE-2020-12638 WiFi WPA Downgrade ( #1207 )
...
Co-authored-by: Lukas Bachschwell <lukas@lbsfilm.at>
2020-07-27 18:22:38 +02:00
dependabot[bot]
27d4b3b8ad
Update cryptography requirement from <3,>=2.0.0 to >=2.0.0,<4 ( #1206 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
2020-07-27 11:43:10 +02:00
Otto Winter
f3d5d27c8f
WPA2 Enterprise Attempt 2 ( #1158 )
2020-07-24 15:40:05 +02:00
MasterTim17
3fd130869e
fix for ESP32 'Association Leave' ( #1081 )
2020-06-15 21:52:47 -03:00
Abílio Costa
25cdbacecc
wifi: retry connection if the connection is not valid ( #994 )
2020-03-30 10:32:48 -07: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
7a6df38515
Add ESP8266 core v2.6.2 ( #905 )
...
* Add ESP8266 core v2.6.2
* Upstream ESP8266 Wifi fixes
* Replace disable_interrupt with InterruptLock C++ class
* Update code to use InterruptLock
* Lint
* Update dht.cpp
* Improve InterruptLock docs, mark as ICACHE_RAM_ATTR
* Fixes
2019-12-04 19:30:10 +01:00
Otto Winter
072cd5b83e
Change ESP8266 default wifi output power ( #862 )
...
See also https://github.com/esphome/issues/issues/455
2019-11-17 23:28:43 +01:00
Otto Winter
5becaebdda
Improve WiFi disconnect messages ( #857 )
...
* Improve WiFi disconnect messages
* Fix
* Update wifi_component_esp32.cpp
2019-11-17 23:25:04 +01:00