Unified device setup / descriptors / variables. Purely cosmetic ;-)

This commit is contained in:
Marcus Scholz 2023-05-27 16:52:05 +02:00
parent 40e18e493b
commit abef860f2e
8 changed files with 87 additions and 21 deletions

View File

@ -1,12 +1,25 @@
substitutions:
name: "aussensensor"
friendly_name: "Außensensor"
esphome:
name: aussensensor
platform: ESP32
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: sensor.outdoor
version: "0.8"
min_version: 2022.1.0
esp32:
board: nodemcu-32s
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
use_address: aussensensor.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on

View File

@ -1,7 +1,16 @@
esphome:
substitutions:
name: epaperframe
platform: ESP32
board: nodemcu-32s
friendly_name: "Info-Dashboard"
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: dashboard.epaper
version: "1.0"
min_version: 2022.4.0
on_boot:
priority: -10
then:
@ -9,6 +18,11 @@ esphome:
- display.page.show: power # temporary for power page dev
- component.update: epaper
esp32:
board: nodemcu-32s
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk

View File

@ -1,12 +1,25 @@
substitutions:
name: "geigercounter"
friendly_name: "Geigerzähler"
esphome:
name: geigercounter
platform: ESP32
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: sensor.radiation
version: "1.0"
min_version: 2022.11.0
esp32:
board: nodemcu-32s
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
use_address: geigercounter.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on

View File

@ -1,7 +1,15 @@
substitutions:
name: "livingroom"
friendly_name: "Luftqualität Wohnzimmer"
esphome:
name: livingroom
platform: ESP32
board: nodemcu-32s
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: sensor.${name}
version: "1.1"
min_version: 2021.9.0
on_boot:
then:
@ -41,10 +49,15 @@ esphome:
id: pm25_warn
state: "grün"
esp32:
board: nodemcu-32s
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
use_address: livingroom.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on

View File

@ -26,7 +26,7 @@ ota:
wifi:
ssid: Voltage-legacy
password: !secret voltage_legacy_psk
use_address: m5stack-atom-echo.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on
# Enable fallback hotspot (captive portal) in case wifi connection fails

View File

@ -12,7 +12,7 @@ ota:
wifi:
ssid: Voltage-legacy
password: !secret voltage_legacy_psk
use_address: raspiaudio-muse-luxe.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on
# Enable fallback hotspot (captive portal) in case wifi connection fails

View File

@ -1,5 +1,6 @@
esphome:
name: serverroom
friendly_name: "Serverraum Luft"
platform: ESP32
board: nodemcu-32s

View File

@ -1,8 +1,15 @@
esphome:
name: sleepingroom
platform: ESP32
board: nodemcu-32s
substitutions:
name: "sleepingroom"
friendly_name: "Luftqualität Schlafzimmer"
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: sensor.${name}
version: "1.0"
min_version: 2021.9.0
on_boot:
then:
- light.turn_on:
@ -41,10 +48,15 @@ esphome:
id: pm25_warn
state: "grün"
esp32:
board: nodemcu-32s
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
use_address: sleepingroom.home
use_address: ${name}.home
power_save_mode: high
fast_connect: on