Satoshi YAMADA
302ba2874e
Support W5500 SPI-Ethernet polling mode if framework is supported ( #7503 )
2024-10-29 16:08:08 +13:00
Andrey Bodrov
9699719305
openeth ethernet / qemu support ( #7020 )
2024-09-19 16:07:39 +12:00
Jimmy Hedman
094c867fba
Enable IPv6 when manual IPv4 is enabled ( #7381 )
2024-09-02 14:32:34 +12:00
Jimmy Hedman
ee4d5178d6
[ethernet] Fix compile warning for IPv6 ( #7048 )
2024-07-11 16:09:51 +12:00
lhy
ee6f2bfecb
Fix compile errors on ESP32-C6 with W5500 SPI ethernet ( #7030 )
2024-07-03 20:03:54 +12:00
Keith Burzinski
d49f2cbec8
IDF 5 fixes for #6802 ( #6911 )
2024-06-16 20:02:15 +12:00
Nate Clark
594856899a
[ethernet] Add config option to set arbitrary PHY register values ( #6836 )
2024-06-05 18:51:56 +12:00
Pieter Viljoen
78b48209aa
Add Ethernet MAC address to ethernet_info ( #6835 )
2024-06-04 14:57:05 +12:00
Kevin P. Fleming
2353b2b5e1
Add messages when WiFi and Ethernet components set 'warning' flag. ( #6850 )
2024-06-02 10:40:50 +12:00
Pieter Viljoen
41e13fa6f4
Replace random non-ascii-print characters with standard substitutes ( #6840 )
2024-06-01 10:49:48 +10:00
Frederik
2b691ad5ad
Make SPI Ethernet (W5500) compatible with ESP-IDF v5 ( #6778 )
...
* change MAC PHY init order according to IDF examples
* add idfv5 specific w5500 config init
* esp_mac.h needs to be included directly starting with idf5
* Header fix
* Couple tweaks
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-05-28 17:02:45 -05:00
Nate Clark
819be76013
Add PHY register writes to enable external clock on Ethernet with RTL8201 ( #6704 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-09 12:47:25 +12:00
Jesse Hills
72481006e4
[ethernet] Use constexpr instead of inline define for KSZ80XX_PC2R_REG_ADDR ( #6705 )
2024-05-09 12:25:57 +12:00
Jimmy Hedman
76daefe21c
Add ethernet DNS text sensor and simplify DNS display format ( #6450 )
2024-04-12 14:03:08 +10:00
Jeroen van Oort
4a9d7771fe
Adding W5500 support to ethernet component ( #4424 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-03-01 13:46:08 +13:00
Jimmy Hedman
f73518dbeb
Improve dualstack and IPv6 support ( #5449 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-02-27 21:16:20 +13:00
DAVe3283
e0cee472c3
Fix compile with latest esp-idf on esp32c6 ( #5677 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-05 23:13:01 +00:00
Jimmy Hedman
57b7dd0fa2
Refactor ip address representation ( #5252 )
2023-09-27 21:38:43 +13:00
Jimmy Hedman
97dcbe84da
Disable IPv6 when config explicitly says false ( #5310 )
2023-09-05 02:56:17 -05:00
Jimmy Hedman
c418eecf83
Enable IPv6 for ESP32 Arduino, wifi and ethernet ( #4865 )
2023-07-30 22:20:55 +00:00
Fabian
8bf8892ab3
[Ethernet] ksz8081rna support ( #4739 )
...
Co-authored-by: Your Name <you@example.com>
2023-07-10 10:02:42 +12:00
Jimmy Hedman
25b9bde0a5
Prepare ethernet to work with esp idf 5.0 ( #5037 )
2023-07-04 12:48:05 +12:00
tracestep
2be703b329
Add ethernet powerdown (fixes esphome/issues#4420) ( #4706 )
...
* Add ethernet powerdown
* Add on_shutdown (fixes esphome/issues#4420
* Sync dev and clang-tidy fix
* fix typo and trainling space
* Initialize phy_ member
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Member initialized at declaration
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-19 22:10:01 +00:00
Jimmy Hedman
382dcddf12
Fixed dns2 for ethernet ( #4698 )
2023-04-16 20:10:07 +00:00
Fabian
0547f2a931
Add KSZ8081 support. ( #4668 )
...
Co-authored-by: Your Name <you@example.com>
2023-04-12 21:22:08 +00:00
Jesse Hills
d42f35de5d
Wrap ipv6 code a bit more ( #4574 )
...
* Wrap ipv6 code a bit more for when ipv6 support should not be compiled in
* More checks
* More uses
* Fix
2023-03-21 20:24:14 +00:00
Jared Sanson
c12dd77c64
Fix ethernet clk_mode for GPIO0_OUT ( #4307 )
...
* Fix GPIO0_OUT definition for ethernet component
* Formatting
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-08 21:03:11 +00:00
Jesse Hills
2ef25f3153
Fix ethernet driver setting gpio 5 high when no power pin defined ( #4531 )
2023-03-08 07:12:07 +00:00
Michał Obrembski
d3627f0972
Added Ethernet Component for ESP IDF with JL1101 PHY driver ( #4009 )
...
Co-authored-by: Michał Obrembski <michal@obrembski.com>
2023-02-07 12:54:59 +13:00
Jesse Hills
ef26677b67
Always use brackets around single log macros ( #4072 )
2022-11-23 10:32:51 +13:00
Jesse Hills
91925b1826
Update ESP-IDF and platform version ( #3565 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2022-11-23 09:54:55 +13:00
Jesse Hills
0f9c956c04
Remove manual handling of ethernet power pin ( #4062 )
2022-11-23 09:43:43 +13:00
Jesse Hills
c2e198311c
Update esp32 arduino and platform versions ( #3564 )
2022-11-21 11:49:30 +13:00
Keith Burzinski
768490089e
Add IP101 support to Ethernet component ( #3751 )
2022-08-31 13:45:30 +12:00
Massimiliano Ravelli
71fe2f7ed3
Ignore already stopped dhcp for ethernet ( #2862 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-12-06 20:01:50 +13:00
Tom Matheussen
884b7201de
Continue ethernet setup if hostname fails ( #2430 )
2021-10-15 20:46:58 +02:00
Otto Winter
aec02afcdc
Fix clang-tidy header filter ( #2385 )
...
* Fix clang-tidy header filter
* Allow private members
* Fix clang-tidy detections
* Run clang-format
* Fix remaining detections
* Fix graph
* Run clang-format
2021-09-24 18:02:28 +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
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
a3dcac62f9
Fix a bunch of typos ( #2058 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-07-26 14:48:57 +02:00
Sean Vig
45d368e3a1
Always tick mdns in ethernet component ( #2018 )
2021-07-15 16:12:48 +12:00
Sean Vig
628a94bad3
Fix ethernet component hostname handling ( #2010 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-07-15 15:45:41 +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
Stefan Agner
98166dfa66
Bump Arduino SDK for ESP32 to 1.0.6 ( #1789 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-05-17 11:38:26 +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
6873f09f57
Fix ethernet logging too many warn messages ( #1112 )
2020-07-08 15:25:32 -03: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