mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
IPv6-only for the Ethernet gateway
Split the WiFi part off common/ipv6_only.yaml into common/ipv6_only_eth.yaml and use it on mcu-gateway. The #19750 component list needs ethernet, otherwise the stock component still runs DHCPv4. mdns from the fork also carries the IPv6 fix for ETH-only builds (espressif/esp-protocols#1161).
This commit is contained in:
1 parent
005c9903bf
commit
427e9ac136
3 files changed
+34
-23
No files matched your search
+3
-23
@@ -3,32 +3,12 @@
|
|||||||
# packages:
|
# packages:
|
||||||
# common: !include common/common.yaml
|
# common: !include common/common.yaml
|
||||||
# ipv6_only: !include common/ipv6_only.yaml
|
# ipv6_only: !include common/ipv6_only.yaml
|
||||||
external_components:
|
# Ethernet devices use common/ipv6_only_eth.yaml (this without the WiFi part)
|
||||||
# network enable_ipv4 + audio HTTP reader over IPv6 (esphome/esphome#19750), drop once merged
|
packages:
|
||||||
- source: github://pr#19750
|
base: !include ipv6_only_eth.yaml
|
||||||
components: [const, network, wifi, audio]
|
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
networks:
|
networks:
|
||||||
- id: !extend wifi_iot
|
- id: !extend wifi_iot
|
||||||
ssid: !secret wifi_ssid_ipv6
|
ssid: !secret wifi_ssid_ipv6
|
||||||
password: !secret wifi_password_ipv6
|
password: !secret wifi_password_ipv6
|
||||||
|
|
||||||
esp32:
|
|
||||||
framework:
|
|
||||||
components:
|
|
||||||
# mdns 1.12.0 + fix for "A 0.0.0.0" without IPv4 (espressif/esp-protocols PR pending), drop once released
|
|
||||||
- name: espressif/mdns
|
|
||||||
source: https://github.com/randybb/esp-protocols.git
|
|
||||||
ref: mdns-v1.12.0-zero-ipv4-test
|
|
||||||
path: components/mdns
|
|
||||||
# IDF v5.5.5 lwip + .local resolution over IPv6 (espressif/esp-lwip#94), drop once in IDF
|
|
||||||
- name: lwip
|
|
||||||
source: https://github.com/randybb/esp-lwip.git
|
|
||||||
ref: idf-v5.5.5-lwip-component
|
|
||||||
path: lwip
|
|
||||||
|
|
||||||
network:
|
|
||||||
enable_ipv6: true
|
|
||||||
enable_ipv4: false
|
|
||||||
min_ipv6_addr_count: 1
|
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
# IPv6-only IoT network (SLAAC, no DHCPv4) for ethernet devices; add next to a common package:
|
||||||
|
# packages:
|
||||||
|
# common_eth: !include common/common_eth.yaml
|
||||||
|
# ipv6_only: !include common/ipv6_only_eth.yaml
|
||||||
|
# WiFi devices use common/ipv6_only.yaml (this + the IPv6 SSID)
|
||||||
|
external_components:
|
||||||
|
# network enable_ipv4 + audio HTTP reader over IPv6 (esphome/esphome#19750), drop once merged
|
||||||
|
- source: github://pr#19750
|
||||||
|
components: [const, network, wifi, ethernet, audio]
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
framework:
|
||||||
|
components:
|
||||||
|
# mdns 1.12.0 + fix for "A 0.0.0.0" without IPv4 (espressif/esp-protocols#1156, merged)
|
||||||
|
# + IPv6 on ETH-only builds (espressif/esp-protocols#1161), drop once both are released
|
||||||
|
- name: espressif/mdns
|
||||||
|
source: https://github.com/randybb/esp-protocols.git
|
||||||
|
ref: mdns-v1.12.0-zero-ipv4-test
|
||||||
|
path: components/mdns
|
||||||
|
# IDF v5.5.5 lwip + .local resolution over IPv6 (espressif/esp-lwip#94), drop once in IDF
|
||||||
|
- name: lwip
|
||||||
|
source: https://github.com/randybb/esp-lwip.git
|
||||||
|
ref: idf-v5.5.5-lwip-component
|
||||||
|
path: lwip
|
||||||
|
|
||||||
|
network:
|
||||||
|
enable_ipv6: true
|
||||||
|
enable_ipv4: false
|
||||||
|
min_ipv6_addr_count: 1
|
||||||
@@ -60,6 +60,7 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
# common: !include common/common.yaml
|
# common: !include common/common.yaml
|
||||||
common_eth: !include common/common_eth.yaml
|
common_eth: !include common/common_eth.yaml
|
||||||
|
ipv6_only: !include common/ipv6_only_eth.yaml
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
sda: 13
|
sda: 13
|
||||||
|
|||||||
Reference in new issue
Block a user