All ESP8266 devices have their own common_esp8266.yaml without BTM and RRM, ESP32's with BTM and RRM

This commit is contained in:
2024-09-05 00:19:28 +02:00
parent 668a018bf4
commit 084f4bed27
14 changed files with 48 additions and 13 deletions

View File

@@ -0,0 +1,26 @@
---
<<: !include wifi_esp8266.yaml
<<: !include api.yaml
<<: !include ota.yaml
<<: !include logger.yaml
binary_sensor:
- <<: !include binary_sensor/status.yaml
button:
- <<: !include button/factory_reset.yaml
- <<: !include button/restart.yaml
- <<: !include button/safe_mode.yaml
- <<: !include button/shutdown.yaml
sensor:
- <<: !include sensor/uptime.yaml
- <<: !include sensor/wifi_signal.yaml
text_sensor:
- <<: !include text_sensor/version.yaml
- <<: !include text_sensor/wifi_info.yaml
network:
enable_ipv6: true
# min_ipv6_addr_count: 2

View File

@@ -1,7 +1,8 @@
--- ---
wifi: wifi:
# reboot_timeout: 0s
networks: networks:
- ssid: !secret wifi_ssid - ssid: !secret wifi_ssid
password: !secret wifi_password password: !secret wifi_password
# enable_btm: true enable_btm: true
# enable_rrm: true enable_rrm: true

8
common/wifi_esp8266.yaml Normal file
View File

@@ -0,0 +1,8 @@
---
wifi:
# reboot_timeout: 0s
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
# enable_btm: true
# enable_rrm: true

View File

@@ -12,7 +12,7 @@ esphome:
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# Sonoff Dual R2 # Sonoff Dual R2
# GPIO10 Push Button # GPIO10 Push Button

View File

@@ -10,7 +10,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# Sonoff Dual R2 # Sonoff Dual R2
# Pin Function # Pin Function

View File

@@ -13,7 +13,7 @@ esphome:
# use_address: mcu-fireplace.local # use_address: mcu-fireplace.local
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
dallas: dallas:
- pin: 4 - pin: 4

View File

@@ -22,7 +22,7 @@ esphome:
# - switch.turn_off: relay_5 # - switch.turn_off: relay_5
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# api: # api:
# services: # services:

View File

@@ -10,7 +10,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
remote_receiver: remote_receiver:
pin: 4 pin: 4

View File

@@ -13,7 +13,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring) # BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring)
# Pin Name Function # Pin Name Function

View File

@@ -13,7 +13,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring) # BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring)
# Pin Name Function # Pin Name Function

View File

@@ -20,7 +20,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring) # BlitzWolf BW-SHP2 and BW-SHP6 (ESP8285 - BL0937 or HJL-01 Energy Monitoring)
# Pin Name Function # Pin Name Function

View File

@@ -11,7 +11,7 @@ esp8266:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# wifi: # wifi:
# use_address: mcu-mini-04.local # use_address: mcu-mini-04.local

View File

@@ -10,7 +10,7 @@ esphome:
board: esp8285 board: esp8285
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# Module type 18 Generic Module type # Module type 18 Generic Module type
# D2 GPIO4 51 IRRecv IR Remote (optional, view console for debugging!) # D2 GPIO4 51 IRRecv IR Remote (optional, view console for debugging!)

View File

@@ -10,7 +10,7 @@ esphome:
board: esp01_1m board: esp01_1m
packages: packages:
common: !include common/common.yaml common: !include common/common_esp8266.yaml
# Sonoff Basic R2 # Sonoff Basic R2
# GPIO00 - BUTTON # GPIO00 - BUTTON