mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Compare commits
3
Commits
4c45ebdc4a
...
05060756e3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05060756e3 | ||
|
|
7cc90187d1 | ||
|
|
26a09b37bc |
No files matched your search
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
# ESP8266 core with LEAmDNS announcing the IPv6 addresses (AAAA, ff02::fb) from
|
||||||
|
# randybb/Arduino@mdns-ipv6-aaaa (esp8266/Arduino#9068); add next to common_esp8266.yaml.
|
||||||
|
# The device must not set 'toolchain: arduino' (no custom framework source there).
|
||||||
|
# Drop once it's upstream and in an ESPHome release.
|
||||||
|
esp8266:
|
||||||
|
toolchain: platformio
|
||||||
|
framework:
|
||||||
|
version: 3.1.2
|
||||||
|
source: https://github.com/randybb/Arduino.git#mdns-ipv6-aaaa
|
||||||
@@ -8,16 +8,15 @@ external_components:
|
|||||||
# network enable_ipv4 + audio HTTP reader over IPv6 (esphome/esphome#19750), drop once merged
|
# network enable_ipv4 + audio HTTP reader over IPv6 (esphome/esphome#19750), drop once merged
|
||||||
- source: github://pr#19750
|
- source: github://pr#19750
|
||||||
components: [const, network, wifi, ethernet, audio]
|
components: [const, network, wifi, ethernet, audio]
|
||||||
|
refresh: 1h
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
framework:
|
framework:
|
||||||
components:
|
components:
|
||||||
# mdns 1.12.0 + fix for "A 0.0.0.0" without IPv4 (espressif/esp-protocols#1156, merged)
|
# mdns 1.14.0: no "A 0.0.0.0" without IPv4 + IPv6 on ETH-only builds (espressif/esp-protocols#1156, #1161),
|
||||||
# + IPv6 on ETH-only builds (espressif/esp-protocols#1161, merged), drop once both are released
|
# drop once on ESPHome 2026.10.0 (esphome/esphome#20383 bumps the pin from 1.12.0)
|
||||||
- name: espressif/mdns
|
- name: espressif/mdns
|
||||||
source: https://github.com/randybb/esp-protocols.git
|
ref: 1.14.0
|
||||||
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
|
# IDF v5.5.5 lwip + .local resolution over IPv6 (espressif/esp-lwip#94), drop once in IDF
|
||||||
- name: lwip
|
- name: lwip
|
||||||
source: https://github.com/randybb/esp-lwip.git
|
source: https://github.com/randybb/esp-lwip.git
|
||||||
|
|||||||
+1
-1
@@ -22,10 +22,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
status_led:
|
status_led:
|
||||||
pin:
|
pin:
|
||||||
|
|||||||
+1
-1
@@ -21,10 +21,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
- id: aerator_auto
|
- id: aerator_auto
|
||||||
|
|||||||
+1
-1
@@ -18,10 +18,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
remote_receiver:
|
remote_receiver:
|
||||||
pin: 4
|
pin: 4
|
||||||
|
|||||||
@@ -182,6 +182,9 @@ text_sensor:
|
|||||||
- platform: creality_cfs
|
- platform: creality_cfs
|
||||||
type: color
|
type: color
|
||||||
name: Creality color
|
name: Creality color
|
||||||
|
id: creality_color
|
||||||
|
on_value:
|
||||||
|
- script.execute: show_filament_color
|
||||||
- platform: creality_cfs
|
- platform: creality_cfs
|
||||||
type: serial
|
type: serial
|
||||||
name: Creality serial
|
name: Creality serial
|
||||||
@@ -197,9 +200,18 @@ text_sensor:
|
|||||||
- platform: openprinttag
|
- platform: openprinttag
|
||||||
type: primary_color
|
type: primary_color
|
||||||
name: Color
|
name: Color
|
||||||
# Mirrored to the filament_color light, empty = no tag
|
id: openprinttag_color
|
||||||
on_value:
|
on_value:
|
||||||
|
- script.execute: show_filament_color
|
||||||
|
|
||||||
|
script:
|
||||||
|
# The filament color on the filament_color light: the OpenPrintTag's, else the Creality tag's
|
||||||
|
- id: show_filament_color
|
||||||
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
|
std::string x = id(openprinttag_color).state;
|
||||||
|
if (x.size() < 7)
|
||||||
|
x = id(creality_color).state;
|
||||||
if (x.size() < 7) {
|
if (x.size() < 7) {
|
||||||
id(filament_color).turn_off().set_transition_length(0).perform();
|
id(filament_color).turn_off().set_transition_length(0).perform();
|
||||||
return;
|
return;
|
||||||
|
|||||||
+1
-1
@@ -26,10 +26,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|||||||
+1
-1
@@ -26,10 +26,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|||||||
+1
-1
@@ -33,10 +33,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
# wifi:
|
# wifi:
|
||||||
# use_address: mcu-mini-04.local
|
# use_address: mcu-mini-04.local
|
||||||
|
|||||||
+1
-1
@@ -31,10 +31,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp8285
|
board: esp8285
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: status_led
|
- platform: status_led
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ esphome:
|
|||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
toolchain: arduino
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common_esp8266.yaml
|
common: !include common/common_esp8266.yaml
|
||||||
|
mdns_ipv6: !include common/esp8266_mdns_ipv6.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|||||||
Reference in new issue
Block a user