ESP32 ESPHome migration to esp-idf

This commit is contained in:
2026-01-22 07:29:35 +01:00
parent 8b6f3012f4
commit 24b4d07228
9 changed files with 45 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ esphome:
esp32:
board: nodemcu-32s
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"

View File

@@ -14,7 +14,7 @@ esphome:
esp32:
board: nodemcu-32s
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"

View File

@@ -1,6 +1,6 @@
substitutions:
name: home-assistant-voice-09c0e7
friendly_name: Home Assistant Voice 09c0e7
friendly_name: Home Assistant Voice Küche
packages:
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
esphome:
@@ -30,3 +30,4 @@ ota:
platform: esphome
password: !secret ota
http_request:

View File

@@ -0,0 +1,33 @@
substitutions:
name: home-assistant-voice-0a7c6b
friendly_name: Home Assistant Voice Wohnzimmer
packages:
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
#use_address: ${name}.home
#power_save_mode: high
#fast_connect: on
min_auth_mode: WPA2
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "HA Voice Fallback Hotspot"
password: !secret fallback_psk
# Enable Home Assistant API
api:
encryption:
key: !secret apikey
ota:
platform: esphome
password: !secret ota
http_request:

View File

@@ -14,7 +14,7 @@ esphome:
esp32:
board: esp32cam
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"

View File

@@ -14,7 +14,7 @@ esphome:
esp32:
board: esp32dev
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"

View File

@@ -52,7 +52,7 @@ esphome:
esp32:
board: nodemcu-32s
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"
@@ -117,7 +117,6 @@ light:
uart:
id: uartPM
rx_pin: GPIO22
tx_pin: GPIO23
baud_rate: 9600
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
@@ -212,7 +211,7 @@ sensor:
ambient_pressure_compensation: 1
automatic_self_calibration: True
address: 0x61
update_interval: 60s
update_interval: 10s
# Vindriktning particulate matter sensor
- platform: pm1006
pm_2_5:

View File

@@ -14,7 +14,7 @@ esphome:
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"

View File

@@ -51,7 +51,7 @@ esphome:
esp32:
board: nodemcu-32s
framework:
type: arduino
type: esp-idf
wifi:
ssid: "Voltage-legacy"
@@ -116,7 +116,6 @@ light:
uart:
id: uartPM
rx_pin: GPIO26
tx_pin: GPIO27
baud_rate: 9600
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
@@ -211,7 +210,7 @@ sensor:
ambient_pressure_compensation: 1
automatic_self_calibration: True
address: 0x61
update_interval: 60s
update_interval: 10s
# Vindriktning particulate matter sensor
- platform: pm1006
uart_id: uartPM