ESP32 ESPHome migration to esp-idf
This commit is contained in:
@@ -21,7 +21,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
name: home-assistant-voice-09c0e7
|
name: home-assistant-voice-09c0e7
|
||||||
friendly_name: Home Assistant Voice 09c0e7
|
friendly_name: Home Assistant Voice Küche
|
||||||
packages:
|
packages:
|
||||||
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
|
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
|
||||||
esphome:
|
esphome:
|
||||||
@@ -29,4 +29,5 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
platform: esphome
|
platform: esphome
|
||||||
password: !secret ota
|
password: !secret ota
|
||||||
|
|
||||||
|
http_request:
|
||||||
|
|||||||
33
esphome/home-assistant-voice-0a7c6b.yaml
Normal file
33
esphome/home-assistant-voice-0a7c6b.yaml
Normal 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:
|
||||||
@@ -14,7 +14,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: esp32cam
|
board: esp32cam
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
@@ -117,7 +117,6 @@ light:
|
|||||||
uart:
|
uart:
|
||||||
id: uartPM
|
id: uartPM
|
||||||
rx_pin: GPIO22
|
rx_pin: GPIO22
|
||||||
tx_pin: GPIO23
|
|
||||||
baud_rate: 9600
|
baud_rate: 9600
|
||||||
|
|
||||||
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
|
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
|
||||||
@@ -212,7 +211,7 @@ sensor:
|
|||||||
ambient_pressure_compensation: 1
|
ambient_pressure_compensation: 1
|
||||||
automatic_self_calibration: True
|
automatic_self_calibration: True
|
||||||
address: 0x61
|
address: 0x61
|
||||||
update_interval: 60s
|
update_interval: 10s
|
||||||
# Vindriktning particulate matter sensor
|
# Vindriktning particulate matter sensor
|
||||||
- platform: pm1006
|
- platform: pm1006
|
||||||
pm_2_5:
|
pm_2_5:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: esp32-c3-devkitm-1
|
board: esp32-c3-devkitm-1
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
@@ -116,7 +116,6 @@ light:
|
|||||||
uart:
|
uart:
|
||||||
id: uartPM
|
id: uartPM
|
||||||
rx_pin: GPIO26
|
rx_pin: GPIO26
|
||||||
tx_pin: GPIO27
|
|
||||||
baud_rate: 9600
|
baud_rate: 9600
|
||||||
|
|
||||||
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
|
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
|
||||||
@@ -211,7 +210,7 @@ sensor:
|
|||||||
ambient_pressure_compensation: 1
|
ambient_pressure_compensation: 1
|
||||||
automatic_self_calibration: True
|
automatic_self_calibration: True
|
||||||
address: 0x61
|
address: 0x61
|
||||||
update_interval: 60s
|
update_interval: 10s
|
||||||
# Vindriktning particulate matter sensor
|
# Vindriktning particulate matter sensor
|
||||||
- platform: pm1006
|
- platform: pm1006
|
||||||
uart_id: uartPM
|
uart_id: uartPM
|
||||||
|
|||||||
Reference in New Issue
Block a user